-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I RTFM, decided to use my ssh private key, then ran:
$ pwd
/home/jeremy/.opm/private
$ head -n 1 ~/.ssh/id_rsa
-----BEGIN OPENSSH PRIVATE KEY-----
$ openssl req -x509 -new -key ~/.ssh/id_rsa -days 365 -subj '/C=HU/ST=*/L=*/O=*/OU=*/CN=Alice/' -out alice.pub
unable to load Private Key
21718428824288:error:09FFF06C:PEM routines:CRYPTO_internal:no start line:/usr/src/lib/libcrypto/pem/pem_lib.c:694:Expecting: ANY PRIVATE KEY
Did I screw up, or does the man page need updating?
Generating a new key using the openssl instructions in the man page does work. However, we should probably use chmod 600 alice.key after generating the key.
This may be obvious to some, but maybe we should use $USER.pub instead of alice.pub in the man page to make it more clear the username should be used instead of a literal alice.
Metadata
Metadata
Assignees
Labels
No labels