Latest update aggressively takes over ~/.ssh/1Password directory

nigelm
nigelm
Community Member
edited December 13 in SSH

Just updated to 1Password for Mac 8.10.56 (81056028) and found ssh stopped working.

ssh verbose output showed:-

debug1: Will attempt key: /Users/nigel/.ssh/1password/id_ed25519_main.pub  explicit
debug1: Trying private key: /Users/nigel/.ssh/1password/id_ed25519_main.pub
no such identity: /Users/nigel/.ssh/1password/id_ed25519_main.pub: No such file or directory

I had the public keys for my ssh keys stored in ~/.ssh/1password - that directory had now gone, and been replaced by ~/.ssh/1Password (muted boo for MacOS case folding filesystem) which had a autogenerated config file in it

Solution was to edit ~/.ssh/config and update all the IdentityFile declarations with a new path - and create that new path with the ssh pub keys.

However it was not an expected result of an update.

Nigel.


1Password Version: 8.10.56
Extension Version: Not Provided
OS Version: MacOS 15.2
Browser: Not Provided

Comments

  • EarthAura
    EarthAura
    Community Member

    Same here. I was not very happy to run into this. Thankfully recovery was easy since I have Time Machine enabled, otherwise it would've been a pain to re-export all the 20 public keys I currently have exported.

    Searching for this new magic config file whose purpose remains a mystery, I found that this change also breaks the following project which I haven't used: https://github.com/Software-Design/1password-ssh-key-importer

    The .ssh folder is something I'm very protective of and have a personal organization system, please don't clutter it with your files. Please place them somewhere else, like ~/.config/1Password, they can still be Included from there.