Skip to main content

No project description provided

Project description

lockey

Lockey is a CLI password manager that uses gpg symmetric keys to securely store passwords. Text can also be saved unencrypted so that you can also use lockey to quickly retrieve things like commands you can never seem to remember. Secrets are stored in a configurable directory which defaults to $HOME/.lockey. Lockey also has a configuration file stored in $HOME/.config/lockey/. For more information about lockey's commands, see the docs directory, which has the same information you would see from running lockey <command> --help.

Installation

Given that lockey is a CLI tool written in Python, I highly recommend installing lockey using pipx. This will make sure that lockey is installed into an isolated environment while still being available globally. Once you have lockey installed, you must first create the directories where lockey stores information using lockey init. After that you may lockey add, lockey get, etc as you please.

[!WARNING] At this time, lockey has only been tested on MacOS. I welcome contributions by anyone interested making lockey usable on other platforms.

Shell Completions

At this time, shell completions are only available for zsh. If you would like to add completions for another shell, please open a PR and I will be happy to review it.

To enable shell completions for zsh, first add the completions script to a new directory in lockey's configuration directory. Note that if you use Oh My Zsh you should instead put the script in ~/.oh-my-zsh/completions, at which point completions will be enabled for you.

mkdir $HOME/.config/lockey/completions
curl -L https://raw.githubusercontent.com/NikolaiLyssogor/lockey/main/completions/_lockey > $HOME/.config/lockey/completions/_lockey

If you do not use Oh My Zsh, you will also need to enable completions in your .zshrc if you have not already and add the directory you just created to your $fpath. Append the following to the end of your .zshrc.

fpath=($HOME/.lockey/config/completions $fpath)
autoload -U compinit
compinit

FAQ

Q: Why wouldn't I just use ? A: If some other more popular tool does what you want it to, I would actually recommend using that over lockey. Other tools that have been around longer are probably going to be more stable than lockey is. I made lockey because it's something I can tailor to my workflow as needed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lockey-0.3.4.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

lockey-0.3.4-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file lockey-0.3.4.tar.gz.

File metadata

  • Download URL: lockey-0.3.4.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for lockey-0.3.4.tar.gz
Algorithm Hash digest
SHA256 ce6d742bbb31b639e4f08677eed346a0ad64474ddaf1bbf1ddd0530c9a7d7a62
MD5 da63e5acb7d9f5e448d285a74dbb4ad7
BLAKE2b-256 390b506fcdb24425db02e1ce1a2e35840fc130af566e1665f0282ba0f1090e9a

See more details on using hashes here.

File details

Details for the file lockey-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: lockey-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.4.0

File hashes

Hashes for lockey-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 87825f80ce2dbf47eb76e02f3c9c920b85b1a18349c23ea907a8c4aef7ef9151
MD5 448a4553bf83fe9b2254d3d59ca6ed64
BLAKE2b-256 1215b3f77d75d253b6de918a084c0ad755adf528edee84a03e72ff35353b00cf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page