mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Key generation and signing using the OpenPGP card does rudimentary work.
This commit is contained in:
parent
b7bd5e8088
commit
5c46f134e2
16 changed files with 1154 additions and 401 deletions
|
@ -921,6 +921,10 @@ change_passphrase( KBNODE keyblock )
|
|||
tty_printf(_("Secret parts of primary key are not available.\n"));
|
||||
no_primary_secrets = 1;
|
||||
}
|
||||
else if( sk->protect.s2k.mode == 1002 ) {
|
||||
tty_printf(_("Secret key is actually stored on a card.\n"));
|
||||
no_primary_secrets = 1;
|
||||
}
|
||||
else {
|
||||
tty_printf(_("Key is protected.\n"));
|
||||
rc = check_secret_key( sk, 0 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue