[PATCH] Add ability to specify a subkey.

Ben Kibbey bjk at luxsci.net
Sun Jan 1 01:04:20 CET 2017


I'm not sure if this is the right way to go about it, but attached is a
patch to allow specifying of a specific subkey to be used for signing or
encryption. It allows for the use of gpg's handling of '!' at the end if
a keyid or fingerprint. It's up to the user to set the .exact member of
gpgme_subkey_t to have the '!' appended before calling gpg otherwise it
maintains the original behavior of leaving it up to gpg to decide which
key to use.


Ben Kibbey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-ability-to-specify-a-subkey.patch
Type: text/x-diff
Size: 3956 bytes
Desc: not available
URL: </pipermail/attachments/20161231/33529807/attachment.patch>

More information about the Gnupg-devel mailing list