gnupg.git
15 years ago* card-util.c (print_name): Fixed bad format string usage.
Werner Koch [Wed, 17 Dec 2003 12:26:56 +0000 (12:26 +0000)]
* card-util.c (print_name): Fixed bad format string usage.
(print_isoname): Ditto.

* trustdb.c (check_regexp): s/exp/expr/.

* keyedit.c (trustsig_prompt): Removed a "> 255" term; it is
always false due to the data type.

* passphrase.c (agent_get_passphrase): Use xasprintf and avoid
non-literal format strings.

* tdbio.c (upd_hashtable, drop_from_hashtable, lookup_hashtable):
Fixed log_error format string bugs.  Kudos to the now working
gcc-3.3 -Wformat-nonliteral and Florian Weimer's investigations in
gnupg 1.2.3.

15 years ago* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.
Werner Koch [Wed, 17 Dec 2003 12:26:38 +0000 (12:26 +0000)]
* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.

* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the
replacement function.

* miscellaneous.c (xasprintf): New.

15 years ago(initialize): Replaced use of non-literal forma
Werner Koch [Wed, 17 Dec 2003 12:25:09 +0000 (12:25 +0000)]
(initialize): Replaced use of non-literal forma
args.  Suggested by Florian Weimer.

15 years agoUpdated.
Werner Koch [Tue, 16 Dec 2003 16:32:02 +0000 (16:32 +0000)]
Updated.

15 years agoprint the time.
Werner Koch [Tue, 16 Dec 2003 16:31:42 +0000 (16:31 +0000)]
print the time.

15 years ago* gpgsm.c (main): Set the prefixes for assuan logging.
Werner Koch [Tue, 16 Dec 2003 16:31:16 +0000 (16:31 +0000)]
* gpgsm.c (main): Set the prefixes for assuan logging.

* sign.c (gpgsm_sign): Add validation checks for the default
certificate.

* gpgsm.c: Add -k as alias for --list-keys and -K for
--list-secret-keys.

15 years ago(main): Set the prefixes for assuan logging.
Werner Koch [Tue, 16 Dec 2003 16:30:55 +0000 (16:30 +0000)]
(main): Set the prefixes for assuan logging.

15 years ago(writen, fun_writer, fun_closer): New.
Werner Koch [Tue, 16 Dec 2003 16:30:48 +0000 (16:30 +0000)]
(writen, fun_writer, fun_closer): New.
(log_set_file): Add feature to log to a socket.
(log_set_file, do_logv): Force printing with prefix and pid.

15 years agoFixed blatant allocation bug.
Werner Koch [Tue, 16 Dec 2003 14:20:45 +0000 (14:20 +0000)]
Fixed blatant allocation bug.

15 years agoAdd simple tool to watch the log output of gnupg and related modules.
Werner Koch [Tue, 16 Dec 2003 11:32:52 +0000 (11:32 +0000)]
Add simple tool to watch the log output of gnupg and related modules.

15 years ago* encrypt.c (init_dek): Use gry_create_nonce for the IV; there is
Werner Koch [Tue, 16 Dec 2003 11:31:46 +0000 (11:31 +0000)]
* encrypt.c (init_dek): Use gry_create_nonce for the IV; there is
not need for real strong random here and it even better protect
the random bits used for the key.

15 years ago* seckey-cert.c (protect_secret_key): Use gry_create_nonce for the
Werner Koch [Tue, 16 Dec 2003 11:30:57 +0000 (11:30 +0000)]
* seckey-cert.c (protect_secret_key): Use gry_create_nonce for the
IV; there is not need for real strong random here and it even
better protect the random bits used for the key.

15 years ago* protect.c (do_encryption): Use gcry_create_nonce instad of the
Werner Koch [Tue, 16 Dec 2003 11:30:38 +0000 (11:30 +0000)]
* protect.c (do_encryption): Use gcry_create_nonce instad of the
obsolete WEAK_RANDOM.

