diff options
author | Werner Koch <wk@gnupg.org> | 2004-09-23 21:34:45 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-09-23 21:34:45 +0200 |
commit | f36154535e344ee4771f9d1c7676961fa330ed96 (patch) | |
tree | 92f297e3c222b40d9afd7d10b154d61b19b6840b /g10/armor.c | |
parent | * gpg.sgml: Document "addcardkey" and "keytocard". (diff) | |
download | gnupg2-f36154535e344ee4771f9d1c7676961fa330ed96.tar.xz gnupg2-f36154535e344ee4771f9d1c7676961fa330ed96.zip |
Note: I have not fully tested the new key creation due to a pc/sc
error. However the backupfile has been created successfully.
* rsa.c (rsa_generate): Return the dummy list of factors only if
the caller asked for it.
* card_util.c (generate_card_keys): ask whether backup should be
created.
(card_store_subkey): Factored some code out to ..
* keygen.c (save_unprotected_key_to_card): .. new function.
(gen_card_key_with_backup): New.
(generate_raw_key): New.
(generate_keypair): New arg BACKUP_ENCRYPTION_DIR. Changed all
callers.
(do_generate_keypair): Divert to gen_card_key_with_backup when
desired.
Diffstat (limited to 'g10/armor.c')
0 files changed, 0 insertions, 0 deletions