gnupg/g10 (6 files)

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


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

Modified: ChangeLog app-openpgp.c card-util.c g10.c keygen.c main.h

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     |   15 +
 app-openpgp.c |  124 +++++++---
 card-util.c   |  135 -----------
 g10.c         |    4 
 keygen.c      |  671 ++++++++++++++++++++++++++++++++++++++++++++------------
 main.h        |    4 
 6 files changed, 642 insertions(+), 311 deletions(-)



More information about the Gnupg-commits mailing list