Archiving this as 1password cli has gotten so much better and usable. And the "security" of having your password manager's password encrypted on your disk is also questionable.
Wrapper for 1Password cli 2.0 op
written in Janet-lang
Utilises GPG to decrypt the password for op
.
Remember to upgrade your 1Password cli to the latest version.
Jopass is designed to work similarly to the amazing standard unix password manager. Simply running jopass
gives you a list of all your passwords and running jopass "password title"
gives you the password which you can pipe anywhere you want. The password can also be copied to your clipboard (xclip)
or even typed straight to the text input (xdotool
).
In addition to passwords, with Jopass you can get the username and even the TOTP codes for your items. Again, these can be piped, copied or typed.
The help output shows all the options you can use:
usage: jopass [option] ...
Print/copy/type your 1Password passwords/usernames/TOTPs easily.
Optional:
-a, --account VALUE Account shorthand
-c, --copy Copy to clipboard
-h, --help Show this help message.
-t, --totp Get TOTP code
-T, --type Type it
-u, --username Get username
No need to copy your TOTP token from your phone or the desktop apps. Just pipe it.
jopass "my aws profile" -t | aws-mfa --profile my-profile
- Cache items for faster listing.
- dmenu / rofi menus.
- Make decrypting and typing software configurable.
- Optionally cache passwords? Maybe useful for frequently used passwords.
- Use item UUIDs instead of their name.
MIT