Skip to content

neumann-tokyo/jomae

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

jomae

A dead-simple password management tool by gpg

setup

jomae has dependencies with GnuPGP and pwgen, so you need to install those first.

# if you use Debian/Ubuntu:
sudo apt install gpg pwgen

after that, you need to generate a gpg key

gpg --full-generate-key

install

Please git-clone this repository, and edit PATH in your .bashrc:

export PATH=/path/to/jomae/bin:$PATH

Usage

Config

You need to define next environment variables on your .bashrc:

  • JOMAE_GPG_KEY_NAME ... Your gpg key name (You can check this with gpg --list-secret-keys --keyid-format SHORT)
  • JOMAE_DIR ... The directory to save password.csv.gpg
  • JOMAE_EDITOR ... The editor when editing password.csv

Setup Commands

First, run next command at once. This command generates JOMAE_DIR and password.csv.gpg in this directory.

jomae setup

Generate a password

When you want a new password:

# you can get a new password (20 charactors, abc/ABC/123/!@#)
jomae generate

# This is short hand
jomae g

# 100 charactors
jomae g 100

# 100 charactors, abc/ABC/123 (not include symbols)
jomae g -s 100

Add a password

# you can add a new password with next format: "url,id,password,memo"
jomae add "https://github.com,kbaba1001@example.com,xxxxxxxxx,"

Search passwords

jomae search "github"

# short hand
jomae s "github"

if you want to get id or password only:

jomae id "github"
jomae password "github"

# short hand
jomae p "github"

Edit password

When you want to update any passwords:

# you can edit your password.csv by JOMAE_EDITOR
jomae edit

After your editting, jomae reencrypt password.csv to password.csv.gpg and remove password.csv from temp dir.

Help

jomae help

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages