Commit Graph
2 Commits
Author SHA1 Message Date
KB Sriram db4f058ba8 Update interop test license to Apache 2.0
Change the license for the interoperability test runner
to Apache 2.0, matching standard Google open source practice.
2017-09-28 06:18:58 -07:00
KB Sriram 36bffc3ef5 Always revoke subkeys with a revocation signature.
Unlike UID revocations which are "reversible" by newer UID
self-signatures, a subkey revocation should be "permanent" even if
followed by a newer self-signature.

The RFC is ambiguous on this, but this is the convention used by (e.g.)
GnuPG. The rationale for this behaviour is available as comments within
the GnuPG source.

UID signatures:
https://github.com/mtigas/gnupg/blob/50c98c7ed6b542857ee2f902eca36cda37407737/g10/getkey.c#L1668-L1674
Subkey signatures:
https://github.com/mtigas/gnupg/blob/50c98c7ed6b542857ee2f902eca36cda37407737/g10/getkey.c#L1990-L1997
2016-01-15 15:28:40 -08:00