Forum Discussion

jc00ke's avatar
jc00ke
Occasional Contributor
4 years ago

Unable to decrypt RSA SSH key when importing

I'm trying out the new SSH key management + SSH agent and I'm having an issue importing an old RSA key with a passphrase. The same import worked for my ed25519 key with the same passphrase. I verified the passphrase worked for the key in question:


āžœ ssh-keygen -y -f .ssh/id_rsa
Enter passphrase:
ssh-rsa AAAAB3NzaC1yc2...
~ took 3s
āžœ echo $status
0

I'd be happy to debug; I'd love to have all my keys in 1Password and have everything set up with the SSH agent.

Thanks!


1Password Version: 8.6.0-51
Extension Version: 2.3.1 (beta, Firefox)
OS Version: Regolith (Ubuntu)

3 Replies

  • Jack_P_1P's avatar
    Jack_P_1P
    Icon for 1Password Team rank1Password Team

    Hey jc00ke:

    Glad to hear you figured out what the issue was. Just an additional FYI, I've moved this thread into our SSH Beta section. Please get in touch if you run into anything in the future! šŸ˜€

    Jack

  • jc00ke's avatar
    jc00ke
    Occasional Contributor

    8.6.0-61 (nightly) displays a nicer error message. I confirmed this old key has a publicExponent of 35... so just gonna archive that and close this.

  • jc00ke's avatar
    jc00ke
    Occasional Contributor

    Thinking about this last night, I imported my ed25519 key on a Mac. I'll have to test importing the RSA key on that Mac, and I'll also test importing a new ed25519 on a Linux machine.