Skip to content

notpushkin/pinentry-tem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

pinentry-tem

A barebones pinentry for macOS using Touch ID and Keychain.

Build it:

swiftc main.swift -o ~/.local/bin/pinentry-tem

Save your key passphrase to Keychain:

$ pinentry-tem
OK hOI! welcom to... da TEM SHOP!!!
setpass
OK tem set password to 'SUPERSECURE'!!! (change it using Keychain Access)

Set GnuPG pinentry program:

echo "pinentry-program ${HOME}/.local/bin/pinentry-tem" >> ~/.gnupg/gpg-agent.conf
# or replace the existing entry

Reload the agent and check that everything works:

gpg-connect-agent reloadagent /bye
echo 'hOI!' | gpg -as

Releases

No releases published

Packages

No packages published

Languages