15 years ago* configure.ac: Check for funopen and fopencookie as part of the
Werner Koch [Tue, 16 Dec 2003 11:30:16 +0000 (11:30 +0000)]
* configure.ac: Check for funopen and fopencookie as part of the
jnlib checks.

* logging.c (writen, fun_writer, fun_closer): New.
(log_set_file): Add feature to log to a socket.

15 years agoKeep those files in CVS too.
Werner Koch [Tue, 9 Dec 2003 09:28:27 +0000 (09:28 +0000)]
Keep those files in CVS too.

15 years agoAdded missing files
Werner Koch [Tue, 9 Dec 2003 09:23:54 +0000 (09:23 +0000)]
Added missing files

15 years agoReadded accidential removed files
Werner Koch [Tue, 9 Dec 2003 09:21:06 +0000 (09:21 +0000)]
Readded accidential removed files

15 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Tue, 9 Dec 2003 09:21:06 +0000 (09:21 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

15 years agoReadded file
Werner Koch [Tue, 9 Dec 2003 09:20:26 +0000 (09:20 +0000)]
Readded file

15 years ago(MSGID_BUGS_ADDRESS): New.
Werner Koch [Tue, 9 Dec 2003 09:13:29 +0000 (09:13 +0000)]
(MSGID_BUGS_ADDRESS): New.

15 years ago* configure.ac: Add a min_automake_version.
Werner Koch [Tue, 9 Dec 2003 09:12:43 +0000 (09:12 +0000)]
* configure.ac: Add a min_automake_version.
* README.CVS: New.
* autogen.sh: Revamped except for the --build-w32 hack.
* Makefile.am: Add README.CVS

15 years agoAdded files we better keep in the CVS
Werner Koch [Tue, 9 Dec 2003 09:07:09 +0000 (09:07 +0000)]
Added files we better keep in the CVS

15 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Tue, 9 Dec 2003 09:07:09 +0000 (09:07 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

15 years agoAdded a very simple tool.
Werner Koch [Mon, 1 Dec 2003 10:54:59 +0000 (10:54 +0000)]
Added a very simple tool.

15 years ago* gpgsm.c, gpgsm.h: New options --{enable,disable}-ocsp.
Werner Koch [Mon, 1 Dec 2003 10:54:30 +0000 (10:54 +0000)]
* gpgsm.c, gpgsm.h: New options --{enable,disable}-ocsp.
(gpgsm_init_default_ctrl): Set USE_OCSP to the default value.
* certchain.c (gpgsm_validate_chain): Handle USE_OCSP.
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Add arg USE_OCSP and
proceed accordingly.

15 years ago* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.
Werner Koch [Mon, 1 Dec 2003 10:54:09 +0000 (10:54 +0000)]
* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.
* app-openpgp.c (verify_chv3): Check it here.

15 years ago(Certificate Options): Add --{enable,disable}-ocsp.
Werner Koch [Mon, 1 Dec 2003 10:53:40 +0000 (10:53 +0000)]
(Certificate Options): Add --{enable,disable}-ocsp.

15 years ago* sexp-parse.h (snext): Don't use atoi_1 and digitp macros, so
Werner Koch [Mon, 1 Dec 2003 10:53:26 +0000 (10:53 +0000)]
* sexp-parse.h (snext): Don't use atoi_1 and digitp macros, so
that this file is useful by other applications too.

15 years ago* verify.c (gpgsm_verify): Fixed for changes API of gcry_md_info.
Werner Koch [Tue, 18 Nov 2003 17:29:51 +0000 (17:29 +0000)]
* verify.c (gpgsm_verify): Fixed for changes API of gcry_md_info.

* certchain.c (unknown_criticals): Fixed an error code test.

15 years ago*** empty log message ***
Werner Koch [Mon, 17 Nov 2003 12:56:43 +0000 (12:56 +0000)]
*** empty log message ***

15 years agoPreparing for 1.9.2 release. V1-9-2
Werner Koch [Mon, 17 Nov 2003 12:20:11 +0000 (12:20 +0000)]
Preparing for 1.9.2 release.

15 years ago2003-11-16 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Sun, 16 Nov 2003 15:29:07 +0000 (15:29 +0000)]
2003-11-16  Moritz Schulte  <mo@g10code.com>

* signal.c: Removed unused file.

15 years agoRemoved.
Werner Koch [Fri, 14 Nov 2003 11:36:04 +0000 (11:36 +0000)]
Removed.

15 years ago(vasprintf): Also fixed the prototype.
Werner Koch [Thu, 13 Nov 2003 19:15:38 +0000 (19:15 +0000)]
(vasprintf): Also fixed the prototype.

15 years ago(vasprintf): ARGS should not be a pointer. Fixed
Werner Koch [Thu, 13 Nov 2003 07:37:18 +0000 (07:37 +0000)]
(vasprintf): ARGS should not be a pointer.  Fixed
segv on Solaris.  Reported by Andrew J. Schorr.

15 years agoMainly changes to adjust for the changed KSBA API.
Werner Koch [Wed, 12 Nov 2003 15:17:44 +0000 (15:17 +0000)]
Mainly changes to adjust for the changed KSBA API.

15 years ago2003-11-10 Moritz Schulte <mo@g10code.com>
Moritz Schulte [Mon, 10 Nov 2003 10:42:43 +0000 (10:42 +0000)]
2003-11-10  Moritz Schulte  <mo@g10code.com>

* Makefile.am (INCLUDES): Added: @LIBGCRYPT_CFLAGS@.

15 years agoThe Changelog was not yet ready, so again:
Werner Koch [Fri, 31 Oct 2003 12:14:14 +0000 (12:14 +0000)]
The Changelog was not yet ready, so again:

* certchain.c (gpgsm_validate_chain): Changed to use ksba_isotime_t.
* verify.c (strtimestamp_r, gpgsm_verify): Ditto.
* sign.c (gpgsm_sign): Ditto.
* keylist.c (print_time, list_cert_std, list_cert_colon): Ditto.
* certdump.c (gpgsm_print_time, gpgsm_dump_time, gpgsm_dump_cert):
Ditto.

15 years ago* verify.c (strtimestamp_r, gpgsm_verify):
Werner Koch [Fri, 31 Oct 2003 12:12:47 +0000 (12:12 +0000)]
* verify.c (strtimestamp_r, gpgsm_verify):

* sign.c (gpgsm_sign):

* keylist.c (print_time, list_cert_std, list_cert_colon):

* certdump.c (gpgsm_print_time, gpgsm_dump_time, gpgsm_dump_cert):

* certchain.c (gpgsm_validate_chain): Changed to use ksba_isotime_t.

15 years ago* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.
Werner Koch [Fri, 31 Oct 2003 12:12:36 +0000 (12:12 +0000)]
* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.
(get_ccid_error_string): New.  Not very useful messages, though.

15 years agonew command
Werner Koch [Fri, 31 Oct 2003 12:12:17 +0000 (12:12 +0000)]
new command

15 years ago* util.h (gnupg_isotime_t): New.
Werner Koch [Fri, 31 Oct 2003 12:11:57 +0000 (12:11 +0000)]
* util.h (gnupg_isotime_t): New.
(gnupg_copy_time): New.

* gettime.c (gnupg_get_isotime): New.

15 years ago* command.c (cmd_get_confirmation): New command.
Werner Koch [Fri, 31 Oct 2003 12:11:48 +0000 (12:11 +0000)]
* command.c (cmd_get_confirmation): New command.

15 years ago(NEED_KSBA_VERSION): Set to 0.9.0 due the changed
Werner Koch [Fri, 31 Oct 2003 12:11:33 +0000 (12:11 +0000)]
(NEED_KSBA_VERSION): Set to 0.9.0 due the changed
time interface.

15 years ago(read_parameters): Fixed faulty of !spacep().
Werner Koch [Sat, 25 Oct 2003 14:23:11 +0000 (14:23 +0000)]
(read_parameters): Fixed faulty of !spacep().

15 years ago* command.c (cmd_genkey, cmd_passwd): Fixed faulty use of
Werner Koch [Sat, 25 Oct 2003 14:22:42 +0000 (14:22 +0000)]
* command.c (cmd_genkey, cmd_passwd): Fixed faulty use of
!spacep().

* apdu.c (apdu_open_reader): Hacks for PC/SC under Windows.

15 years ago(learn_status_cb, scd_genkey_cb): Fixed faulty use
Werner Koch [Sat, 25 Oct 2003 14:22:08 +0000 (14:22 +0000)]
(learn_status_cb, scd_genkey_cb): Fixed faulty use
of !spacep().

15 years ago* command.c (cmd_checkpin): New.
Werner Koch [Tue, 21 Oct 2003 17:12:50 +0000 (17:12 +0000)]
* command.c (cmd_checkpin): New.
(register_commands): Add command CHECKPIN.
* app.c (app_check_pin): New.
* app-openpgp.c (check_against_given_fingerprint): New. Factored
out that code elsewhere.
(do_check_pin): New.

15 years ago* card-util.c (card_edit): New command "passwd". Add logic to
Werner Koch [Tue, 21 Oct 2003 17:12:21 +0000 (17:12 +0000)]
* card-util.c (card_edit): New command "passwd".  Add logic to
check the PIN in advance.
(card_status): Add new args to return the serial number.  Changed
all callers.
* call-agent.c (agent_scd_checkpin): New.

15 years ago(PRINTABLE_OS_NAME): Remove special case for The
Werner Koch [Tue, 21 Oct 2003 17:11:32 +0000 (17:11 +0000)]
(PRINTABLE_OS_NAME): Remove special case for The
Hurd; Robert Millan reported that the uname test is now
sufficient.

15 years ago* ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.
Werner Koch [Thu, 9 Oct 2003 15:18:08 +0000 (15:18 +0000)]
* ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.

15 years ago* call-agent.c (agent_scd_getattr): Don't clear the passed info
Werner Koch [Wed, 8 Oct 2003 10:46:58 +0000 (10:46 +0000)]
* call-agent.c (agent_scd_getattr): Don't clear the passed info
structure, so that it can indeed be updated.

* card-util.c (fpr_is_zero): New.
(generate_card_keys): New.
(card_edit): New command "generate".
* keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call
to check_smartcard.
(check_smartcard,show_smartcard): Removed.
(show_sha1_fpr,fpr_is_zero): Removed.

* app-openpgp.c (do_getattr): Support SERIALNO and AID.

15 years agoFixes to make inclusion of card raleted source files into 1.3 easier.
Werner Koch [Thu, 2 Oct 2003 10:27:34 +0000 (10:27 +0000)]
Fixes to make inclusion of card raleted source files into 1.3 easier.

15 years ago* command.c (cmd_getattr): New command GETATTR.
Werner Koch [Tue, 30 Sep 2003 17:35:05 +0000 (17:35 +0000)]
* command.c (cmd_getattr): New command GETATTR.
* app.c (app_setattr): New.
(do_getattr): New.
(do_learn_status): Reimplemented in terms of do_getattr.

* app-openpgp.c (do_change_pin): Make sure CVH1 and CHV2 are
always synced.
(verify_chv2, verify_chv3): New. Factored out common code.
(do_setattr, do_sign, do_auth, do_decipher): Change the names of
the prompts to match that we have only 2 different PINs.
(app_select_openpgp): Check whether the card enforced CHV1.
(convert_sig_counter_value): New. Factor out code from
get_sig_counter.

15 years ago* keylist.c (print_card_serialno): New.
Werner Koch [Tue, 30 Sep 2003 17:34:38 +0000 (17:34 +0000)]
* keylist.c (print_card_serialno): New.
(list_keyblock_print): Use it here.

* card-util.c (toggle_forcesig): New.
(card_edit): New command "forcesig".

* card-util.c (print_name, print_isoname): Use 0 and not LF fro
the max_n arg of tty_print_utf8_string2.

* call-agent.c (agent_scd_getattr): New.
(learn_status_cb): Release values before assignment so that it can
be used by getattr to update the structure.

* card-util.c (change_pin): Simplified.  We now have only a PIN
and an Admin PIN.

15 years agoMinor fixes
Werner Koch [Tue, 30 Sep 2003 13:22:33 +0000 (13:22 +0000)]
Minor fixes

15 years ago*** empty log message ***
Werner Koch [Tue, 30 Sep 2003 13:16:33 +0000 (13:16 +0000)]
*** empty log message ***

15 years ago2003-09-26 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Fri, 26 Sep 2003 11:03:08 +0000 (11:03 +0000)]
2003-09-26  Timo Schulz  <twoaday@freakmail.de>

        * card_status (card_status): Do not use fputs since the fp
        parameter can be NULL. This fixes a segv.

