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

RSA File Format disagreement #10

Open
Fruchtgummi opened this issue Mar 15, 2017 · 1 comment
Open

RSA File Format disagreement #10

Fruchtgummi opened this issue Mar 15, 2017 · 1 comment

Comments

@Fruchtgummi
Copy link

How a build a right privat & public key-file with linux? :)

i use ssh-keygen -b 4096 -t rsa

@josehbez
Copy link

I hope it helps you

#!/usr/bin/env bash

ssh-keygen -t rsa -b 2048 -f key/jwtRS256.key
# Don't add passphrase
openssl rsa -in key/jwtRS256.key -pubout -outform PEM -out key/jwtRS256.key.pub
cat key/jwtRS256.key
cat key/jwtRS256.key.pub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants