Skip to main content
September 26, 2023
Question

does the 1Password SSH agent change permissions?

  • September 26, 2023
  • 1 reply
  • 142 views

I'm doing some spring cleaning in ~/.ssh/ and wanted to change the comment for an old key.

user@temps-Air .ssh % ssh-keygen -c
Enter file in which the key is (/Users/user/.ssh/id_rsa): id_ed25519.pub
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0644 for 'id_ed25519.pub' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Cannot load private key "id_ed25519.pub": bad permissions

Does anyone know if this might be caused by the 1Password SSH agent?

The permissions of the key in question look like this at the moment:
-rw-r--r-- 1 user staff 105 Jan 30 2019 id_ed25519.pub


1Password Version: 1Password for Mac 8.10.16 (81016047)
Extension Version: 2.15.1 21500107
OS Version: macOS 13.5.2 (22G91)
Browser: Firefox 117.0.1

1 reply

floris_1P
1Password Employee
October 2, 2023

If you'd like to edit the SSH key file comment, you can just open the .pub file directly in a text editor and change the comment.