15 years ago(print_isoname,card_status): Handle opt.with_colons.
Werner Koch [Wed, 24 Sep 2003 08:31:16 +0000 (08:31 +0000)]
(print_isoname,card_status): Handle opt.with_colons.
(print_sha1_fpr_colon): New.

15 years agoMerged most of David Shaw's changes in 1.3 since 2003-06-03.
Werner Koch [Tue, 23 Sep 2003 17:48:33 +0000 (17:48 +0000)]
Merged most of David Shaw's changes in 1.3 since 2003-06-03.

15 years ago2003-09-22 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Mon, 22 Sep 2003 20:43:25 +0000 (20:43 +0000)]
2003-09-22  Timo Schulz  <twoaday@freakmail.de>

        * card-util.c (card_status): Free pk in case of an error
        and return if the card is no OpenPGP card.

16 years ago(parse_ccid_descriptor): New.
Werner Koch [Fri, 19 Sep 2003 11:17:11 +0000 (11:17 +0000)]
(parse_ccid_descriptor): New.
(read_device_info): New.
(ccid_open_reader): Check that the device has all required features.

16 years ago* g10.c: New command --card-edit.
Werner Koch [Thu, 18 Sep 2003 15:51:18 +0000 (15:51 +0000)]
* g10.c: New command --card-edit.
* card-util.c (card_status): Use tty_fprintf for all output.
(print_sha1_fpr, print_isoname): Ditto.
(get_one_name,change_name, change_url, change_login,change_lang)
(change_sex): New; taken from keygen.c.
* keygen.c (smartcard_get_one_name, smartcard_change_name)
(smartcard_change_url, smartcard_change_login_data)
(smartcard_change_lang, smartcard_change_sex): Removed.
(check_smartcard): Removed most menu items.

16 years ago(tty_fprintf): New.
Werner Koch [Thu, 18 Sep 2003 15:51:01 +0000 (15:51 +0000)]
(tty_fprintf): New.
(tty_print_string, tty_print_utf8_string2)
(tty_print_utf8_string): Made P argument const byte*.

16 years agoPost release version number update
Werner Koch [Sat, 6 Sep 2003 13:44:17 +0000 (13:44 +0000)]
Post release version number update

16 years ago* configure.ac: Required newer versions of some libraries. V1-9-1
Werner Koch [Sat, 6 Sep 2003 13:23:48 +0000 (13:23 +0000)]
* configure.ac: Required newer versions of some libraries.

* 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.

16 years ago* ccid-driver.c: More work, data can now actually be retrieved.
Werner Koch [Fri, 5 Sep 2003 07:40:41 +0000 (07:40 +0000)]
* ccid-driver.c: More work, data can now actually be retrieved.
* ccid-driver.c, ccid-driver.h: Alternativley allow use under BSD
conditions.

16 years ago* keygen.c (do_add_key_flags, parse_parameter_usage)
Werner Koch [Fri, 5 Sep 2003 07:40:18 +0000 (07:40 +0000)]
* keygen.c (do_add_key_flags, parse_parameter_usage)
(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.

16 years ago* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.
Werner Koch [Tue, 2 Sep 2003 19:06:34 +0000 (19:06 +0000)]
* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.

* 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.

16 years ago2003-08-26 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Tue, 26 Aug 2003 09:01:18 +0000 (09:01 +0000)]
2003-08-26  Timo Schulz  <twoaday@freakmail.de>

        * apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC
        is used.

16 years ago2003-08-25 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Mon, 25 Aug 2003 21:12:43 +0000 (21:12 +0000)]
2003-08-25  Timo Schulz  <twoaday@freakmail.de>

        * pkglue.c (mpi_from_sexp): New. Used to factor out
        some common code.

16 years ago(cmd_setattr): Use a copy of LINE.
Werner Koch [Mon, 25 Aug 2003 09:58:02 +0000 (09:58 +0000)]
(cmd_setattr): Use a copy of LINE.
(cmd_genkey): Use a copy of KEYNO.
(cmd_passwd): Use a copy of CHVNOSTR.
(cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.

16 years ago2003-08-20 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Wed, 20 Aug 2003 20:20:59 +0000 (20:20 +0000)]
2003-08-20  Timo Schulz  <twoaday@freakmail.de>

        * pksign.c (do_encode_md): Allocate enough space. Cast md
        byte to unsigned char to prevent sign extension.

16 years ago2003-08-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 17:23:23 +0000 (17:23 +0000)]
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>

* maperror.c (map_ksba_err): Map -1.  Use gpg_err_make to set
the error source.

16 years ago2003-08-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 20 Aug 2003 16:53:40 +0000 (16:53 +0000)]
2003-08-20  Marcus Brinkmann  <marcus@g10code.de>

* 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.

16 years ago* scdaemon.c, scdaemon.h: New option --pcsc-driver.
Werner Koch [Tue, 19 Aug 2003 09:36:48 +0000 (09:36 +0000)]
* scdaemon.c, scdaemon.h: New option --pcsc-driver.
* apdu.c (apdu_open_reader): Use that option here instead of a
hardcoded one.

16 years ago2003-08-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 19 Aug 2003 02:25:25 +0000 (02:25 +0000)]
2003-08-19  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac (AM_PATH_GPG_ERROR): Add missing comma in
invocation.

16 years ago * mdc.c (use_mdc): Simplified.
Timo Schulz [Mon, 18 Aug 2003 21:32:19 +0000 (21:32 +0000)]
    * mdc.c (use_mdc): Simplified.

16 years ago2003-08-18 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Mon, 18 Aug 2003 21:25:03 +0000 (21:25 +0000)]
2003-08-18  Timo Schulz  <twoaday@freakmail.de>

        * 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.

16 years ago* scdaemon.c, scdaemon.h: New option --disable-opensc.
Werner Koch [Mon, 18 Aug 2003 17:34:51 +0000 (17:34 +0000)]
* 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.

* card-p15.c (p15_enum_keypairs, p15_prepare_key): Adjusted for
libgpg-error.

16 years ago* Makefile.am: Add OPENSC_LIBS to all programs.
Werner Koch [Mon, 18 Aug 2003 17:34:28 +0000 (17:34 +0000)]
* Makefile.am: Add OPENSC_LIBS to all programs.

* 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.

