Forum Discussion

overleaf's avatar
overleaf
New Contributor
1 month ago

Minor bug in 1Password/config handling of ssh keys

I found a bug in the way 1Password handles adding host URLs to SSH key entries and writing them out to your ~/.ssh/1Password/config file.

It doesn't do any checking of the content of the URL field, so when it writes it to the file, if there's a syntax error (like an accidental trailing quote), it will break the ssh client's parsing of your config file.

1Password should make sure to sanitize the values it writes out to the config file so they are always valid syntax.

And actually, it would be really nice if the whole process of adding a "ssh://host" URL to your SSH keys was better supposed; it took me a while to figure out that it had to be a URL value and not just a text value.

--Curtis

No RepliesBe the first to reply