exported subkey usage?

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed Jan 4 23:46:50 CET 2017


On Wed 2017-01-04 16:29:50 -0500, Lou Wynn wrote:
> What is going on here? Does GPG2 use some special way to mark the usage
> of a subkey? How can I make it interchangeable with other programs?

the "public key algorithm" is "RSA (Encrypt or Sign)".  The usage info is
stored in the "key flags" subpackets in self-signatures (over uids for
the primary key, and binding signatures for the subkeys).  Please see:

  https://tools.ietf.org/html/rfc4880#section-5.2.3.21
  https://tools.ietf.org/html/rfc4880#section-9.1

the "public key algorithm" values 2 (RSA Encrypt-only) and 3 (RSA
sign-only) are deprecated.

           --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: </pipermail/attachments/20170104/74c12343/attachment.sig>


More information about the Gnupg-users mailing list