expo-jwt icon indicating copy to clipboard operation
expo-jwt copied to clipboard

RSA Support

Open adesmet opened this issue 6 years ago • 4 comments

Great work! The jsonwebtoken library didn't work for me so I ended up here.

Is support for RSA underway?

adesmet avatar Feb 28 '19 23:02 adesmet

Thank you!

As far as I know crypto-js, which I use for handling the encoding/decoding of the tokens, doesn't support RSA encryption, so I had no plans to add RSA support.

Since this library is designed to be used with Expo, it limits which encryption libraries can used.

However, if you know of a compatible library that can handle RSA encryption/decryption in pure JS, I would be willing to look into adding support here.

blake-simpson avatar Mar 01 '19 10:03 blake-simpson

Also interested in RSA to use Firebase custom auth (to support the now-required Sign in with Apple on an existing React Native app)

GitHubGreg avatar Oct 10 '19 01:10 GitHubGreg

Also very interested, since I use it with hasura. Great library though, thank you.

switz avatar Jan 13 '20 18:01 switz

There is a possible solution now via something like https://github.com/kjur/jsrsasign

etodanik avatar Jul 30 '21 19:07 etodanik