Open kylef opened 9 years ago
@ColtonProvias I wouldn't be against it. It would be nice to use a known security library under the hood. Providing we can 1) make installation simple, 2) support all Apple platforms, Linux, fBSD.
@kylef I'm attempting to add support for ES256, using Apple's built in SecKeyRawSign (for Secure Enclave). Fair warning, the API doesn't work with MacOS, but works with all other platforms (iOS, tvOS and watchOS).
Would you like me to submit a PR?
@penne12 Do you think you think we could support ES256 on iOS, tvOS and watchOS using SecKeyRawSign
and fallback to the current behaviour by not supporting ES256 on other platforms, this will keep the current support on Linux and macOS. If so I'd love a pull request.
@kylef I could add in a build directive, maybe?
Not sure, I'm fairly new to the language (and I haven't worked with compiled languages in a while, either)
@penne12 yes that would work. Sounds great!
@penne12 If you hit any problems, feel free to make a PR with your work in progress and I can give you pointers if you get stuck with anything.
@kylef Sounds good.
@kylef, @benaubin any progress on this? ES256 is what I need to use.
@benaubin Just a re-request for ES256 support, if you've got it working. Thanks!
Is there any possibility of making use of OpenSSL or LibreSSL for this?