aboutsummaryrefslogtreecommitdiffstats
path: root/sm/fingerprint.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-041-12/+8
| | | | | | | | We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
* Print NO_SECKEY status line in gpgsm.Werner Koch2009-03-251-2/+5
| | | | | This fixes bug#1020.
* New gpg-agent command to list key information.Werner Koch2009-03-061-2/+2
| | | | | | Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
* Fix error detectionWerner Koch2009-01-081-6/+8
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* kbx/Werner Koch2007-03-201-14/+26
| | | | | | | | | | | | | | | | | | | | * keybox.h (KEYBOX_FLAG_BLOB_SECRET, KEYBOX_FLAG_BLOB_EPHEMERAL): New. * keybox-update.c (keybox_compress): Use it here instead of a magic constant. sm/ * fingerprint.c (gpgsm_get_fingerprint): Add caching. (gpgsm_get_fingerprint_string): Use bin2hexcolon(). (gpgsm_get_fingerprint_hexstring): Use bin2hex and allocate only as much memory as required. (gpgsm_get_keygrip_hexstring): Use bin2hex. * certchain.c (gpgsm_validate_chain): Keep track of the certificate chain and reset the ephemeral flags. * keydb.c (keydb_set_cert_flags): New args EPHEMERAL and MASK. Changed caller to use a mask of ~0. Return a proper error code if the certificate is not available.
* 2006-12-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann2006-12-181-0/+1
| | | | | * fingerprint.c (gpgsm_get_fingerprint): Close MD.
* Updated FSF's address.Werner Koch2006-06-201-1/+2
|
* (gpgsm_get_certid): Cast printf arg to unsigned.Werner Koch2005-07-191-3/+1
| | | | | | Bug accidently introduced while solving the #$%^& gcc signed/unsigned char* warnings.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-8/+9
| | | | | | | 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.
* * sign.c (gpgsm_sign): Include the error source in the final errorWerner Koch2004-05-111-0/+60
| | | | | | | | | | | | | | | 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.
* * gpgsm.c: New option --force-crl-refresh.Werner Koch2004-04-071-1/+1
| | | | | * call-dirmngr.c (gpgsm_dirmngr_isvalid): Pass option to dirmngr.
* Replaced deprecated type names.Werner Koch2003-12-171-9/+9
| | | | | | | | * certdump.c (gpgsm_print_serial): Cleaned up cast use in strtoul. (gpgsm_dump_serial): Ditto. * decrypt.c (gpgsm_decrypt): Replaced ERR by RC.
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-121-2/+2
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+271
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-191-271/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * keylist.c (list_cert_colon): Print the short fingerprint in theWerner Koch2002-08-101-1/+12
| | | | | | | | key ID field. * fingerprint.c (gpgsm_get_short_fingerprint): New. * verify.c (gpgsm_verify): Print more verbose info for a good signature.
* * delete.c: New.Werner Koch2002-07-221-1/+1
| | | | | | | | | | * 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.
* * fingerprint.c (gpgsm_get_certid): Print the serialand not theWerner Koch2002-01-131-1/+1
| | | | | hash after the dot.
* * call-dirmngr.c: New.Werner Koch2002-01-111-0/+67
| | | | | | | * certpath.c (gpgsm_validate_path): Check the CRL here. * fingerprint.c (gpgsm_get_certid): New. * gpgsm.c: New options --dirmngr-program and --disable-crl-checks.
* * base64.c (gpgsm_create_writer): Allow to set the object nameWerner Koch2002-01-101-0/+4
| | | | | | | | * server.c (cmd_genkey): New. * certreqgen.c: New. The parameter handling code has been taken from gnupg/g10/keygen.c version 1.0.6. * call-agent.c (gpgsm_agent_genkey): New.
* Changes to be used with the new libksba interface.Werner Koch2001-12-181-16/+19
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * decrypt.c (gpgsm_decrypt): Write STATUS_DECRYPTION_*.Werner Koch2001-12-151-1/+1
| | | | | * sign.c (gpgsm_sign): Write a STATUS_SIG_CREATED.
* Started with decryption stuffWerner Koch2001-12-051-1/+3
|
* Introduced the keygripWerner Koch2001-11-241-0/+57
|
* Added basic code for keylisting.Werner Koch2001-11-191-1/+1
| | | | | New Assuan command LISTKEYS.
* Write status output, make verify work in server mode.Werner Koch2001-11-191-0/+23
|
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-0/+104
check the certification path.