x/crypto/openpgp: cross-signature validation for signing subkeys.

Section 11.1 of RFC4880 requires that binding signatures on
signing subkeys contain a valid embedded signature that cross-certifies
the primary key. This is to avoid the weakness described at
https://www.gnupg.org/faq/subkey-cross-certify.html

Fixes #10740

Change-Id: Ibe039662497832945957b001a83080ba29213703
Reviewed-on: https://go-review.googlesource.com/9799
Reviewed-by: Adam Langley <agl@golang.org>
This commit is contained in:
KB Sriram
2015-05-31 18:57:27 +00:00
committed by Adam Langley
parent 326f0c56aa
commit c10c31b5e9
4 changed files with 215 additions and 14 deletions
File diff suppressed because one or more lines are too long