Pass - Linux password manager setup HOWTO

Forum rules
Share your brain ;)
User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Pass - Linux password manager setup HOWTO

Unread post by wuxmedia » Mon Oct 12, 2015 9:27 am

I thought someone had posted something about this:
http://www.passwordstore.org/
But I couldn't find anything.
So this attempts to give a good idea of what to do, at least for mey :)
I don't have gpg initialized so here's what I did:
(as root)

Code: Select all

# apt-get install pass
gpg is likely installed but it needs to be initialised:
(as user)

Code: Select all

gpg --gen-key # Start key generation process. Follow prompts.
This needs your details, and at the end a shit load of entropy - move mouse, run a "find /", type crap on keyboard. took me a few tries.

then:

Code: Select all

gpg --list-keys
should dump something like this:

Code: Select all

/home/wux/.gnupg/pubring.gpg
----------------------------
pub   4096R/CAF50404 2015-10-12
uid                  Wux Media(sysadmin) <[email protected]>
sub   4096R/86F4426B 2015-10-12
So then for some reason you need to use that info to init the pass program, link them together I suppose:

Code: Select all

pass init CAF50404
Password store initialized for CAF50404
[master dfa6558] Set GPG id to CAF50404.
 1 file changed, 1 insertion(+), 1 deletion(-)
Is what it should look like.

This basically fixes this error, that I got first time:

Code: Select all

wux@numenor:~$ pass insert user@gondolin
Enter password for user@gondolin: 
Retype password for user@gondolin: 
gpg: user@password: skipped: public key not found
gpg: [stdin]: encryption failed: public key not found
so now you can use:

Code: Select all

pass insert user@gondolin
Enter password for user@gondolin: 
Retype password for usergondolin: 
[master 9dfb9ec] Add given password for user@gondolin to store.
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 [email protected]
you might need to configure git if you want to use that. setting up git is easy - it tells you what to do on the commandline error I'm still working on if it is actually on my github yet... :)

Anyway there you go. pretty neat, I'm looking at the android apps now.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
wuxmedia
Grasshopper
Posts: 6445
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: Pass - Linux password manager setup HOWTO

Unread post by wuxmedia » Mon Oct 12, 2015 10:02 am

or just follow this:
http://www.tricksofthetrades.net/2015/0 ... d-manager/

pfft, why do i bother? :)
"Seek, and Ye shall find"
"Github | Chooons | Site"

Post Reply