GithubHelp home page GithubHelp logo

sevanteri / jopass Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 250 KB

Wrapper for 1Password cli written in Janet-lang

License: MIT License

Makefile 3.71% Janet 96.29%
janet-lang 1password-cli 1password

jopass's Introduction

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

jopass's People

Contributors

sevanteri avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.