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

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

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

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

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

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

15 years agoInitialize Pth which is now required.
Werner Koch [Thu, 1 Jul 2004 18:09:25 +0000 (18:09 +0000)]
Initialize Pth which is now required.
(interactive_shell): New command "readpk".

15 years ago* card-util.c (change_login): Kludge to allow reading data from a
Werner Koch [Thu, 1 Jul 2004 17:42:09 +0000 (17:42 +0000)]
* card-util.c (change_login): Kludge to allow reading data from a
file.
(card_edit): Pass ARG_STRING to change_login.
(card_status): Print CA fingerprints.
(change_cafpr): New.
(card_edit): New command CAFPR.

* call-agent.h: Add members for CA fingerprints.
* call-agent.c (agent_release_card_info): Invalid them.
(learn_status_cb): Store them.

15 years ago(do_getattr): Fix for sending CA-FPR.
Werner Koch [Thu, 1 Jul 2004 17:41:33 +0000 (17:41 +0000)]
(do_getattr): Fix for sending CA-FPR.

15 years agoAdded glossary
Werner Koch [Tue, 29 Jun 2004 07:16:40 +0000 (07:16 +0000)]
Added glossary

15 years agoAdded some doc stuff
Werner Koch [Mon, 28 Jun 2004 07:42:33 +0000 (07:42 +0000)]
Added some doc stuff

15 years ago(log_set_file): Do not close an old logstream if it
Werner Koch [Mon, 21 Jun 2004 09:50:22 +0000 (09:50 +0000)]
(log_set_file): Do not close an old logstream if it
used to be stderr or stdout.

15 years ago* sc-investigate.c (my_read_line): Renamed from read_line.
Werner Koch [Mon, 21 Jun 2004 06:53:30 +0000 (06:53 +0000)]
* sc-investigate.c (my_read_line): Renamed from read_line.

15 years ago2004-06-20 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sun, 20 Jun 2004 11:35:13 +0000 (11:35 +0000)]
2004-06-20  Moritz Schulte  <moritz@g10code.com>

* gpg-agent.c: Include <sys/stat.h> (build fix for BSD).

15 years ago* debugging.texi: New.
Werner Koch [Fri, 18 Jun 2004 12:29:30 +0000 (12:29 +0000)]
* debugging.texi: New.
* gnupg.texi: Include it.

15 years ago* debugging.texi: New.
Werner Koch [Fri, 18 Jun 2004 11:18:27 +0000 (11:18 +0000)]
* debugging.texi: New.
* gnupg.texi: Include it.

15 years ago* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
Werner Koch [Fri, 18 Jun 2004 09:53:56 +0000 (09:53 +0000)]
* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.
(update_stats): New.
* kbxutil.c (main): New command --stats.

15 years ago(osc_get_status): Fixed type in function name. Noted by
Werner Koch [Wed, 16 Jun 2004 12:38:01 +0000 (12:38 +0000)]
(osc_get_status): Fixed type in function name. Noted by
Axel Thimm.  Yes, I didn't tested it with OpenSC :-(.

15 years ago* xreadline.c: New. Based on the iobuf_read_line function.
Werner Koch [Mon, 14 Jun 2004 08:32:07 +0000 (08:32 +0000)]
* xreadline.c: New.  Based on the iobuf_read_line function.

* no-libgcrypt.c (gcry_realloc, gcry_xmalloc, gcry_xcalloc): New.

* gpgconf-comp.c (retrieve_options_from_program)
(retrieve_options_from_file, change_options_file)
(change_options_program, gc_component_change_options): Replaced
getline by read_line and test for allocation failure.

15 years agopost release version bump
Werner Koch [Tue, 8 Jun 2004 19:25:06 +0000 (19:25 +0000)]
post release version bump

15 years agoabout to release 1.9.9 V1-9-9
Werner Koch [Tue, 8 Jun 2004 19:10:32 +0000 (19:10 +0000)]
about to release 1.9.9

15 years ago* configure.ac: Require libksba 0.9.7.
Werner Koch [Sun, 6 Jun 2004 13:00:59 +0000 (13:00 +0000)]
* configure.ac: Require libksba 0.9.7.

* certreqgen.c (get_parameter_uint, create_request): Create
an extension for key usage when requested.

* gpgsm.c (main): Install emergency_cleanup also as an atexit
handler.

* verify.c (gpgsm_verify): Removed the separate error code
handling for KSBA.  We use shared error codes anyway.

* export.c (export_p12): Removed debugging code.

* encrypt.c (gpgsm_encrypt): Put the session key in to secure memory.

15 years ago* util.h (xtrycalloc_secure,xtrymalloc_secure): New.
Werner Koch [Sun, 6 Jun 2004 12:59:02 +0000 (12:59 +0000)]
* util.h (xtrycalloc_secure,xtrymalloc_secure): New.

15 years ago2004-05-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 May 2004 13:55:43 +0000 (13:55 +0000)]
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_options_dirmngr): Remove CRL group, put its
only option "max-replies" into LDAP group.
(gc_component): Change description of dirmngr to "Directory
Manager".

15 years ago2004-05-21 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 21 May 2004 13:46:13 +0000 (13:46 +0000)]
2004-05-21  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_component_change_options): Move the
per-process backup file into a standard location.

15 years ago* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.
Werner Koch [Tue, 11 May 2004 19:11:53 +0000 (19:11 +0000)]
* gpg-agent.c (handle_signal): Reload the trustlist on SIGHUP.
(start_connection_thread): Hack to simulate a ticker.
* trustlist.c (agent_trustlist_housekeeping)
(agent_reload_trustlist): New.  Protected all global functions
here with a simple counter which is sufficient for Pth.

* fingerprint.c (gpgsm_get_key_algo_info): New.
* sign.c (gpgsm_sign): Don't assume RSA in the status line.
* keylist.c (list_cert_colon): Really print the algorithm and key
length.
(list_cert_raw, list_cert_std): Ditto.
(list_cert_colon): Reorganized to be able to tell whether a root
certificate is trusted.

15 years ago* sign.c (gpgsm_sign): Include the error source in the final error
Werner Koch [Tue, 11 May 2004 15:36:48 +0000 (15:36 +0000)]
* sign.c (gpgsm_sign): Include the error source in the final error
message.
* decrypt.c (gpgsm_decrypt): Ditto.

* fingerprint.c (gpgsm_get_key_algo_info): New.
* sign.c (gpgsm_sign): Don't assume RSA in the status line.
* keylist.c (list_cert_colon): Really print the algorithm and key
length.
(list_cert_raw, list_cert_std): Ditto.

* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.

15 years ago* sysutils.c (disable_core_dumps): Only set the current limit.
Werner Koch [Tue, 11 May 2004 09:54:52 +0000 (09:54 +0000)]
* sysutils.c (disable_core_dumps): Only set the current limit.
(enable_core_dumps): New.

* gpgsm.texi (Esoteric Options): Add --debug-allow-core-dump.

* gpgsm.c: New option --debug-allow-core-dump.

* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.

* server.c (gpgsm_server): Print some additional information with
the hello in verbose mode.

15 years agoAlso print agent and dirmngr info.
Werner Koch [Tue, 11 May 2004 09:24:09 +0000 (09:24 +0000)]
Also print agent and dirmngr info.

15 years ago* gpgsm.h (opt): Add member CONFIG_FILENAME.
Werner Koch [Tue, 11 May 2004 09:15:56 +0000 (09:15 +0000)]
* gpgsm.h (opt): Add member CONFIG_FILENAME.
* gpgsm.c (main): Use it here instead of the local var.
* server.c (gpgsm_server): Print some additional information with
the hello in verbose mode.

15 years ago(log_set_file): Oops, don't close if LOGSTREAM is NULL.
Werner Koch [Wed, 5 May 2004 19:33:56 +0000 (19:33 +0000)]
(log_set_file): Oops, don't close if LOGSTREAM is NULL.

15 years ago* gpg-agent.c: Remove help texts for options lile --lc-ctype.
Werner Koch [Mon, 3 May 2004 13:37:38 +0000 (13:37 +0000)]
* gpg-agent.c: Remove help texts for options lile --lc-ctype.
(main): New option --allow-mark-trusted.
* trustlist.c (agent_marktrusted): Use it here.

* gpg-agent.texi (Agent Options): Add --allow-mark-trusted.

* gpgconf-comp.c: Add --allow-mark-trusted for the gpg-agent.

15 years ago(main) <gpgconf>: Use gpg.conf and not /dev/null as
Werner Koch [Fri, 30 Apr 2004 16:36:36 +0000 (16:36 +0000)]
(main) <gpgconf>: Use gpg.conf and not /dev/null as
default filename.

15 years ago* protect-tool.c: New option --enable-status-msg.
Werner Koch [Fri, 30 Apr 2004 15:24:33 +0000 (15:24 +0000)]
* protect-tool.c: New option --enable-status-msg.
(store_private_key): Print status messages for imported keys.
(read_and_unprotect): Ditto for bad passphrase.

