mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixed lsign using v3 problem
This commit is contained in:
parent
6732700743
commit
a5ed3e6925
2 changed files with 16 additions and 0 deletions
|
@ -282,6 +282,17 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified, int local )
|
|||
if( rc )
|
||||
goto leave;
|
||||
|
||||
if (local) {
|
||||
for( sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next ) {
|
||||
if (sk_rover->sk->version < 4) {
|
||||
tty_printf ("Local only signing not possible "
|
||||
"due to an old style key\n");
|
||||
rc = G10ERR_UNU_SECKEY;
|
||||
goto leave;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* loop over all signaturs */
|
||||
for( sk_rover = sk_list; sk_rover; sk_rover = sk_rover->next ) {
|
||||
u32 sk_keyid[2];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue