gnupg.git
14 years agoYep. No lost threads anymore.
Werner Koch [Tue, 14 Dec 2004 19:20:36 +0000 (19:20 +0000)]
Yep.  No lost threads anymore.

(_pth_strerror): Renamed to ...
(w32_strerror): .. this. And let callers provide a buffer.
(spawn_helper_thread): Removed HD arg and hardwire the stack size
to 32k.
(do_pth_wait): Removed use of ATTR; not needed for the helper
threads.
(helper_thread): Renamed to ..
(launch_thread): .. this.  Release handle if not joinable.
(struct pth_priv_hd_s): Renamed to ...
(struct thread_info_s): .. this.  Add member JOINABLE and TH.

14 years ago2004-12-14 Timo Schulz <twoaday@g10code.com>
Timo Schulz [Tue, 14 Dec 2004 17:47:12 +0000 (17:47 +0000)]
2004-12-14  Timo Schulz  <twoaday@g10code.com>

        * w32-pth.c (pth_kill): Just release the crit section if
        pth_init was really called. And set all handles to NULL.
        (_pth_strerror): New.
        (do_pth_wait): Before we enter the loop we check if there
        are too much events in the ring.

14 years agoMore fixes. First successful use; leaks threads, though.
Werner Koch [Tue, 14 Dec 2004 14:49:21 +0000 (14:49 +0000)]
More fixes.  First successful use; leaks threads, though.

14 years ago* w32-pth.h (pth_event_occured): Removed macro.
Werner Koch [Tue, 14 Dec 2004 11:25:04 +0000 (11:25 +0000)]
* w32-pth.h (pth_event_occured): Removed macro.
* w32-pth.c: Fixed license statement; its under the LGPL.
(enter_pth, leave_pth): Use them to bracket almost all public
functions.

14 years ago2004-12-13 Timo Schulz <twoaday@g10code.com>
Timo Schulz [Mon, 13 Dec 2004 18:00:35 +0000 (18:00 +0000)]
2004-12-13  Timo Schulz  <twoaday@g10code.com>

        * w32-pth.c (enter_pth, leave_pth): New.
        (pth_init): Initialize global mutex section.
        (pth_kill): Release global mutex section.
        (helper_thread): New.
        (pth_spawn): Make sure only one thread is running.

14 years agoVArious hacks to make it at least build under W32.
Werner Koch [Mon, 13 Dec 2004 15:49:56 +0000 (15:49 +0000)]
VArious hacks to make it at least build under W32.

* stringhelp.c (w32_strerror) [W32]: New.

* w32-pth.c, w32-pth.h: Added real code written by Timo Schulz.
Not finished, though.

* gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.

14 years agoAdded real code written by Timo Schulz.
Werner Koch [Mon, 13 Dec 2004 09:05:31 +0000 (09:05 +0000)]
Added real code written by Timo Schulz.
Not finished, though.

14 years ago(keybox_release): Close the file pointer.
Werner Koch [Tue, 7 Dec 2004 18:07:30 +0000 (18:07 +0000)]
(keybox_release): Close the file pointer.

14 years ago* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.
Werner Koch [Tue, 7 Dec 2004 11:21:40 +0000 (11:21 +0000)]
* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.

* w32-pth.c, w32-pth.h: New.

* Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because
under W32 we need the w32 pth code from jnlib.

* misc.c (setup_pinentry_env) [W32]: Disabled.

14 years ago* exechelp.h, exechelp.c: New. Based on code from ../sm/import.c.
Werner Koch [Mon, 6 Dec 2004 18:28:56 +0000 (18:28 +0000)]
* exechelp.h, exechelp.c: New.  Based on code from ../sm/import.c.

* gpgsm.c (run_protect_tool) [_WIN32]: Disabled.

* import.c (popen_protect_tool): Simplified by making use of
gnupg_spawn_process.
(parse_p12): Likewise, using gnupg_wait_process.
* export.c (popen_protect_tool): Ditto.
(export_p12): Ditto.

14 years ago* configure.ac (have_w32_system): New. Disable Pth checks for W32.
Werner Koch [Mon, 6 Dec 2004 13:49:14 +0000 (13:49 +0000)]
* configure.ac (have_w32_system): New.  Disable Pth checks for W32.
Link jnlib/w32-pth.h to pth.h.

* Makefile.am (pkglib_PROGRAMS): Build only for W32.

* keydb.c: Don't define DIRSEP_S here.

14 years ago2004-12-05 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sun, 5 Dec 2004 15:36:49 +0000 (15:36 +0000)]
2004-12-05  Moritz Schulte  <moritz@g10code.com>

* query.c (start_pinentry): Allow CTRL be NULL.

14 years agopost release version number updates
Werner Koch [Fri, 3 Dec 2004 19:43:11 +0000 (19:43 +0000)]
post release version number updates

14 years agoFixed copyright comments. V1-9-13
Werner Koch [Fri, 3 Dec 2004 18:38:23 +0000 (18:38 +0000)]
Fixed copyright comments.

14 years agoPreparing 1.9.13
Werner Koch [Fri, 3 Dec 2004 17:44:57 +0000 (17:44 +0000)]
Preparing 1.9.13

14 years agoFirst take on a W32 port
Werner Koch [Thu, 2 Dec 2004 07:48:09 +0000 (07:48 +0000)]
First take on a W32 port

14 years ago2004-11-30 Timo Schulz <ts@g10code.com>
Timo Schulz [Tue, 30 Nov 2004 09:48:37 +0000 (09:48 +0000)]
2004-11-30  Timo Schulz  <ts@g10code.com>

    * w32-afunix.c: New. AF_UNIX emulation for W32.
    * w32-afunix.h: Likewise.

14 years agoAdd dirmngr options to gpgconf and updated the DE translation
Werner Koch [Wed, 24 Nov 2004 14:50:20 +0000 (14:50 +0000)]
Add dirmngr options to gpgconf and updated the DE translation

14 years agoAdd --ignore-http-dp and
Werner Koch [Wed, 24 Nov 2004 10:43:53 +0000 (10:43 +0000)]
Add --ignore-http-dp and
--ignore-ldap-dp.

14 years ago* b64enc.c: Include stdio.h and string.h
Werner Koch [Tue, 23 Nov 2004 17:09:51 +0000 (17:09 +0000)]
* b64enc.c: Include stdio.h and string.h

* gpgsm.c: New option --prefer-system-dirmngr.
* call-dirmngr.c (start_dirmngr): Implement this option.

* gpgconf-comp.c <dirmngr>: Add the proxy options.
<gpgsm>: Add --prefer-system-daemon.

15 years agoPost release preparations
Werner Koch [Fri, 22 Oct 2004 19:57:03 +0000 (19:57 +0000)]
Post release preparations

15 years agoReleasing 1.9.12 V1-9-12
Werner Koch [Fri, 22 Oct 2004 19:48:12 +0000 (19:48 +0000)]
Releasing 1.9.12

15 years agoCompile fixes.
Werner Koch [Fri, 22 Oct 2004 16:03:04 +0000 (16:03 +0000)]
Compile fixes.

15 years agoCleaned up
Werner Koch [Fri, 22 Oct 2004 12:31:26 +0000 (12:31 +0000)]
Cleaned up

15 years ago* Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh
Werner Koch [Fri, 22 Oct 2004 12:31:04 +0000 (12:31 +0000)]
* Makefile.am (bin_SCRIPTS): Add gpgsm-gencert.sh

* gpgsm-gencert.sh: Fixed copyright; its part of GnuPG thus FSF.

15 years ago(gpgsm_genkey): Remove the NEW from the certificate
Werner Koch [Fri, 22 Oct 2004 12:30:52 +0000 (12:30 +0000)]
(gpgsm_genkey): Remove the NEW from the certificate
request PEM header.  This is according to the Sphinx standard.

15 years ago(Helper Tools): Document gpgsm-gencert.sh.
Werner Koch [Fri, 22 Oct 2004 12:30:34 +0000 (12:30 +0000)]
(Helper Tools): Document gpgsm-gencert.sh.

15 years ago * app-openpgp.c (do_sign): Replace asprintf by direct allocation.
Werner Koch [Fri, 22 Oct 2004 09:41:56 +0000 (09:41 +0000)]
* app-openpgp.c (do_sign): Replace asprintf by direct allocation.
This avoids problems with missing vasprintf implementations in
gnupg 1.4.

* app-common.h (app_openpgp_storekey: Add prototype.

15 years ago* logging.c (do_logv): Use set_log_stream to setup a default.
Werner Koch [Fri, 22 Oct 2004 09:41:24 +0000 (09:41 +0000)]
* logging.c (do_logv): Use set_log_stream to setup a default.
(log_set_file): Factored code out to ..
(set_file_fd): .. New function to allow using a file descriptor.
(log_set_fd): Make use of new fucntion.
(fun_writer): Reworked.

15 years agoUpdated from 1.3
Werner Koch [Fri, 22 Oct 2004 09:41:01 +0000 (09:41 +0000)]
Updated from 1.3

15 years ago(parse_rereadable_options): Return "not handled"
Werner Koch [Fri, 22 Oct 2004 09:39:47 +0000 (09:39 +0000)]
(parse_rereadable_options): Return "not handled"
when the log file has not beend hadled.  This is will let the main
option processing continue. Fixed a bug introduced on 2004-09-4
resulting in logging to stderr until a HUP has been given.
(main): Don't close the listen FD.

15 years agotypo fix
Werner Koch [Wed, 20 Oct 2004 08:55:26 +0000 (08:55 +0000)]
typo fix

15 years ago* sc-investigate: Removed.
Werner Koch [Wed, 20 Oct 2004 08:54:45 +0000 (08:54 +0000)]
* sc-investigate: Removed.
* Makefile.am (sc_investigate): Removed.

* pcsc-wrapper.c (load_pcsc_driver): Load get_status_change func.
(handle_open): Succeed even without a present card.
(handle_status, handle_reset): New.

* apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion.
(pcsc_get_status): Implemented.
(reset_pcsc_reader): Implemented.
(open_pcsc_reader): Succeed even with no card inserted.
(open_ccid_reader): Set LAST_STATUS.

* iso7816.c (iso7816_select_application): Always use 0 for P1.

15 years agoFixed copyright years
Werner Koch [Fri, 15 Oct 2004 16:10:50 +0000 (16:10 +0000)]
Fixed copyright years

15 years ago(parse_login_data): New.
Werner Koch [Thu, 14 Oct 2004 13:22:03 +0000 (13:22 +0000)]
(parse_login_data): New.
(app_select_openpgp): Call it.
(do_setattr): Reparse it after change.

15 years agoAdded ID keywords because these files are often used in other packages.
Werner Koch [Thu, 14 Oct 2004 09:12:36 +0000 (09:12 +0000)]
Added ID keywords because these files are often used in other packages.

15 years ago2004-10-08 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Fri, 8 Oct 2004 11:10:47 +0000 (11:10 +0000)]
2004-10-08  Moritz Schulte  <moritz@g10code.com>

* certchain.c (gpgsm_validate_chain): Do not use keydb_new() in
case the no_chain_validation-return-short-cut is used (fixes
memory leak).

15 years ago(ccid_open_reader): Store the vendor ID.
Werner Koch [Wed, 6 Oct 2004 13:13:51 +0000 (13:13 +0000)]
(ccid_open_reader): Store the vendor ID.
(ccid_transceive_secure): New.
(parse_ccid_descriptor): Workaround for an SCM reader problem.

15 years ago(setup_pinentry_env): Try hard to set a default for GPG_TTY.
Werner Koch [Mon, 4 Oct 2004 13:21:37 +0000 (13:21 +0000)]
(setup_pinentry_env): Try hard to set a default for GPG_TTY.

15 years agoTypo fixes.
Werner Koch [Mon, 4 Oct 2004 11:52:42 +0000 (11:52 +0000)]
Typo fixes.

15 years agoMade all strings for --log-file read the same.
Werner Koch [Fri, 1 Oct 2004 16:51:18 +0000 (16:51 +0000)]
Made all strings for --log-file read the same.

15 years agopost release preparations
Werner Koch [Fri, 1 Oct 2004 13:31:46 +0000 (13:31 +0000)]
post release preparations

15 years agoupdated V1-9-11
Werner Koch [Fri, 1 Oct 2004 12:55:04 +0000 (12:55 +0000)]
updated

15 years ago*** empty log message ***
Werner Koch [Fri, 1 Oct 2004 12:54:53 +0000 (12:54 +0000)]
*** empty log message ***

15 years ago* gpgconf-comp.c (my_dgettext): Also switch codeset and directory
Werner Koch [Fri, 1 Oct 2004 12:53:09 +0000 (12:53 +0000)]
* gpgconf-comp.c (my_dgettext): Also switch codeset and directory
for the other used domains (i.e. dirmngr).

* gpgconf.c (main): Fixed translation markers.

15 years ago* gpgv.c (i18n_init): Always use LC_ALL.
Werner Koch [Thu, 30 Sep 2004 21:37:11 +0000 (21:37 +0000)]
* gpgv.c (i18n_init): Always use LC_ALL.

* kbxutil.c (i18n_init): Always use LC_ALL.

* gpgsm.c (i18n_init): Always use LC_ALL.

* certdump.c (gpgsm_format_name): Factored code out to ..
(gpgsm_format_name2): .. new.
(gpgsm_print_name): Factored code out to ..
(gpgsm_print_name2): .. new.
(print_dn_part): New arg TRANSLATE.  Changed all callers.
(print_dn_parts): Ditto.
(gpgsm_format_keydesc): Do not translate the SUBJECT; we require
it to stay UTF-8 but we still want to filter out bad control
characters.

* gpgconf.c (i18n_init): Always use LC_ALL.

15 years agoPreparing a new release. Updated gettext
Werner Koch [Thu, 30 Sep 2004 14:34:34 +0000 (14:34 +0000)]
Preparing a new release.  Updated gettext

15 years agoThis commit was manufactured by cvs2svn to create branch
Repo Admin [Thu, 30 Sep 2004 14:34:34 +0000 (14:34 +0000)]
This commit was manufactured by cvs2svn to create branch
'GNUPG-1-9-BRANCH'.

15 years ago* de.po: Updated.
Werner Koch [Thu, 30 Sep 2004 13:24:33 +0000 (13:24 +0000)]
* de.po: Updated.

* POTFILES.in: Add more files.

* app-openpgp.c (do_sign): Add the error string to the verify
failed messages.

* keylist.c (list_cert_colon): Make sure that the expired flag has
a higher precedence than the invalid flag.

15 years ago* gpg.texi: New.
Werner Koch [Thu, 30 Sep 2004 08:39:08 +0000 (08:39 +0000)]
* gpg.texi: New.

15 years ago* gpg.texi: New.
Werner Koch [Thu, 30 Sep 2004 08:38:32 +0000 (08:38 +0000)]
* gpg.texi: New.
* gnupg.texi: Include gpg.texi

* tools.texi: Add a few @command markups.
* gpgsm.texi: Ditto
* gpg-agent.texi: Ditto.
* scdaemon.texi: Ditto.

15 years agospelling fix
Werner Koch [Thu, 30 Sep 2004 07:54:12 +0000 (07:54 +0000)]
spelling fix

15 years agoRemove what is now in the texi docs.
Marcus Brinkmann [Wed, 29 Sep 2004 23:06:58 +0000 (23:06 +0000)]
Remove what is now in the texi docs.

15 years ago2004-09-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 29 Sep 2004 23:06:02 +0000 (23:06 +0000)]
2004-09-30  Marcus Brinkmann  <marcus@g10code.de>

* tools.texi (Changing options): Add documentation for gpgconf.

15 years ago2004-09-30 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 29 Sep 2004 23:05:37 +0000 (23:05 +0000)]
2004-09-30  Marcus Brinkmann  <marcus@g10code.de>

* contrib.texi (Contributors): Add two missing periods.

15 years agoPrint warning when --default-key is used.
Werner Koch [Wed, 29 Sep 2004 17:15:42 +0000 (17:15 +0000)]
Print warning when --default-key is used.

15 years ago* gpgsm.texi (Configuration Options): Add --log-file.
Werner Koch [Wed, 29 Sep 2004 16:16:47 +0000 (16:16 +0000)]
* gpgsm.texi (Configuration Options): Add --log-file.

* gpgconf-comp.c: Made the entries fro GROUPs translatable.
Include i18n.h.
(my_dgettext): Hack to use the gnupg2 domain.

15 years agoAdded a few strings.
Werner Koch [Wed, 29 Sep 2004 16:16:02 +0000 (16:16 +0000)]
Added a few strings.

15 years agoFuzzy fixes
Werner Koch [Wed, 29 Sep 2004 14:28:15 +0000 (14:28 +0000)]
Fuzzy fixes

15 years ago* minip12.c (parse_bag_encrypted_data): Print error if a bad
Werner Koch [Wed, 29 Sep 2004 13:50:31 +0000 (13:50 +0000)]
* minip12.c (parse_bag_encrypted_data): Print error if a bad
passphrase has been given.

* gpg-agent.texi (Invoking GPG-AGENT): Add a few words about the
expected pinentry filename.

* import.c (parse_p12): Write an error status line for bad
passphrases. Add new arg CTRL and changed caller.
* export.c (export_p12): Likewise.

15 years agoChanged license of the manual stuff to GPL.
Werner Koch [Wed, 29 Sep 2004 11:04:30 +0000 (11:04 +0000)]
Changed license of the manual stuff to GPL.

* gnupg.texi (Top): New menu item Helper Tools.

* tools.texi (Helper Tools): New.
* Makefile.am (gnupg_TEXINFOS): Add tools.texi.

15 years ago(agent_unprotect): Fixed wiping of CLEARTEXT. Thanks
Werner Koch [Tue, 28 Sep 2004 14:12:10 +0000 (14:12 +0000)]
(agent_unprotect): Fixed wiping of CLEARTEXT.  Thanks
to Moritz for pointing this out.

15 years ago2004-09-25 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sun, 26 Sep 2004 21:48:13 +0000 (21:48 +0000)]
2004-09-25  Moritz Schulte  <moritz@g10code.com>

* agent.h: Declare: agent_pksign_do.
(struct server_control_s): New member: raw_value.

* pksign.c (do_encode_md): New argument: raw_value; support
generation of raw (non-pkcs1) data objects; adjust callers.
(agent_pksign_do): New function, based on code ripped
out from agent_pksign.
(agent_pksign): Use agent_pksign_do.

* command.c (start_command_handler): Set ctrl.digest.raw_value.

15 years ago(show_key_with_all_names): Print the card S/N.
Werner Koch [Mon, 20 Sep 2004 18:47:11 +0000 (18:47 +0000)]
(show_key_with_all_names): Print the card S/N.

* app-openpgp.c (app_select_openpgp): Its app_munge_serialno and
not app_number_serialno.

15 years agoSome more new files
Werner Koch [Sat, 11 Sep 2004 14:50:35 +0000 (14:50 +0000)]
Some more new files

15 years agoCollection of artwork collected over the years
Werner Koch [Sat, 11 Sep 2004 14:32:37 +0000 (14:32 +0000)]
Collection of artwork collected over the years

15 years ago2004-09-11 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 11 Sep 2004 13:34:41 +0000 (13:34 +0000)]
2004-09-11  Moritz Schulte  <moritz@g10code.com>

* openfile.c (copy_options_file): Fixed last commit (added a `+').

15 years agodoc --max-cache-ttl
Werner Koch [Thu, 9 Sep 2004 07:29:35 +0000 (07:29 +0000)]
doc --max-cache-ttl

15 years ago* app.c (select_application): Fixed serial number extraction and
Werner Koch [Thu, 9 Sep 2004 07:28:47 +0000 (07:28 +0000)]
* app.c (select_application): Fixed serial number extraction and
added the BMI card workaround.
(app_munge_serialno): New.
* app-openpgp.c (app_select_openpgp): Try munging serialno.

15 years ago(check_for_running_agent): New.
Werner Koch [Thu, 9 Sep 2004 07:27:57 +0000 (07:27 +0000)]
(check_for_running_agent): New.
(main): The default action is now to check for an already running
agent.
(parse_rereadable_options): Set logfile only on reread.
(main): Do not print the "is development version" note.

15 years agoBetter take the length of SKELEXT into account
Werner Koch [Tue, 31 Aug 2004 09:00:58 +0000 (09:00 +0000)]
Better take the length of SKELEXT into account

15 years ago* openfile.c (copy_options_file): Use gpg-conf.skel
Werner Koch [Tue, 31 Aug 2004 07:57:33 +0000 (07:57 +0000)]
* openfile.c (copy_options_file): Use gpg-conf.skel
* Makefile.am: Install options.skel as gpg-conf.skel.

15 years ago* kbxutil.c: New command --import-openpgp.
Werner Koch [Tue, 24 Aug 2004 19:55:47 +0000 (19:55 +0000)]
* kbxutil.c: New command --import-openpgp.
(main): Updated libgcrypt initialization stuff.
(my_gcry_logger): New.
(read_file): New.  Taken from ../agent/protect-tool.
(dump_fpr, dump_openpgp_key, import_openpgp): New.

* keybox-openpgp.c: New.

15 years agoFixed typo in ocsp OID.
Werner Koch [Tue, 24 Aug 2004 18:13:15 +0000 (18:13 +0000)]
Fixed typo in ocsp OID.

15 years ago* gpg-agent.c: New option --max-cache-ttl. Suggested by Alexander
Werner Koch [Fri, 20 Aug 2004 13:43:14 +0000 (13:43 +0000)]
* gpg-agent.c: New option --max-cache-ttl.  Suggested by Alexander
Belopolsky.
* cache.c (housekeeping): Use it here instead of the hardwired
default of 1 hour.

15 years ago(start_pinentry): Use a timeout for the pinentry lock.
Werner Koch [Fri, 20 Aug 2004 13:03:32 +0000 (13:03 +0000)]
(start_pinentry): Use a timeout for the pinentry lock.

15 years ago(get_passphrase): Make sure that the default
Werner Koch [Wed, 18 Aug 2004 16:21:13 +0000 (16:21 +0000)]
(get_passphrase): Make sure that the default
prompts passed to gpg-agent are utf-8 encoded. Add new prompt values.
(import_p12_file, import_p12_file, export_p12_file): Changed calls
to get_passphrase so that better prompts are displayed.
(get_new_passphrase): New.

15 years ago* certlist.c (gpgsm_cert_use_ocsp_p): New.
Werner Koch [Wed, 18 Aug 2004 14:38:47 +0000 (14:38 +0000)]
* certlist.c (gpgsm_cert_use_ocsp_p): New.
(cert_usage_p): Support it here.
* call-dirmngr.c (gpgsm_dirmngr_isvalid): Use it here.

15 years ago(simple_pwquery): Handle gpg-error style return
Werner Koch [Wed, 18 Aug 2004 14:37:22 +0000 (14:37 +0000)]
(simple_pwquery): Handle gpg-error style return
code for canceled.

15 years ago(print_sanitized_utf8_string): Actually implement
Werner Koch [Wed, 18 Aug 2004 13:21:56 +0000 (13:21 +0000)]
(print_sanitized_utf8_string): Actually implement
it.

15 years ago(get_passphrase): Make sure that the default
Werner Koch [Wed, 18 Aug 2004 12:47:33 +0000 (12:47 +0000)]
(get_passphrase): Make sure that the default
prompts passed to gpg-agent are utf-8 encoded.

15 years ago2004-08-18 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 18 Aug 2004 00:03:07 +0000 (00:03 +0000)]
2004-08-18  Marcus Brinkmann  <marcus@g10code.de>

* passphrase.c (agent_get_passphrase):

15 years ago2004-08-17 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 17 Aug 2004 20:06:24 +0000 (20:06 +0000)]
2004-08-17  Marcus Brinkmann  <marcus@g10code.de>

* import.c: Fix typo in last change.

15 years agotests/pkits: New directory
Werner Koch [Tue, 17 Aug 2004 15:32:56 +0000 (15:32 +0000)]
tests/pkits: New directory

15 years ago* import.c (check_and_store): Do a full validation if
Werner Koch [Tue, 17 Aug 2004 15:26:22 +0000 (15:26 +0000)]
* import.c (check_and_store): Do a full validation if
--with-validation is set.

* certchain.c (gpgsm_basic_cert_check): Print more detailed error
messages.

* certcheck.c (do_encode_md): Partly support DSA.  Add new arg
PKALGO. Changed all callers to pass it.
(pk_algo_from_sexp): New.

tests/pkits: New directory

15 years ago(cmd_encrypt): Use DEFAULT_RECPLIST and not recplist
Werner Koch [Mon, 16 Aug 2004 11:15:55 +0000 (11:15 +0000)]
(cmd_encrypt): Use DEFAULT_RECPLIST and not recplist
for encrypt-to keys.

15 years ago2004-08-09 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 9 Aug 2004 11:58:26 +0000 (11:58 +0000)]
2004-08-09  Moritz Schulte  <moritz@g10code.com>

* gpgsm-gencert.sh: New file.

15 years ago* gpgsm.c: New option --with-ephemeral-keys.
Werner Koch [Fri, 6 Aug 2004 16:14:10 +0000 (16:14 +0000)]
* gpgsm.c: New option --with-ephemeral-keys.
* keylist.c (list_internal_keys): Set it here.
(list_cert_raw): And indicate those keys.  Changed all our callers
to pass the new arg HD through.

15 years ago* configure.ac: Changed tests for libusb to also suuport the
Werner Koch [Thu, 5 Aug 2004 09:24:36 +0000 (09:24 +0000)]
* configure.ac: Changed tests for libusb to also suuport the
stable version 0.1.x.

* scdaemon.texi (Card applications): New section.

* scdaemon.c (main): New option --disable-application.
* app.c (is_app_allowed): New.
(select_application): Use it to check for disabled applications.

* ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New.
* ccid-driver.c (ccid_open_reader): Support the stable 0.1 version
of libusb.
(ccid_get_atr): Handle short messages.

* apdu.c (my_rapdu_get_status): Implemented.

15 years ago2004-07-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 27 Jul 2004 11:35:52 +0000 (11:35 +0000)]
2004-07-27  Moritz Schulte  <moritz@g10code.com>

* apdu.c: Include <signal.h>.

15 years ago2004-07-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 27 Jul 2004 11:28:47 +0000 (11:28 +0000)]
2004-07-27  Moritz Schulte  <moritz@g10code.com>

* Makefile.am: Use @DL_LIBS@ instead of -ldl.

15 years ago2004-07-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 27 Jul 2004 11:28:10 +0000 (11:28 +0000)]
2004-07-27  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Check for dlopen in libc and libdl, substitute
DL_LIBS accordingly.

15 years agopost-release version number bump
Werner Koch [Thu, 22 Jul 2004 11:40:17 +0000 (11:40 +0000)]
post-release version number bump

15 years ago* configure.ac: Define AM conditional HAVE_OPENSC. V1-9-10
Werner Koch [Thu, 22 Jul 2004 10:52:56 +0000 (10:52 +0000)]
* configure.ac: Define AM conditional HAVE_OPENSC.

* Makefile.am: Make OpenSC lib link after libgcrypt. Do not link
to pth.
* apdu.c: Don't use Pth if we use OpenSC.
* sc-investigate.c, scdaemon.c: Disable use of pth if OpenSC is used.

* scdaemon.c (main): Bumbed thread stack size up to 512k.

15 years ago* trustlist.c (read_list): Allow colons in the fingerprint.
Werner Koch [Thu, 22 Jul 2004 09:37:36 +0000 (09:37 +0000)]
* trustlist.c (read_list): Allow colons in the fingerprint.
(headerblurb): Rephrased.

* gpg-agent.c (handle_connections): Increase the stack size ot 256k.

* de.po: Updated.

* scdaemon.c (main): Bumbed thread stack size up to 512k.

* keylist.c (list_cert_raw): Print the keygrip.

15 years ago* Makefile.am (sm): Build kbx only if gpgsm is to be build.
Werner Koch [Tue, 20 Jul 2004 18:41:49 +0000 (18:41 +0000)]
* Makefile.am (sm): Build kbx only if gpgsm is to be build.

* maperror.c: Removed header ksba.h.  Not required anymore.

15 years agoNew option --enable-agent-only.
Werner Koch [Tue, 20 Jul 2004 11:22:10 +0000 (11:22 +0000)]
New option --enable-agent-only.

15 years ago* rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.
Werner Koch [Tue, 20 Jul 2004 11:21:53 +0000 (11:21 +0000)]
* rfc822parse.c (rfc822parse_get_field): Add arg VALUEOFF.

15 years ago(gpgsm_validate_chain): The trust check didn't
Werner Koch [Tue, 20 Jul 2004 07:06:36 +0000 (07:06 +0000)]
(gpgsm_validate_chain): The trust check didn't
worked anymore, probably due to the changes at 2003-03-04.  Fixed.

15 years ago(reader_table_s): Add function pointers for the backends.
Werner Koch [Fri, 16 Jul 2004 15:45:25 +0000 (15:45 +0000)]
(reader_table_s):  Add function pointers for the backends.
(apdu_close_reader, apdu_get_status, apdu_activate)
(send_apdu): Make use of them.
(new_reader_slot): Intialize them to NULL.
(dump_ccid_reader_status, ct_dump_reader_status): New.
(dump_pcsc_reader_status): New.
(open_ct_reader, open_pcsc_reader, open_ccid_reader)
(open_osc_reader, open_rapdu_reader): Intialize function pointers.
(ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu)
(error_string): Removed.  Replaced by apdu_strerror.
(get_ccid_error_string): Removed.
(ct_activate_card): Remove the unused loop.
(reset_ct_reader): Implemented.
(ct_send_apdu): Activate the card if not yet done.
(pcsc_send_apdu): Ditto.