aboutsummaryrefslogtreecommitdiffstats
path: root/sm (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-01-30(check_cert_policy): Fixed read error checking.V1-9-4Werner Koch2-6/+16
(check_cert_policy): With no critical policies issue only a warning if the policy file does not exists.
2004-01-30* configure.ac: Require libksba 0.9.3 due to another bug fix there.Werner Koch2-0/+12
* sign.c (add_certificate_list): Decrement N for the first cert. * Makefile.am (sbin_SCRIPTS): New, to install addgnupghome. (EXTRA_DIST): Added rfc822parse.c rfc822parse.h gpgparsemail.c which might be useful for debugging.
2004-01-29(parse_dn_part): Map common OIDs to human readableWerner Koch2-9/+48
labels. Make sure that a value won't get truncated if it includes a Nul.
2004-01-28(gpgsm_validate_chain): Changed the message printedWerner Koch2-2/+7
for an untrusted root certificate.
2004-01-27(parse_dn_part): Pretty print the nameDistinguisher OID.Werner Koch2-22/+41
(print_dn_part): Do not delimit multiple RDNs by " + ". Handle multi-valued RDNs in a special way, i.e. in the order specified by the certificate. (print_dn_parts): Simplified.
2004-01-16* sign.c (gpgsm_sign): Print an error message on all failures.Werner Koch3-1/+11
* decrypt.c (gpgsm_decrypt): Ditto.
2003-12-17* server.c (gpgsm_server): Add arg DEFAULT_RECPLIST.Werner Koch6-85/+196
(cmd_encrypt): Add all enrypt-to marked certs to the list. * encrypt.c (gpgsm_encrypt): Check that real recipients are available. * gpgsm.c (main): Make the --encrypt-to and --no-encrypt-to options work. Pass the list of recients to gpgsm_server. * gpgsm.h (certlist_s): Add field IS_ENCRYPT_TO. (opt): Add NO_ENCRYPT_TO. * certlist.c (gpgsm_add_to_certlist): New arg IS_ENCRYPT_TO. Changed all callers and ignore duplicate entries. (is_cert_in_certlist): New. (gpgsm_add_cert_to_certlist): New.
2003-12-17Replaced deprecated type names.Werner Koch22-203/+203
* certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
2003-12-16* gpgsm.c (main): Set the prefixes for assuan logging.Werner Koch4-6/+30
* 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.
2003-12-16* encrypt.c (init_dek): Use gry_create_nonce for the IV; there isWerner Koch5-6/+12
not need for real strong random here and it even better protect the random bits used for the key.
2003-12-01* gpgsm.c, gpgsm.h: New options --{enable,disable}-ocsp.Werner Koch6-12/+59
(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.
2003-11-18* verify.c (gpgsm_verify): Fixed for changes API of gcry_md_info.Werner Koch3-2/+13
* certchain.c (unknown_criticals): Fixed an error code test.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch17-154/+146
2003-10-31The Changelog was not yet ready, so again:Werner Koch1-9/+5
* 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.
2003-10-31* verify.c (strtimestamp_r, gpgsm_verify):Werner Koch8-84/+79
* 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.
2003-10-25(read_parameters): Fixed faulty of !spacep().Werner Koch2-1/+5
2003-08-202003-08-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-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.
2003-08-142003-08-14 Timo Schulz <[email protected]>Timo Schulz2-78/+23
* encrypt.c (encode_session_key): Use new Libgcrypt interface.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin22-0/+12742
'GNUPG-1-9-BRANCH'.
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+624
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin23-13044/+0
'GNUPG-1-9-BRANCH'.
2002-09-19* certcheck.c (gpgsm_check_cert_sig): Add cert hash debugging.NEWPG-0-9-2Werner Koch3-3/+35
* certchain.c (find_up): Print info when the cert was not found by the autorithyKeyIdentifier.
2002-09-03* gpgsm.c (main): Disable the internal libgcrypt locking.Werner Koch2-1/+9
2002-08-21* import.c (print_imported_summary): Cleaned up. Print newWerner Koch3-20/+72
not_imported value. (check_and_store): Update non_imported counter. (print_import_problem): New. (check_and_store): Print error status message. * server.c (get_status_string): Added STATUS_IMPORT_PROBLEM.
2002-08-20* gpgsm.c (main): Use the log file only in server mode.Werner Koch6-31/+155
* import.c (print_imported_summary): New. (check_and_store): Update the counters, take new argument. (import_one): Factored out core of gpgsm_import. (gpgsm_import): Print counters. (gpgsm_import_files): New. * gpgsm.c (main): Use the new function for import.
2002-08-16Made it compile.Werner Koch3-6/+6
2002-08-16*** empty log message ***Werner Koch1-773/+0
2002-08-16* certpath.c: Renamed to ..Werner Koch4-5/+7
* certchain.c: this. Renamed all all other usages of "path" in the context of certificates to "chain".
2002-08-16* call-agent.c (learn_cb): Special treatment when the issuerWerner Koch12-58/+69
certificate is missing.
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch3-1/+6
2002-08-10* keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch6-15/+53
key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
2002-08-09* decrypt.c (prepare_decryption): Hack to detected alreadyWerner Koch2-25/+36
unpkcsedone keys.
2002-08-09* gpgsm.c (emergency_cleanup): New.Werner Koch8-225/+321
(main): Initialize the signal handler. * sign.c (gpgsm_sign): Reset the hash context for subsequent signers and release it at the end.
2002-07-22* keydb.c (keydb_add_resource): Register a lock file.Werner Koch2-9/+30
(lock_all, unlock_all): Implemented.
2002-07-22* delete.c: New.Werner Koch8-9/+233
* gpgsm.c: Made --delete-key work. * server.c (cmd_delkeys): New. (register_commands): New command DELKEYS. * decrypt.c (gpgsm_decrypt): Print a convenience note when RC2 is used and a STATUS_ERROR with the algorithm oid.
2002-07-03* server.c (gpgsm_status2): Insert a blank between all optionalWerner Koch4-18/+31
arguments when using assuan. * server.c (cmd_recipient): No more need for extra blank in constants. * import.c (print_imported_status): Ditto. * gpgsm.c (main): Ditto.
2002-07-02* verify.c (gpgsm_verify): Extend the STATUS_BADSIG line withWerner Koch2-2/+13
the fingerprint.
2002-07-02* certpath.c (check_cert_policy): Don't use log_error to print aWerner Koch3-4/+17
warning.
2002-07-02* keydb.c (keydb_store_cert): Add optional ar EXISTED and changedWerner Koch9-44/+96
all callers. * call-agent.c (learn_cb): Print info message only for real imports. * import.c (gpgsm_import): Moved duplicated code to ... (check_and_store): new function. Added magic to import the entire chain. Print status only for real imports and moved printing code to .. (print_imported_status): New.
2002-07-02* call-dirmngr.c (gpgsm_dirmngr_isvalid): print status of dirmngrWerner Koch3-1/+25
call in very verbose mode. * gpgsm.c (main): Use the same error codes for STATUS_INV_RECP as with the server mode.
2002-06-29* gpgsm.c: New option --auto-issuer-key-retrieve.Werner Koch8-23/+214
* certpath.c (find_up): Try to retrieve an issuer key from an external source and from the ephemeral key DB. (find_up_store_certs_cb): New. * keydb.c (keydb_set_ephemeral): Does now return the old state. Call the backend only when required. * call-dirmngr.c (start_dirmngr): Use GNUPG_DEFAULT_DIRMNGR. (lookup_status_cb): Issue status only when CTRL is not NULL. (gpgsm_dirmngr_lookup): Document that CTRL is optional. * call-agent.c (start_agent): Use GNUPG_DEFAULT_AGENT.
2002-06-28* server.c (cmd_recipient): Add more reason codes.Werner Koch4-3/+17
2002-06-27* gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.Werner Koch4-5/+29
* call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
2002-06-26* import.c (gpgsm_import): Print an STATUS_IMPORTED.Werner Koch3-2/+15
* gpgsm.c: --debug-no-path-validation does not take an argument.
2002-06-25* certdump.c (print_dn_part): Always print a leading slash,Werner Koch5-49/+53
removed NEED_DELIM arg and changed caller. * export.c (gpgsm_export): Print LFs to FP and not stdout. (print_short_info): Ditto. Make use of gpgsm_print_name. * server.c (cmd_export): Use output-fd instead of data lines; this was actually the specified way.
2002-06-24* gpgsm.c, gpgsm.h: New option --debug-no-path-validation.Werner Koch5-5/+18
* certpath.c (gpgsm_validate_path): Use it here instead of the debug flag hack. * certpath.c (check_cert_policy): Return No_Policy_Match if the policy file could not be opened.
2002-06-20* certlist.c (gpgsm_add_to_certlist): Fixed locating of aWerner Koch12-36/+176
certificate with the required key usage. * gpgsm.c (main): Fixed a segv when using --outfile without an argument. * keylist.c (print_capabilities): Also check for non-repudiation and data encipherment. * certlist.c (cert_usage_p): Test for signing and encryption was swapped. Add a case for certification usage, handle non-repudiation and data encipherment. (gpgsm_cert_use_cert_p): New. (gpgsm_add_to_certlist): Added a CTRL argument and changed all callers to pass it. * certpath.c (gpgsm_validate_path): Use it here to print a status message. Added a CTRL argument and changed all callers to pass it. * decrypt.c (gpgsm_decrypt): Print a status message for wrong key usage. * verify.c (gpgsm_verify): Ditto. * keydb.c (classify_user_id): Allow a colon delimited fingerprint.
2002-06-19* call-agent.c (learn_cb): Use log_info instead of log_error onWerner Koch9-8/+78
successful import. * keydb.c (keydb_set_ephemeral): New. (keydb_store_cert): New are ephemeral, changed all callers. * keylist.c (list_external_cb): Store cert as ephemeral. * export.c (gpgsm_export): Kludge to export epehmeral certificates. * gpgsm.c (main): New command --list-external-keys.
2002-06-17* certreqgen.c (read_parameters): Improved error handling.Werner Koch2-11/+37
(gpgsm_genkey): Print error message.
2002-06-13* gpgsm.c (main): New option --log-file.Werner Koch2-0/+15