4 ms·
I tried to use it, but the syntax is way more complicated than it needs to be to retrieve a simple password. After 10 minutes of trying to figure it out I gave
by xur17 8y ago
I tried to use it, but the syntax is way more complicated than it needs to be to retrieve a simple password. After 10 minutes of trying to figure it out I gave up and just used pass instead.
If anyone knows how to use it to retrieve passwords / copy them to the clipboard, I'm curious because we use it at work.
edit: It looks like it might be possible [0], but it requires a long command or a command alias. The lack of tab completion is kind of problematic though.
[0] https://gist.github.com/justinline/e11ac0f08f267502b9e96362457d03c6 https://gist.github.com/justinline/e11ac0f08f267502b9e963624...
- crymer11 8y agoop get item <name or UUID> | jq '.details.fields[] | select(.designation=="password").value' | sed 's/"//g' | pbcopy will put the password for <name or UUID> on your clipboard on a Mac. (I'd probably wrap everything before `| pbcopy` in a function so it's easier to call and use directly if you don't want to copy the value)