aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch2003-09-0610-38/+58
| | | | | | | | | | | | | * misc.c (openpgp_pk_algo_usage): Allow AUTH where SIGN is allowed. * keygen.c (ask_passphrase): No need to allocated S2K in secure memory. * scdaemon.c (main): --pcsc-driver again defaults to pcsclite. David Corcoran was so kind to remove the GPL incompatible advertisng clause from pcsclite. * apdu.c (apdu_open_reader): Actually make pcsc-driver option work.
* * ccid-driver.c: More work, data can now actually be retrieved.Werner Koch2003-09-053-164/+320
| | | | | | * ccid-driver.c, ccid-driver.h: Alternativley allow use under BSD conditions.
* * keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch2003-09-056-17/+49
| | | | | | | | (do_generate_keypair): Add support the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto.
* * configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2003-09-0213-7/+827
| | | | | | | | * scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
* 2003-08-26 Timo Schulz <[email protected]>Timo Schulz2003-08-262-0/+7
| | | | | | * apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
* 2003-08-25 Timo Schulz <[email protected]>Timo Schulz2003-08-252-33/+25
| | | | | | * pkglue.c (mpi_from_sexp): New. Used to factor out some common code.
* (cmd_setattr): Use a copy of LINE.Werner Koch2003-08-252-11/+32
| | | | | | | (cmd_genkey): Use a copy of KEYNO. (cmd_passwd): Use a copy of CHVNOSTR. (cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.
* 2003-08-20 Timo Schulz <[email protected]>Timo Schulz2003-08-202-3/+8
| | | | | | * pksign.c (do_encode_md): Allocate enough space. Cast md byte to unsigned char to prevent sign extension.
* 2003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-202-2/+7
| | | | | | * maperror.c (map_ksba_err): Map -1. Use gpg_err_make to set the error source.
* 2003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-202-2/+9
| | | | | | | * encrypt.c (encode_session_key): Allocate enough space. Cast key byte to unsigned char to prevent sign extension. (encrypt_dek): Check return value before error.
* * scdaemon.c, scdaemon.h: New option --pcsc-driver.Werner Koch2003-08-194-1/+22
| | | | | | * apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
* 2003-08-19 Marcus Brinkmann <[email protected]>Marcus Brinkmann2003-08-192-1/+6
| | | | | | * configure.ac (AM_PATH_GPG_ERROR): Add missing comma in invocation.
* * mdc.c (use_mdc): Simplified.Timo Schulz2003-08-182-22/+20
|
* 2003-08-18 Timo Schulz <[email protected]>Timo Schulz2003-08-183-51/+66
| | | | | | | | * encode.c (encode_sesskey): Checked the code and removed the warning since all compatibility checks with PGP succeeded. * mainproc.c (symkey_decrypt_sesskey): Better check for the algorithm and check the return values of some functions.
* * scdaemon.c, scdaemon.h: New option --disable-opensc.Werner Koch2003-08-182-4/+7
| | | | | | | | | | | | | * card.c (card_open): Implement it. * apdu.c (open_osc_reader, osc_send_apdu): New. (apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not disabled. (error_string) [HAVE_OPENSC]: Use sc_strerror. (send_apdu) [HAVE_OPENSC]: Call osc_apdu_send. * card-p15.c (p15_enum_keypairs, p15_prepare_key): Adjusted for libgpg-error.
* * Makefile.am: Add OPENSC_LIBS to all programs.Werner Koch2003-08-189-50/+401
| | | | | | | | | | | * scdaemon.c, scdaemon.h: New option --disable-opensc. * card.c (card_open): Implement it. * apdu.c (open_osc_reader, osc_send_apdu): New. (apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not disabled. (error_string) [HAVE_OPENSC]: Use sc_strerror. (send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.
* Add 'dynload.h' to Makefile.am.Timo Schulz2003-08-141-1/+2
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-142-78/+23
| | | | | * encrypt.c (encode_session_key): Use new Libgcrypt interface.
* Forgot to remove the unsued variable.Timo Schulz2003-08-141-2/+0
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-142-47/+27
| | | | | | * pksign.c: do_encode_md: Due to the fact pkcs#1 padding is now in Libgcrypt, use the new interface.
* * Always use 'dynload.h' instead of 'dlfcn.h'.Timo Schulz2003-08-145-32/+36
|
* *** empty log message ***Timo Schulz2003-08-142-8/+6
|
* 2003-08-14 Timo Schulz <[email protected]>Timo Schulz2003-08-142-0/+75
| | | | | * dlfcn.h. New. W32 wrapper around the dynload mechanism.
* (pk_sign): Fix last change.Werner Koch2003-08-072-8/+49
| | | | | | | (pk_verify): Check for valid DATA array so that we don't segv in Libgcrypt. (pk_verify): Ditto.
* Bumbed version numberWerner Koch2003-08-052-1/+5
|
* About to release the first 1.9 version.Werner Koch2003-08-054-6/+11
|
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-0524-519/+600
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-0576-0/+34899
| | | | 'GNUPG-1-9-BRANCH'.
* minor changes to make make distcheck happyWerner Koch2003-07-313-2/+9
|
* * gpgsm.c (main): Add secmem features and set the random seed file.Werner Koch2003-07-298-260/+518
| | | | | | | | | | | | (gpgsm_exit): Update the random seed file and enable debug output. * g10.c (main): Add secmem features and set the random seed file. (g10_exit): Update the random seed file. * parse-packet.c (parse_signature,read_protected_v3_mpi) (parse_key): Fixed use of mpi_set_opaque. * keygen.c (gen_card_key): Ditto.
* Adjusted for use with current libgcrypt (1.1.42).Werner Koch2003-07-2812-43/+45
|
* * g10.c: New command --card-status.Werner Koch2003-07-2410-13/+253
| | | | | | | | | * card-util.c (card_status): New. * call-agent.c (learn_status_cb): Parse more information. * keylist.c (print_pubkey_info): Add FP arg for optinal printing to a stream. Changed all callers.
* * keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.Werner Koch2003-07-2310-20/+272
| | | | | | (do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly.
* * export.c (parse_export_options): New option sexp-format.Werner Koch2003-07-166-30/+199
| | | | | | | | | (export_seckeys,export_secsubkeys): Check sexp-format option. (do_export): Ignore armor for sexp format. (do_export_stream): Handle sexp-format. (write_sexp_line,write_sexp_keyparm, build_sexp_seckey): New. (build_sexp): New.
* Minor changes to make make dist work correctly.Werner Koch2003-07-042-4/+14
|
* * cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.Werner Koch2003-07-032-4/+4
|
* * options.h (DBG_CIPHER): Reintroduced it.Werner Koch2003-07-0313-202/+422
| | | | | | | | | | | | | | | | | | * seskey.c (encode_session_key): Debug output of the session key. * pubkey-enc.c (get_it): Handle card case. * call-agent.c (agent_scd_pkdecrypt): New. * pkglue.c (pk_encrypt): Add RSA support. * g10.c (main): Default to --use-agent. * keygen.c (show_smartcard): Print info about the public key. (check_smartcard): Check for existing key here. (gen_card_key): And not anymore here. (fpr_is_zero): New. (generate_keypair): Generate both keys for a card. (smartcard_change_url): Nw.
* * app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch2003-07-0111-61/+143
| | | | | | | | * keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
* Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2003-06-2716-387/+1140
|
* Fixes to the libgcrypt switch. Basically works now.Werner Koch2003-06-237-29/+96
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-1890-2931/+5084
| | | | | | | | | | | to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
* A small step for GnuPG but a huge leap for error codes.Werner Koch2003-06-0511-12/+514
| | | | | | (Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-0577-0/+58548
| | | | 'GNUPG-1-9-BRANCH'.
* Make use of libgpg-errorWerner Koch2003-06-032-2/+3
|
* Update to gettext 0.11.5Werner Koch2003-04-292-0/+22
|
* * scdaemon.c: New options --print-atr and --reader-portWerner Koch2003-04-291-0/+10
| | | | | | | * apdu.c, apdu.h: New * card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.
* * configure.ac: Build a limited version of scdaemon if libopenscWerner Koch2003-04-292-10/+24
| | | | | | | | | | is not available. * configure.ac (ALL_LINUGAS): Removed. * Makefile.am (ACLOCAL_AMFLAGS): New. * configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
* * LINUGAS: NEW.Werner Koch2003-04-294-4/+45
|
* * configure.ac (ALL_LINUGAS): Removed.Werner Koch2003-04-297-21/+137
| | | | | | * Makefile.am (ACLOCAL_AMFLAGS): New. * configure.ac (AM_GNU_GETTEXT_VERSION): New. Set to 0.11.5.
* Copied wrong files. Fixed.Werner Koch2003-01-092-223/+37
|