News for hackers. Stuff that matters.
Re:1Password for SSH and Git (Beta) by wtetzner on Wednesday February 16, 2022 @11:15AM (#30361877)
I believe you can attach files, so that might be an option for keys/certs.
Re:1Password for SSH and Git (Beta) by MAGZine on Wednesday February 16, 2022 @01:28PM (#30363712)
Attaching files is the worst functionality of 1password.

I put images of my health insurance card in 1pw.

do this. now, pretend you want to upload those image to a web portal that's asking for your insurance information. To pretend, just try and put the images of your insurance card into an email body to yourself.

See how many clicks it takes.

Re:1Password for SSH and Git (Beta) by ydant on Wednesday February 16, 2022 @06:23PM (#30367248)
I find it to be a decent experience (and use it for exactly what you mentioned).

Comparing the two methods I've personally used to store my insurance card below. What are you comparing to?

1Password:

  - Search
  - Click on the relevant entry
  - Click "Quick Look"
  - Click down menu
  - Click show in Finder
  - Drag onto upload form field
Google Drive:

  - Search
  - Right click
  - Download
  - Right click on downloaded file botton
  - Show in finder
  - Drag onto upload form field
  - Right click on file
  - Delete
Local Filesystem

Not really worth comparing. Could be made much quicker than anything else.

Re:1Password for SSH and Git (Beta) by MAGZine on Thursday February 17, 2022 @01:48PM (#30376994)
Ideally I should be able to copy things directly out of 1PW. right click, copy. Or the app should use a widget that supports click/drag.

It took me a while just to DISCOVER the steps to getting a file out of 1pw, which involved a lot of false starts into different menus/screens that allow you to view the file's metadata (or preview) without actually getting the file.

Considering "copy field" is THE main functionality of 1PW, it's absolutely insane you can't just copy a file field.

the comparison to me is having the file in my downloads/desktop, which is a very simple procedure to do, as many or fewer clicks, and is a well-worn path.

Re:1Password for SSH and Git (Beta) by ydant on Friday February 18, 2022 @07:41AM (#30385010)
Agreed it could be a bit quicker or more intuitive, but this seems to be a use-case I don't need to work with too often, so it's not bothered me.

I'm guessing there's a mix of performance concern and privacy concern. They want to make sure you're intentionally revealing the secret (image) and they want to hold off on decrypting the file until needed. It feels like decrypting a file is a fairly slow operation (although I'm not really sure why).

I just don't think comparing to the file in your local files is quite the same, since it's not encrypted / behind password protection. If you did this sort of thing a lot, you'd probably have it optimized down to a very accessible shortcut, after all.

Re:1Password for SSH and Git (Beta) by ydant on Wednesday February 16, 2022 @06:26PM (#30367287)
I do really hate how links between attachments and password entries get broken pretty easily, though. I think this is an area for improvement.
Re:1Password for SSH and Git (Beta) by DonHopkins on Wednesday February 16, 2022 @11:22AM (#30361959)
Have you tried actually using that in practice? It's extremely clumsy and inconvenient, requiring a whole lot more pointing and clicking and waiting and typing to attach the file, look at its contents, copy its value, or even edit it, than a simple multi-line text field would require.

And in the common case that the text is only on my clipboard, for example if I copied it from a web page or shell, then I have to go to all the effort of first saving it locally into a file somewhere in the file system, before laboriously navigating to it again with 1Password (often having to wait for my USB hard drives to spin up again as my Mac is frozen for 50 seconds showing the file dialog that scans all the attached storage devices) and finally adding it as a file attachment.

And then after all that extra busy work, the plaintext secret file now is floating around unencrypted in my file system somewhere, which is exactly what I didn't need.

Re:1Password for SSH and Git (Beta) by chipotle_coyote on Wednesday February 16, 2022 @12:31PM (#30362852)
I support your request for basically making the "notes" field for 1Password entries into a field type, so you can have multiple ones.

Having said that, I admit I generally haven't missed them for the use case of SSH keys, even though I do occasionally store those in 1Password -- I use the Secure Notes feature for that. Copy the key to the clipboard with "cat ssh.key | pbcopy", make a new Secure Note, paste. I suppose it hadn't occurred to me to do anything else in part because, well, I can't -- but also because I don't think of these as username/password combinations, I think of them as "SSH for server foobar," and the search feature works perfectly well for that.

This is arguably a workaround instead of the ideal, but I actually use Secure Notes pretty frequently. WiFi base station passwords, recovery keys, personal access tokens, stuff that in general doesn't fit the "web site with username and password and possibly 2FA key" model I'm fairly sure I started this before 1Password even had a "Notes" field.

Re:1Password for SSH and Git (Beta) by solarengineer on Wednesday February 16, 2022 @11:34AM (#30362107)
I store all my ssh keys as attachments. All my ssh keys are passphrase protected as well.

When I do download the keys, it isn’t much of an everyday activity either

I do not need to keep transferring ssh keys regularly to my Mac- it is either a one time or a set up related activity.

1Password is just fine for storing ssh keys as attachments.

Have you considered writing to them to ask for what you need?