* import.c (check_and_store): Do not update the stats for hidden
imports of issuer certs.
(popen_protect_tool): Request statusmessages from the protect-tool.
(parse_p12): Detect status messages. Add new arg STATS and update them.
(print_imported_summary): Include secret key stats.

15 years agoAllow changing --log-file
Werner Koch [Fri, 30 Apr 2004 03:58:43 +0000 (03:58 +0000)]
Allow changing --log-file

15 years ago* gpg-agent.c (parse_rereadable_options): New arg REREAD. Allow
Werner Koch [Fri, 30 Apr 2004 03:58:21 +0000 (03:58 +0000)]
* gpg-agent.c (parse_rereadable_options): New arg REREAD.  Allow
changing oLogFile.
(current_logfile): New.

* logging.c (log_set_file): Make sure the log stream will be
closed even if the stderr fileno will be assigned to a new socket.

15 years ago(check_and_store): Do not update the stats for hidden
Werner Koch [Fri, 30 Apr 2004 03:27:10 +0000 (03:27 +0000)]
(check_and_store): Do not update the stats for hidden
imports of issuer certs.

15 years agoAdded more runtime flags for the gpg-agent
Werner Koch [Fri, 30 Apr 2004 03:03:34 +0000 (03:03 +0000)]
Added more runtime flags for the gpg-agent
backend.

15 years ago2004-04-29 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 29 Apr 2004 19:00:37 +0000 (19:00 +0000)]
2004-04-29  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (change_options_program): Turn on utf8-strings in
the gpgconf specific part of the config file for the GnuPG
backend.

15 years agopost release version bump
Werner Koch [Thu, 29 Apr 2004 18:16:44 +0000 (18:16 +0000)]
post release version bump

15 years agoautoupdated V1-9-8
Werner Koch [Thu, 29 Apr 2004 17:38:20 +0000 (17:38 +0000)]
autoupdated

15 years agoAdded
Werner Koch [Thu, 29 Apr 2004 17:35:47 +0000 (17:35 +0000)]
Added

15 years agoAbout to release 1.9.8
Werner Koch [Thu, 29 Apr 2004 17:32:02 +0000 (17:32 +0000)]
About to release 1.9.8

15 years agotypo fix
Werner Koch [Thu, 29 Apr 2004 17:26:14 +0000 (17:26 +0000)]
typo fix

15 years ago* app-openpgp.c (do_setattr): Sync FORCE_CHV1.
Werner Koch [Thu, 29 Apr 2004 17:25:57 +0000 (17:25 +0000)]
* app-openpgp.c (do_setattr): Sync FORCE_CHV1.

15 years ago* card-util.c (card_edit): Remove PIN verification.
Werner Koch [Thu, 29 Apr 2004 17:25:38 +0000 (17:25 +0000)]
* card-util.c (card_edit): Remove PIN verification.
(generate_card_keys): New arg SERIALNO.  Do PIN verification here
after resetting forced_chv1.

15 years agoAdd --ocsp-signer for the dirmngr backend.
Werner Koch [Wed, 28 Apr 2004 09:04:03 +0000 (09:04 +0000)]
Add --ocsp-signer for the dirmngr backend.

15 years ago* app-common.h: Do not include ksba.h for gnupg 1.
Werner Koch [Wed, 28 Apr 2004 09:00:05 +0000 (09:00 +0000)]
* app-common.h: Do not include ksba.h for gnupg 1.

15 years ago* gpgsm.c: New command --keydb-clear-some-cert-flags.
Werner Koch [Wed, 28 Apr 2004 08:59:34 +0000 (08:59 +0000)]
* gpgsm.c: New command --keydb-clear-some-cert-flags.
* keydb.c (keydb_clear_some_cert_flags): New.
(keydb_update_keyblock, keydb_set_flags): Change error code
CONFLICT to NOT_LOCKED.

15 years ago* app-common.h: New members FNC.DEINIT and APP_LOCAL.
Werner Koch [Mon, 26 Apr 2004 18:28:06 +0000 (18:28 +0000)]
* app-common.h: New members FNC.DEINIT and APP_LOCAL.
* app.c (release_application): Call new deconstructor.
* app-openpgp.c (do_deinit): New.
(get_cached_data, flush_cache_item, flush_cache_after_error)
(flush_cache): New.
(get_one_do): Replaced arg SLOT by APP.  Make used of cached data.
(verify_chv2, verify_chv3): Flush some cache item after error.
(do_change_pin): Ditto.
(do_sign): Ditto.
(do_setattr): Flush cache item.
(do_genkey): Flush the entire cache.
(compare_fingerprint): Use cached data.

15 years ago(change_name): Check that the NAME is not too long.
Werner Koch [Mon, 26 Apr 2004 18:26:54 +0000 (18:26 +0000)]
(change_name): Check that the NAME is not too long.
(change_url): Likewise.
(change_login): Likewise.

15 years ago(start_scd): Do not register an event signal if we
Werner Koch [Mon, 26 Apr 2004 18:26:41 +0000 (18:26 +0000)]
(start_scd): Do not register an event signal if we
are running as a pipe server.

15 years ago* scdaemon.c (main): Do the last change the usual way. This is so
Werner Koch [Mon, 26 Apr 2004 13:46:36 +0000 (13:46 +0000)]
* scdaemon.c (main): Do the last change the usual way. This is so
that we can easily test for versioned config files above.

* gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config
filename.

15 years ago* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)
Werner Koch [Mon, 26 Apr 2004 13:29:09 +0000 (13:29 +0000)]
* call-agent.c (gpgsm_agent_pksign, gpgsm_agent_pkdecrypt)
(gpgsm_agent_genkey, gpgsm_agent_istrusted)
(gpgsm_agent_marktrusted, gpgsm_agent_havekey)
(gpgsm_agent_passwd): Add new arg CTRL and changed all callers.
(start_agent): New arg CTRL.  Send progress item when starting a
new agent.
* sign.c (gpgsm_get_default_cert, get_default_signer): New arg
CTRL to be passed down to the agent function.
* decrypt.c (prepare_decryption): Ditto.
* certreqgen.c (proc_parameters, read_parameters): Ditto.
* certcheck.c (gpgsm_create_cms_signature): Ditto.

15 years ago2004-04-26 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 26 Apr 2004 13:07:08 +0000 (13:07 +0000)]
2004-04-26  Marcus Brinkmann  <marcus@g10code.de>

* scdaemon.c (main): For now, always print default filename for
--gpgconf-list, and never /dev/null.

15 years agoThe keybox gets now compressed after 3 hours and ephemeral
Werner Koch [Mon, 26 Apr 2004 08:09:25 +0000 (08:09 +0000)]
The keybox gets now compressed after 3 hours and ephemeral
stored certificates are deleted after about a day.

15 years ago(oidtranstbl): New. OIDs collected from several sources.
Werner Koch [Fri, 23 Apr 2004 10:34:25 +0000 (10:34 +0000)]
(oidtranstbl): New.  OIDs collected from several sources.
(print_name_raw, print_names_raw, list_cert_raw): New.
(gpgsm_list_keys): Check the dump mode and pass it down as
necessary.

15 years ago(main): New commands --dump-keys, --dump-external-keys,
Werner Koch [Thu, 22 Apr 2004 13:03:44 +0000 (13:03 +0000)]
(main): New commands --dump-keys, --dump-external-keys,
--dump-secret-keys.

15 years ago* command.c (scd_update_reader_status_file): Send a signal back to
Werner Koch [Wed, 21 Apr 2004 14:44:09 +0000 (14:44 +0000)]
* command.c (scd_update_reader_status_file): Send a signal back to
the client.
(option_handler): Parse the new event-signal option.

* scdaemon.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.

15 years ago* call-scd.c (start_scd): Send event-signal option. Always check
Werner Koch [Wed, 21 Apr 2004 14:43:51 +0000 (14:43 +0000)]
* call-scd.c (start_scd): Send event-signal option. Always check
that the scdaemon is still running.

* gpg-agent.c (handle_signal): Do not use SIGUSR{1,2} anymore for
changing the verbosity.

15 years ago* command.c (scd_update_reader_status_file): Write status files.
Werner Koch [Tue, 20 Apr 2004 16:42:55 +0000 (16:42 +0000)]
* command.c (scd_update_reader_status_file): Write status files.

* app-help.c (app_help_read_length_of_cert): Fixed calculation of
R_CERTOFF.

* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.
(apdu_send_le): Reinitialize RESULTLEN.  Handle SW_EOF_REACHED
like SW_SUCCESS.

15 years ago2004-04-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 20 Apr 2004 16:02:30 +0000 (16:02 +0000)]
2004-04-20  Marcus Brinkmann  <marcus@g10code.de>

* gpgconf-comp.c (gc_options_gpg_agent): Change type of
ignore-cache-for-signing option to GC_ARG_TYPE_NONE.

15 years ago* pcsc-wrapper.c: New.
Werner Koch [Tue, 20 Apr 2004 14:17:10 +0000 (14:17 +0000)]
* pcsc-wrapper.c: New.
* Makefile.am (pkglib_PROGRAMS): Install it here.
* apdu.c (writen, readn): New.
(open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the
pcsc-wrapper if we are using Pth.