Unable to decrypt RSA SSH key when importing

Options
jc00ke
jc00ke
Community Member
edited May 2022 in SSH

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)

Comments

  • jc00ke
    jc00ke
    Community Member
    Options

    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.

  • jc00ke
    jc00ke
    Community Member
    Options

    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.

  • 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

This discussion has been closed.