aboutsummaryrefslogtreecommitdiffstats
path: root/sm/certdump.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-03-24More changes for CE. gpgsm does now build and run a keylisting.Werner Koch1-5/+5
2009-03-25Print NO_SECKEY status line in gpgsm.Werner Koch1-1/+1
This fixes bug#1020.
2009-03-16Remove duplicated code.Werner Koch1-15/+2
2008-12-05Add a custom prompt for the CSR generation.Werner Koch1-28/+3
Add a new percent escape fucntion.
2008-10-28Remove debug code.Werner Koch1-3/+0
2008-10-28fixed a bug in the prompt formatter.Werner Koch1-58/+70
2008-09-23Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch1-1/+1
2008-09-04Workaround for a mingw runtime bug.Werner Koch1-1/+7
2008-03-20Fix a bug in the ambigious name detection.Werner Koch1-3/+6
Minor cleanups.
2008-03-13Fixed an email/DN bug.Werner Koch1-6/+13
Changed pinentry prompts.
2007-11-19Started to implement the audit log feature.Werner Koch1-0/+33
Pass PINENTRY_USER_DATA and XAUTHORITY to Pinentry. Improved support for the quality bar. Minor internal restructuring. Translation fixes.
2007-10-19Factored utf8 switching code out to i18n.c.Werner Koch1-32/+3
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-3/+3
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-06First steps towards supporting W32.Werner Koch1-0/+5
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-05-18agent/Marcus Brinkmann1-3/+8
2007-05-19 Marcus Brinkmann <[email protected]> * protect-tool.c (get_passphrase): Free ORIG_CODESET on error. g10/ 2007-05-19 Marcus Brinkmann <[email protected]> * passphrase.c (passphrase_get): Free ORIG_CODESET on error. sm/ 2007-05-18 Marcus Brinkmann <[email protected]> * qualified.c (gpgsm_qualified_consent, gpgsm_not_qualified_warning): Free ORIG_CODESET on error. * certdump.c (gpgsm_format_keydesc): Likewise. tools/ 2007-05-19 Marcus Brinkmann <[email protected]> * symcryptrun.c (confucius_get_pass): Free ORIG_CODESET on error.
2007-03-19Changes to let the key listing use estream to help systems withoutWerner Koch1-22/+134
funopen.
2006-11-28Preparing 2.0.1Werner Koch1-1/+1
2006-11-21No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch1-1/+8
good chance that gpg2 will now work. Other cleanups. Updated gettext.
2006-11-14sm/Werner Koch1-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.
2006-06-27Various smaller changesWerner Koch1-0/+30
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-11-13Added qualified signature features.Werner Koch1-3/+50
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-457/+0
2005-07-20* keylist.c (email_kludge): Reworked.Werner Koch1-2/+2
* certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-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.
2005-04-18* configure.ac: Require libksba 0.9.11.Werner Koch1-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.
2004-09-30* gpgv.c (i18n_init): Always use LC_ALL.Werner Koch1-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.
2004-09-30spelling fixWerner Koch1-1/+4
2004-04-22(main): New commands --dump-keys, --dump-external-keys,Werner Koch1-0/+1
--dump-secret-keys.
2004-04-06* configure.ac: Require libgcrypt 1.1.94.Werner Koch1-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
2004-03-06Preparing for a releaseWerner Koch1-2/+35
2004-02-18* gpgsm.c (set_debug): Set the new --debug-level flags.Werner Koch1-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.
2004-02-13* certcheck.c (gpgsm_create_cms_signature): Format a descriptionWerner Koch1-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.
2004-01-29(parse_dn_part): Map common OIDs to human readableWerner Koch1-9/+42
labels. Make sure that a value won't get truncated if it includes a Nul.
2004-01-27(parse_dn_part): Pretty print the nameDistinguisher OID.Werner Koch1-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.
2003-12-17Replaced deprecated type names.Werner Koch1-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.
2003-10-31* verify.c (strtimestamp_r, gpgsm_verify):Werner Koch1-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.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+457
'GNUPG-1-9-BRANCH'.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-1/+1
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-457/+0
'GNUPG-1-9-BRANCH'.
2002-08-10* keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch1-2/+2
key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
2002-06-25* certdump.c (print_dn_part): Always print a leading slash,Werner Koch1-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.
2002-06-04* gpgsm.c (main): New command --list-sigsNEWPG-0-3-7Werner Koch1-0/+306
* keylist.c (list_cert_std): New. Use it whenever colon mode is not used. (list_cert_chain): New.
2002-01-23* certpath.c (gpgsm_validate_path): Print the DN of a missing issuer.Werner Koch1-11/+32
* certdump.c (gpgsm_dump_string): New. (print_dn): Replaced by above.
2001-12-20* base64.c (base64_reader_cb): Try to detect an S/MIME body part.Werner Koch1-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.
2001-12-18Changes to be used with the new libksba interface.Werner Koch1-8/+18
libgcrypt-1.1.5 is required (cvs or tarball)
2001-12-13* keylist.c (list_cert_colon): Print alternative names of subjectWerner Koch1-2/+2
and a few other values.
2001-11-20Map Libksba's OIDs to Libgcrypt digest algo numbers.Werner Koch1-1/+1
The latest Libgcrypt CVS version is needed.
2001-11-16Base code for gpgsm --verify does workWerner Koch1-49/+43