Skip to content

neumann-tokyo/knukey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knukey (閂)

A dead-simple file encrypter.

Instration

git clone https://github.com/neumann-tokyo/knukey.git

And change PATH in your .bashrc or .zshrc:

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

install dependencies

You need to install those applications:

  • GnuPG ... required
  • jq ... optional
  • yq ... optional

Usage

For example, when you want to encrypt password.json

// password.json
{
  "github": {
    "username": "your_github_username",
    "token": "your_github_token"
  },
  "google": {
    "username": "your_google_username",
    "password": "your_google_password"
  }
}

you can encrypt it like this:

knukey encrypt password.json password.json.gpg

When you want to get any value from password.json.gpg:

knukey decrypt password.json.gpg ".github.token"
#=> your_github_token

About

knukey (閂) is a dead-simple file encrypter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages