Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rahulg/1p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

1p

1p is a small wrapper around op, the 1Password CLI utility that makes it more useable.

Dependencies

  • op binary in your $PATH
  • a CLI utility that can copy things to your clipboard
    • xsel -ibk
    • xclip
    • pbcopy
    • wayclip (personal favourite, but I'm biased)

Usage

1p needs some information from you to function, it'll write this to ~/.config/1p/config. Note that your session keys are also stored in this file. Everything but the clipboard command really belongs in ~/.local/share/1p, but I haven't gotten around to it yet.

$ 1p init
account name [foo.1password.com]: my_account.1password.com
email [[email protected]]: [email protected]
secret key [A3-XXXXXX-XXXXXX...]: A3-12345-12312-41234214
clipboard copy command [xsel -ibk]: wayclip -i

What was my Amazon login called again?

$ 1p grep amazon
Amazon.com: <redacted-email> [www.amazon.com]

Ah yes. Let's get that password, shall we?

$ 1p cp Amazon.com

What if I wanted to pipe my password to something?

$ 1p get Amazon.com
<redacted-password>

About

Friendly wrapper around the 1Password CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages