mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* keygen.c (make_backsig): If DO_BACKSIGS is not defined, do not create
backsigs. * getkey.c (merge_selfsigs_subkey): Find 0x19 backsigs on subkey selfsigs and verify they are valid. If DO_BACKSIGS is not defined, fake this as always valid. * packet.h, parse-packet.c (parse_signature): Make parse_signature non-static so we can parse 0x19s in self-sigs. * main.h, sig-check.c (check_backsig): Check a 0x19 signature. (signature_check2): Give a backsig warning if there is no or a bad 0x19 with signatures from a subkey.
This commit is contained in:
parent
2bdb01e2e7
commit
732f049817
7 changed files with 121 additions and 6 deletions
|
@ -56,8 +56,6 @@ static int parse_symkeyenc( IOBUF inp, int pkttype, unsigned long pktlen,
|
|||
PACKET *packet );
|
||||
static int parse_pubkeyenc( IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
PACKET *packet );
|
||||
static int parse_signature( IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
PKT_signature *sig );
|
||||
static int parse_onepass_sig( IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
PKT_onepass_sig *ops );
|
||||
static int parse_key( IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
|
@ -1223,7 +1221,7 @@ void parse_revkeys(PKT_signature *sig)
|
|||
}
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
parse_signature( IOBUF inp, int pkttype, unsigned long pktlen,
|
||||
PKT_signature *sig )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue