jschauma/jass

No support for "OPENSSH PRIVATE KEY" format ssh keys

Closed this issue · 3 comments

In the most recent versions of OSX, the default ssh keys are in OPENSSH PRIVATE KEY format.

This serverfault thread talks about the OSX behavior change: https://serverfault.com/questions/939909/ssh-keygen-does-not-create-rsa-private-key

A workaround that has worked for the folks using jass at Segment is to reformat the private keys created in the OPENSSH PRIVATE KEY format with

ssh-keygen -p -m PEM -f ~/.ssh/id_rsa

Longer term, I'm planning to make a fork of jass and add support for OPENSSH PRIVATE KEY format. Will report back if I'm successful getting that to work.

I decided to use 1Password for the purpose I've been using jass for, so my motivation to fix this issue has kind of gone away.

This should be resolved per my last commit - at least for unencrypted private keys. I will see if I can make time to look into adding support for encrypted private keys in this format, too.