Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.
/ jopass Public archive

Wrapper for 1Password cli written in Janet-lang

License

Notifications You must be signed in to change notification settings

sevanteri/jopass

Repository files navigation

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.

Jopass

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

Example use

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

TODO

  • 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.

License

MIT

About

Wrapper for 1Password cli written in Janet-lang

Topics

Resources

License

Stars

Watchers

Forks