Pass (password manager) not asking for PIN in Xenialpup 32

Antivirus, forensics, intrusion detection, cryptography, etc.
Post Reply
Message
Author
Mr.Spenalzo
Posts: 6
Joined: Thu 28 Sep 2017, 17:29

Pass (password manager) not asking for PIN in Xenialpup 32

#1 Post by Mr.Spenalzo »

I'm trying to set up Pass as a password manager in xenialpup 32 frugal. I installed Pass 1.6.5 and GnuPG 2.1.11 (gpg2) from PPM. When generating a gpg key I get prompted for name, email and comment but no prompt for pin. This is what returns:

gpg: agent_genkey failed: No pinentry
Key generation failed: No pinentry

I've checked dependencies and all installed per PPM.
Any help or suggestions much appreciated. Thank you.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi Mr.Spenalzo

it probably needs pinentry-curses from the PPM
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Mr.Spenalzo
Posts: 6
Joined: Thu 28 Sep 2017, 17:29

#3 Post by Mr.Spenalzo »

Thanks 666philb.

Pinentry-curses was present, either installed by PPM with Pass or perhaps w/ gpg2. (I don't remember if I had to install gpg2 separately or if PPM included it w/ Pass). So that wasn't it. However I found a discussion re getting gpg to work with sylpheed that said a symlink was needed:

*
Success! It works. A symlink was needed:
Code:
ln -s /usr/bin/pinentry-gtk-2 /usr/bin/pinentry

The symlink:
Code:
ln -s /usr/bin/gpg2 /usr/bin/gpg
seems to be also needed.
*

That didn't work but after noodling with it I found this worked:
<ln -s /usr/bin/pinentry-curses /usr/bin/pinentry

I don't understand why, but it did. I had already added the second symlink; I don't know if that is necessary.

Link to discussion if you're interested; see top 5 posts page 61:
http://www.murga-linux.com/puppy/viewto ... aa2e0449cb

Thanks again for your help.

Post Reply