Page 1 of 6

Private key field in the SSH Key secure note

PostPosted: Thu Sep 05, 2013 2:47 pm
by lafayette
Background:
Thank you very much for adding the SSH Key secure note template! I've been storing my keys in LP for a while in three separate notes for each key (public/private/passphrase) and I'm trying to convert them to the new template format. The problem is that the private key field is a single line text field, while most of the time private keys are stored in the multi-line PEM format. I'm not certain if whitespace matters to consumers of the private key (I could not find much information on this online), but at the very least it is important to be able to preserve the copiable/readable format that contains newline characters.

Feature Request:
Convert the 'Private Key' field in the SSH Key secure note template to a multi-line text area input.

Re: Private key field in the SSH Key secure note

PostPosted: Tue Sep 17, 2013 9:53 am
by bracyp
I've been using the SSH Key template to store my PGP keys and once I paste the multi-line key into the key fields and save them. The multi-line does show up properly for me. So this may not be an issue as you suggest. See if this is something that only I am seeing or not. I suspect that you haven't used it yet just because on entry it is a single line. I hope it works for you.

Re: Private key field in the SSH Key secure note

PostPosted: Tue Sep 17, 2013 3:56 pm
by lafayette
Thanks for the advice @bracyp, but pasting text with newlines into the 'Private Key' field just converts them to spaces for me. I should mention that I primarily use the Chrome extension, but the same thing happens for me in the web interface as well.

What LP client are you using to create your secure notes?

Re: Private key field in the SSH Key secure note

PostPosted: Thu Nov 07, 2013 11:18 am
by jjrussell104
I have the same problem with my ssh private key. I just saved it in the note, which is not as cool, but saves the whitespace which is important to the key.

Re: Private key field in the SSH Key secure note

PostPosted: Wed Nov 13, 2013 11:05 am
by profundo
Same problem too. The "Private Key" field of the "SSH Key" template in Secure Notes should be a text area to preserve new lines.

I've resorted to using a Site with contents of my public and private keys in the Notes field and my passphrase in the Password field.

Re: Private key field in the SSH Key secure note

PostPosted: Wed Nov 27, 2013 10:04 am
by sbuttgereit
Ditto the comments above; single line text field won't work most of the time. It preserves enough of the formatting that I could probably recover the key with a little manual manipulation, but would prefer not too :-) .

This will also be a problem for the public key as well, though less important if you have the private key.

Re: Private key field in the SSH Key secure note

PostPosted: Tue Apr 22, 2014 11:51 am
by Gisleburt
I'm using the note field to store the private key but it's not very handy.

Re: Private key field in the SSH Key secure note

PostPosted: Wed Apr 23, 2014 9:25 pm
by Vietfeir
Looks like this topic went stale but I still find it problematic. I want to store the PEM format of a private key but the single line text box makes it impossible in the secure note format for keys

Re: Private key field in the SSH Key secure note

PostPosted: Thu May 08, 2014 4:26 pm
by jschroeder9000
Same issue here. Seems like a pretty significant oversight...

Re: Private key field in the SSH Key secure note

PostPosted: Mon May 19, 2014 6:58 pm
by mars
LastPass corrupts the private key for us as well :(