Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ECDSASigner to support ES256 … #92

Open
Kireyin opened this Issue Jun 12, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@Kireyin
Copy link

Kireyin commented Jun 12, 2018

ECDSA algorithms haven't been implemented yet. ES256 algorithm is needed to generate JWT for Apple service such as MapKit JS and MusicKit.

@tanner0101

This comment has been minimized.

Copy link
Member

tanner0101 commented Aug 14, 2018

This requires proper ECDSA support in vapor/crypto. I've created an issue here: vapor/crypto#73.

@dylanreich

This comment has been minimized.

Copy link

dylanreich commented Jan 25, 2019

Any update on this, or anyone know of any packages that provide ES256?

@tanner0101

This comment has been minimized.

Copy link
Member

tanner0101 commented Jan 30, 2019

@dylanreich vapor/crypto#73 will probably be fixed in the next major release. OpenSSL, which is a dependency of vapor/crypto and thus vapor/jwt, has methods for doing ECDSA already. They just require some work to use. You can see an example of this here: https://github.com/moritzsternemann/nio-apns/tree/master/Sources/NIOAPNS/Crypto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.