mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +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
|
@ -253,6 +253,9 @@ check_secret_key( PKT_secret_key *sk, int n )
|
|||
int rc = gpg_error (GPG_ERR_BAD_PASSPHRASE);
|
||||
int i,mode;
|
||||
|
||||
if (sk && sk->is_protected && sk->protect.s2k.mode == 1002)
|
||||
return 0; /* Let the scdaemon handle it. */
|
||||
|
||||
if(n<0)
|
||||
{
|
||||
n=abs(n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue