aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certdump.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch2006-11-211-1/+8
| | | | | | | good chance that gpg2 will now work. Other cleanups. Updated gettext.
* sm/Werner Koch2006-11-141-0/+54
| | | | | | | | | | | | | | * server.c (skip_options): Skip leading spaces. (has_option): Honor "--". (cmd_export): Add option --data to do an inline export. Skip all options. * certdump.c (gpgsm_fpr_and_name_for_status): New. * verify.c (gpgsm_verify): Use it to print correct status messages. doc/ * gpgsm.texi (GPGSM EXPORT): Document changes.
* Various smaller changesWerner Koch2006-06-271-0/+30
|
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* Added qualified signature features.Werner Koch2005-11-131-3/+50
|
* * keylist.c (email_kludge): Reworked.Werner Koch2005-07-201-2/+2
| | | | | | | * certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-13/+15
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* * configure.ac: Require libksba 0.9.11.Werner Koch2005-04-181-0/+1
| | | | | | | | | | | | sm/ * call-dirmngr.c (inq_certificate): Add new inquire SENDCERT_SKI. * certlist.c (gpgsm_find_cert): Add new arg KEYID and implement this filter. Changed all callers. * certchain.c (find_up_search_by_keyid): New helper. (find_up): Also try using the AKI.keyIdentifier. (find_up_external): Ditto.
* * gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2004-09-301-12/+34
| | | | | | | | | | | | | | | | | | | * 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.
* spelling fixWerner Koch2004-09-301-1/+4
|
* (main): New commands --dump-keys, --dump-external-keys,Werner Koch2004-04-221-0/+1
| | | | | --dump-secret-keys.
* * configure.ac: Require libgcrypt 1.1.94.Werner Koch2004-04-061-3/+3
| | | | | | | | | | Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
* Preparing for a releaseWerner Koch2004-03-061-2/+35
|
* * gpgsm.c (set_debug): Set the new --debug-level flags.Werner Koch2004-02-181-1/+1
| | | | | | | | | | (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.
* * certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch2004-02-131-1/+182
| | | | | | | | | | | | 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.
* (parse_dn_part): Map common OIDs to human readableWerner Koch2004-01-291-9/+42
| | | | | | labels. Make sure that a value won't get truncated if it includes a Nul.
* (parse_dn_part): Pretty print the nameDistinguisher OID.Werner Koch2004-01-271-22/+33
| | | | | | | | (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.
* Replaced deprecated type names.Werner Koch2003-12-171-8/+8
| | | | | | | | * certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
* * verify.c (strtimestamp_r, gpgsm_verify):Werner Koch2003-10-311-30/+10
| | | | | | | | | | | * 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.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+457
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-457/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch2002-08-101-2/+2
| | | | | | | | key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
* * certdump.c (print_dn_part): Always print a leading slash,Werner Koch2002-06-251-18/+6
| | | | | | | | | | | 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.
* * gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch2002-06-041-0/+306
| | | | | | | * keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
* * certpath.c (gpgsm_validate_path): Print the DN of a missing issuer.Werner Koch2002-01-231-11/+32
| | | | | | * certdump.c (gpgsm_dump_string): New. (print_dn): Replaced by above.
* * base64.c (base64_reader_cb): Try to detect an S/MIME body part.Werner Koch2001-12-201-8/+15
| | | | | | | | | | | | | | * certdump.c (print_sexp): Renamed to gpgsm_dump_serial, made global. (print_time): Renamed to gpgsm_dump_time, made global. (gpgsm_dump_serial): Take a real S-Expression as argument and print the first item. * keylist.c (list_cert_colon): Ditto. * keydb.c (keydb_search_issuer_sn): Ditto. * decrypt.c (print_integer_sexp): Removed and made callers use gpgsm_dump_serial. * verify.c (print_time): Removed, made callers use gpgsm_dump_time.
* Changes to be used with the new libksba interface.Werner Koch2001-12-181-8/+18
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch2001-12-131-2/+2
| | | | | and a few other values.
* Map Libksba's OIDs to Libgcrypt digest algo numbers.Werner Koch2001-11-201-1/+1
| | | | | The latest Libgcrypt CVS version is needed.
* Base code for gpgsm --verify does workWerner Koch2001-11-161-49/+43
|
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-0/+131
check the certification path.