libgpgme and gpg genkey passphrase inquire

Ben Kibbey bjk at luxsci.net
Wed Apr 15 01:03:05 CEST 2015


Hello,

I'd like the ability to use a key-file as a passphrase when generating a
new keypair. Attached are patches for both gpg and libgpgme. I'm not
sure if the gpg patch will break anything since it implies --batch when
--command-fd is set along with --gen-key. The gpgme patch just sets the
passphrase command handler like the other gpgme crypto functions do.

-- 
Ben Kibbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Allow-gen-key-to-inquire-a-passphrase.patch
Type: text/x-diff
Size: 1238 bytes
Desc: not available
URL: </pipermail/attachments/20150414/f5de7ff0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-use-of-user-passphrase-handler-during-genkey.patch
Type: text/x-diff
Size: 1047 bytes
Desc: not available
URL: </pipermail/attachments/20150414/f5de7ff0/attachment-0001.patch>


More information about the Gnupg-devel mailing list