jonocarroll / opr

🔐 Interact with the 1Password CLI tool 'op'
7 stars 0 forks source link

Interestingly enough #1

Open hrbrmstr opened 6 years ago

hrbrmstr commented 6 years ago

I saw you ⭐️ the cli tool the other day (I use 1Password as I think you may know) and started to throw together: op.R.zip

(all of that is at your disposal…no worries if it's dreadfully unusable :-)

jonocarroll commented 6 years ago

Wow, we definitely had a lot of the same ideas.

If the other get types are useful then I'll definitely implement those too. I only use 1Password for storing logins, so that's where I started.

I'm torn between implementing an R op vs just doing system calls from pastes manually each time. I suspect yours is better though.

I'm also not sure how much info to return overall -- I could just return the entire fromJSON table, but there's the danger that someone will save that unintentionally with the password buried in the middle of it.

hrbrmstr commented 6 years ago

i, too, have no idea how folks in general use 1Password. I store tons of things in it, but I'm hardly the typical user. One thing to consider is what plumbing is needed to enable this to be called from keyring to add it as another backend, too. I have the luxury of only needing to be interactive with R at work-work (and any automation ultimately has env vars put there by Docker) so I've not had to deal with automated secrets with keyring either.