aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-search.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-12-08Unification of the search descriptor usage.Werner Koch1-7/+21
2009-06-24Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch1-0/+2
Still one problem left; marked with a gcc #warning.
2009-03-06New gpg-agent command to list key information.Werner Koch1-1/+1
Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-0/+2
2008-05-06Fixed bug#907.Werner Koch1-4/+4
Fixed a segv in keybox and made it more robust.
2008-04-01Fix a problem with dirmngr looked up certificates.Werner Koch1-5/+5
Typo fixes.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-03-20kbx/Werner Koch1-1/+1
* 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-10-20Allow to select X.509 certificates using the keygrip.Werner Koch1-0/+84
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2004-04-26The keybox gets now compressed after 3 hours and ephemeralWerner Koch1-18/+35
stored certificates are deleted after about a day.
2004-02-02* keybox.h (keybox_flag_t): New.Werner Koch1-1/+115
* 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-16comment typo fixes.Werner Koch1-1/+1
2003-12-17Replaced deprecated type namesWerner Koch1-3/+3
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-6/+6
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+813
'GNUPG-1-9-BRANCH'.
2003-06-03Make use of libgpg-errorWerner Koch1-17/+21
2003-01-09Updated from latest NewPG projectWerner Koch1-3/+2
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-810/+0
'GNUPG-1-9-BRANCH'.
2002-08-10* keybox-search.c (blob_cmp_fpr_part): New.Werner Koch1-10/+40
(has_short_kid, has_long_kid): Implemented.
2002-06-19* keybox-init.c (keybox_set_ephemeral): New.Werner Koch1-1/+23
* keybox-blob.c (create_blob_header): Store epheermal flag. (_keybox_create_x509_blob): Pass epheermal flag on. * keybox-update.c (keybox_insert_cert): Ditto. * keybox-search.c (blob_get_blob_flags): New. (keybox_search): Ignore ephemeral blobs when not in ephemeral mode. * keybox-dump.c (_keybox_dump_blob): Print blob flags as strings.
2002-02-25* keybox-search.c (blob_cmp_mail): Use case-insensitive compareWerner Koch1-20/+53
because mail addresses are in general case insensitive (well RFC2822 allows for case sensitive mailbox parts, but this is in general considired a Bad Thing). Add additional substr parameter to allow for substring matches within the mail address. Change all callers to pass this along. (blob_cmp_name): Likewise but do the case-insensitive search only in sub string mode. (keybox_search): Implement MAILSUB and SUBSTR mode. * stringhelp.c (ascii_memcasemem): New.
2002-01-21* keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.Werner Koch1-0/+1
2002-01-15* keybox-search.c (blob_cmp_fpr): New.Werner Koch1-1/+33
(has_fingerprint): Implemented;
2001-12-18Changes to be used with the new libksba interface.Werner Koch1-29/+30
libgcrypt-1.1.5 is required (cvs or tarball)
2001-12-15* keybox-search.c (blob_cmp_name): There is no terminating 0 storedWerner Koch1-3/+2
for the uid; fixed length compare.
2001-12-14* keybox-blob.c (x509_email_kludge): New.Werner Koch1-5/+9
(_keybox_create_x509_blob): Insert an extra email address if the subject's DN has an email part. * keybox-defs.h: Added the xtoi_2 and digitp macros.
2001-12-13* keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch1-12/+135
more than one name. (has_subject_or_alt): New. (blob_cmp_mail): New. (has_mail): New. (keybox_search): Implemented exact search and exact mail search. * kbx/keybox-blob.c (_keybox_create_x509_blob): Insert alternate names.
2001-12-11New searchmode and hack to allow a hex encoded serial numberWerner Koch1-1/+107
2001-11-16Base code for gpgsm --verify does workWerner Koch1-0/+18
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-114/+397
check the certification path.
2001-11-10Started with keybox implementation by basing it on code from the GnuPGWerner Koch1-0/+158
devel branch.