aboutsummaryrefslogtreecommitdiffstats
path: root/sm (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-03-06still preparing for a releaseV1-9-6Werner Koch1-2/+2
2004-03-06Preparing for a releaseWerner Koch6-167/+152
2004-03-03(gpgsm_export): Make sure that we don't export moreWerner Koch2-3/+16
than one certificate.
2004-03-02(create_duptable, destroy_duptable)Werner Koch2-35/+149
(insert_duptable): New. (gpgsm_export): Avoid duplicates.
2004-02-26(compare_certs): New.Werner Koch2-4/+46
(gpgsm_validate_chain): Fixed infinite certificate checks after bad signatures.
2004-02-24(list_cert_colon): Print the fingerprint as theWerner Koch2-2/+13
cert-id for root certificates.
2004-02-21* keylist.c (list_internal_keys): Return error codes.Werner Koch6-16/+56
(list_external_keys, gpgsm_list_keys): Ditto. * server.c (do_listkeys): Ditto. * gpgsm.c (main): Display a key description for --passwd. * call-agent.c (gpgsm_agent_passwd): New arg DESC.
2004-02-20* gpgsm.c (main): New option --debug-ignore-expiration.Werner Koch6-16/+149
* certchain.c (gpgsm_validate_chain): Use it here. * certlist.c (cert_usage_p): Apply extKeyUsage.
2004-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch5-2/+388
(export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
2004-02-18* gpgsm.c (set_debug): Set the new --debug-level flags.Werner Koch4-50/+143
(main): New option --gpgconf-list. (main): Do not setup -u and -r keys when not required. (main): Setup the used character set. * keydb.c (keydb_add_resource): Print a hint to start the gpg-agent.
2004-02-17* gpgsm.c: Fixed value parsing for --with-validation.Werner Koch4-4/+9
* call-agent.c (start_agent): Ignore an empty GPG_AGENT_INFO. * call-dirmngr.c (start_dirmngr): Likewise for DIRMNGR_INFO.
2004-02-17* gpgsm.c: New option --with-md5-fingerprint.Werner Koch11-153/+315
* keylist.c (list_cert_std): Print MD5 fpr. * gpgsm.c: New options --with-validation. * server.c (option_handler): New option "with-validation". * keylist.c (list_cert_std, list_internal_keys): New args CTRL and WITH_VALIDATION. Changed callers to set it. (list_external_cb, list_external_keys): Pass CTRL to the callback. (list_cert_colon): Add arg CTRL. Check validation if requested. * certchain.c (unknown_criticals, allowed_ca, check_cert_policy) (gpgsm_validate_chain): New args LISTMODE and FP. (do_list): New helper for info output. (find_up): New arg FIND_NEXT. (gpgsm_validate_chain): After a bad signature try again with other CA certificates. * import.c (print_imported_status): New arg NEW_CERT. Print additional STATUS_IMPORT_OK becuase that is what gpgme expects. (check_and_store): Always call above function after import. * server.c (get_status_string): Added STATUS_IMPORT_OK.
2004-02-13* certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch7-13/+236
for use by the pinentry. * decrypt.c (gpgsm_decrypt): Ditto. Free HEXKEYGRIP. * certdump.c (format_name_cookie, format_name_writer) (gpgsm_format_name): New. (gpgsm_format_serial): New. (gpgsm_format_keydesc): New. * call-agent.c (gpgsm_agent_pksign): New arg DESC. (gpgsm_agent_pkdecrypt): Ditto.
2004-02-13* encrypt.c (init_dek): Check for too weak algorithms.Werner Koch8-68/+457
* import.c (parse_p12, popen_protect_tool): New. * base64.c (gpgsm_create_reader): New arg ALLOW_MULTI_PEM. Changed all callers. (base64_reader_cb): Handle it here. (gpgsm_reader_eof_seen): New. (base64_reader_cb): Set a flag for EOF. (simple_reader_cb): Ditto.
2004-02-12* Makefile.am (AM_CPPFLAGS): Pass directory constants via -D; thisWerner Koch3-6/+12
will allow to override directory names at make time.
2004-02-04Fixed a build bug (straw letter in sm/import.c) and updated the documentation.Werner Koch1-1/+1
2004-02-03* import.c (check_and_store): Import certificates even withWerner Koch2-4/+17
missing issuer's cert. Fixed an "depending on the verbose setting" bug.
2004-02-02* keybox.h (keybox_flag_t): New.Werner Koch6-23/+209
* keybox-search.c (get_flag_from_image, keybox_get_flags): New. (_keybox_get_flag_location): New. * certchain.c (gpgsm_validate_chain): Mark revoked certs in the keybox. * keylist.c (list_cert_colon): New arg VALIDITY; use it to print a revoked flag. (list_internal_keys): Retrieve validity flag. (list_external_cb): Pass 0 as validity flag. * keydb.c (keydb_get_flags, keydb_set_flags): New. (keydb_set_cert_flags): New. (lock_all): Return a proper error code. (keydb_lock): New. (keydb_delete): Don't lock but check that it has been locked. (keydb_update_keyblock): Ditto. * delete.c (delete_one): Take a lock.
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.