Skip to content

jmsdnns/kees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kees

A command line interface for reading passwords from 1Password vaults.

Agile Bits does not officially support Linux. This lack of agility bites, so I built a vault reader, but cannot build a vault writer. Fortunately, I use my phone for creating accounts so I only need read support on Linux.

This project was influenced by George Brock's 1pass

Using it

Get the password for one of your accounts like this: kees <account name>.

$ kees gmail

You now have 15 seconds to enter your password before a background process cleans your pastebuffer. This reduces the chance an attackers can retrieve your password from your pastebuffer.

If multiple possible matches are found, kees will list them.

$ kees "soundcloud - foo"
Password: 
Possible matches:
- Soundcloud - jmsdnns
- Soundcloud - american food
- Soundcloud - locke

Install It

Go get it

$ cd $SOMEWHERE
$ git clone https://github.com/jmsdnns/kees

Then install it

$ cd kees
$ pip install .

And then make it a command by editing kees.sh and copying it to your shell.

Vault Path

Kees assumes the keychain is stored at ~/1Password.agilekeychain, unless you tell it otherwise.

Using kees.sh

Add this line after kees.sh is sourced

export ONEPASSWORD_KEYCHAIN=/path/to/your/keychain

Python flag

The Python code accepts a --path flag.

$ kees --path ~/whatever/1Password.agilekeychain gmail

About

CLI for reading 1Password vaults (useful for Linux / BSD users)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published