exoframe icon indicating copy to clipboard operation
exoframe copied to clipboard

Allow using any type of private keys for auth

Open yamalight opened this issue 6 years ago • 2 comments
trafficstars

As discussed in #188 - Exoframe currently only supports RSA & PEM private keys due to limitations of JWT library. But I think (need validation though) node.js does understand pretty much all existing private key formats, so I think we should support them as well. This can be done by using a lib like forge for PKI and just using JWT as a transport.

I am not 100% sure that's possible, but I think it would be good to explore it and implement if that turns out to be the case. 🤔

yamalight avatar Dec 18 '18 10:12 yamalight

Possibly relevant lib: https://github.com/PeculiarVentures/PKI.js

yamalight avatar Dec 18 '18 11:12 yamalight

Possibly we could use openssl via wasm for that

yamalight avatar Nov 02 '19 10:11 yamalight

This is done.

yamalight avatar Jul 31 '23 10:07 yamalight