gnupg/cipher (ChangeLog rsa.c)

cvs user werner cvs at cvs.gnupg.org
Thu Sep 23 21:34:45 CEST 2004


    Date: Thursday, September 23, 2004 @ 21:34:45
  Author: werner
    Path: /cvs/gnupg/gnupg/cipher

Modified: ChangeLog rsa.c

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.


-----------+
 ChangeLog |    5 +++++
 rsa.c     |    3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)



More information about the Gnupg-commits mailing list