Closed manelclos closed 6 years ago
FWIW, this is what I have done: https://github.com/IdentityModel/oidc-client-js/blob/dev/gulpfile.js#L96-L156
Thanks @brockallen if there is no other option that will help!
If you have or find a better approach, I'd love to know about it! :)
Hi @manelcos ,
@brockallen 's resolution is the one of best way.
jsrsasign is Swiss army knife style library which has rich APIs, is easy to use but has huge size as you said. To reduce size for your specific purpose, you need to make code snippet of jsrsasign.
Hi @brockallen , thank you for your mention.
Thanks.
ok, noted. Thanks a lot!
Hi,
I just need RSA256 verification, and I was wondering if making the library available as an ESM module would allow to reduce the size of the library from 256KB to something under 100KB. I tried the -rsa-min.js variant, but it is lacking KEYUTIL. Using it like this:
With the rsa-min.js version the error is:
Any pointers appreciated!
Thanks!