mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* getkey.c (merge_selfsigs_subkey), sig-check.c (signature_check2),
keygen.c (make_backsig): Did some backsig interop testing with the PGP folks. All is well, so I'm turning generation of backsigs on for new keys. Checking for backsigs on verification is still off.
This commit is contained in:
parent
02aefe3866
commit
47433adaa5
6 changed files with 35 additions and 24 deletions
10
g10/getkey.c
10
g10/getkey.c
|
@ -2043,10 +2043,6 @@ merge_selfsigs_subkey( KBNODE keyblock, KBNODE subnode )
|
|||
|
||||
subpk->is_valid = 1;
|
||||
|
||||
#ifndef DO_BACKSIGS
|
||||
/* Pretend the backsig is present and accounted for. */
|
||||
subpk->backsig=2;
|
||||
#else
|
||||
/* Find the first 0x19 embedded signature on our self-sig. */
|
||||
if(subpk->backsig==0)
|
||||
{
|
||||
|
@ -2086,6 +2082,12 @@ merge_selfsigs_subkey( KBNODE keyblock, KBNODE subnode )
|
|||
free_seckey_enc(backsig);
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef FAKE_BACKSIGS
|
||||
/* If there is no backsig, pretend there is a valid one. If there
|
||||
is a backsig (or an invalid backsig), use it. */
|
||||
if(subpk->backsig==0)
|
||||
subpk->backsig=2;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue