Skip to main content
jc00ke
March 4, 2022
Question

Unable to decrypt RSA SSH key when importing

  • March 4, 2022
  • 3 replies
  • 340 views

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

jc00ke
jc00keAuthor
March 4, 2022

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
jc00keAuthor
March 4, 2022

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.

Jack_P_1P
1Password Employee
March 4, 2022

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