16 years agoAdd 'dynload.h' to Makefile.am.
Timo Schulz [Thu, 14 Aug 2003 19:58:03 +0000 (19:58 +0000)]
Add 'dynload.h' to Makefile.am.

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 19:39:30 +0000 (19:39 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * encrypt.c (encode_session_key): Use new Libgcrypt interface.

16 years agoForgot to remove the unsued variable.
Timo Schulz [Thu, 14 Aug 2003 19:10:12 +0000 (19:10 +0000)]
Forgot to remove the unsued variable.

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 19:06:46 +0000 (19:06 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * pksign.c: do_encode_md: Due to the fact pkcs#1 padding
        is now in Libgcrypt, use the new interface.

16 years ago * Always use 'dynload.h' instead of 'dlfcn.h'.
Timo Schulz [Thu, 14 Aug 2003 12:20:08 +0000 (12:20 +0000)]
    * Always use 'dynload.h' instead of 'dlfcn.h'.

16 years ago*** empty log message ***
Timo Schulz [Thu, 14 Aug 2003 12:16:58 +0000 (12:16 +0000)]
*** empty log message ***

16 years ago2003-08-14 Timo Schulz <twoaday@freakmail.de>
Timo Schulz [Thu, 14 Aug 2003 12:06:43 +0000 (12:06 +0000)]
2003-08-14  Timo Schulz  <twoaday@freakmail.de>

        * dlfcn.h. New. W32 wrapper around the dynload mechanism.

16 years ago(pk_sign): Fix last change.
Werner Koch [Thu, 7 Aug 2003 07:05:38 +0000 (07:05 +0000)]
(pk_sign): Fix last change.
(pk_verify): Check for valid DATA array so that we don't segv in
Libgcrypt.
(pk_verify): Ditto.

16 years agoBumbed version number
Werner Koch [Tue, 5 Aug 2003 18:55:40 +0000 (18:55 +0000)]
Bumbed version number

16 years agoAbout to release the first 1.9 version.
Werner Koch [Tue, 5 Aug 2003 17:20:18 +0000 (17:20 +0000)]
About to release the first 1.9 version.

16 years agoCleanups, fixes and PC/SC support
Werner Koch [Tue, 5 Aug 2003 17:11:04 +0000 (17:11 +0000)]
Cleanups, fixes and PC/SC support

16 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Tue, 5 Aug 2003 17:11:04 +0000 (17:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

16 years agominor changes to make make distcheck happy
Werner Koch [Thu, 31 Jul 2003 15:45:11 +0000 (15:45 +0000)]
minor changes to make make distcheck happy

16 years ago* gpgsm.c (main): Add secmem features and set the random seed file.
Werner Koch [Tue, 29 Jul 2003 08:53:19 +0000 (08:53 +0000)]
* gpgsm.c (main): Add secmem features and set the random seed file.
(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.

16 years agoAdjusted for use with current libgcrypt (1.1.42).
Werner Koch [Mon, 28 Jul 2003 08:59:18 +0000 (08:59 +0000)]
Adjusted for use with current libgcrypt (1.1.42).

16 years ago* g10.c: New command --card-status.
Werner Koch [Thu, 24 Jul 2003 09:06:43 +0000 (09:06 +0000)]
* g10.c: New command --card-status.
* 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.

16 years ago* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
Werner Koch [Wed, 23 Jul 2003 07:11:06 +0000 (07:11 +0000)]
* keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards.
(do_generate_keypair): Abd generate the authkey.
(check_smartcard): Changed menu accordingly.

16 years ago* export.c (parse_export_options): New option sexp-format.
Werner Koch [Wed, 16 Jul 2003 13:45:15 +0000 (13:45 +0000)]
* export.c (parse_export_options): New option sexp-format.
(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.

16 years agoMinor changes to make make dist work correctly.
Werner Koch [Fri, 4 Jul 2003 09:40:19 +0000 (09:40 +0000)]
Minor changes to make make dist work correctly.