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

provide example for key generation #1

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

peteris-zealid
Copy link
Contributor

Feel free to modify as needed. Not sure about the -m PEM part because man page for ssh-keygen said it is a legacy format and suggested RFC4716.

Found this command on the internet and it worked for me. I did not investigate further.

@MatthiasValvekens
Copy link
Owner

Yeah, I'm sure that refers to the fact that PEM is deprecated in favour of RFC 4716 for the purposes of storing SSH keys (which, unsurprisingly, is the most common use of ssh-keygen). Software that doesn't deal with SSH tends to stick with key material stored in PEM-armored PKCS#8 data structures (or similar).

When generating keys for testing purposes, I usually use openssl genrsa/openssl ecparam ... -genkey | openssl ec/... or similar instead of ssh-keygen, but it doesn't really matter all that much. I'll update the sample command to use openssl just because that's what I use in the Certomancer asciinema demo linked in the readme, but other than that I'm totally on board with this change.

Thanks, Peteris!

(I'll get to it later today or tomorrow)

Co-authored-by: Matthias Valvekens <matthias@mvalvekens.be>
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

Successfully merging this pull request may close these issues.

2 participants