mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Made card key generate with backup key work for 2048 bit.
Improved card key generation prompts.
This commit is contained in:
parent
abc632a4a6
commit
c4e92c3344
9 changed files with 130 additions and 75 deletions
|
@ -53,6 +53,10 @@ struct agent_card_info_s
|
|||
int is_v2; /* True if this is a v2 card. */
|
||||
int chvmaxlen[3]; /* Maximum allowed length of a CHV. */
|
||||
int chvretry[3]; /* Allowed retries for the CHV; 0 = blocked. */
|
||||
struct { /* Array with key attributes. */
|
||||
int algo; /* Algorithm identifier. */
|
||||
unsigned int nbits; /* Supported keysize. */
|
||||
} key_attr[3];
|
||||
};
|
||||
|
||||
struct agent_card_genkey_s {
|
||||
|
@ -116,6 +120,7 @@ gpg_error_t agent_get_passphrase (const char *cache_id,
|
|||
const char *prompt,
|
||||
const char *desc_msg,
|
||||
int repeat,
|
||||
int check,
|
||||
char **r_passphrase);
|
||||
|
||||
/* Send the CLEAR_PASSPHRASE command to the agent. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue