Created
March 25, 2016 20:25
-
-
Save aespinosa/7d0d6726ccfb31bbba4f to your computer and use it in GitHub Desktop.
RSA .pem public key to jwk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -r'json/jwt' -e 'puts OpenSSL::PKey::RSA.new(STDIN.read).to_jwk.to_json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment