aboutsummaryrefslogtreecommitdiffstats
path: root/kbx/keybox-search.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keybox-search.c (blob_cmp_fpr_part): New.Werner Koch2002-08-101-10/+40
| | | | | (has_short_kid, has_long_kid): Implemented.
* * keybox-init.c (keybox_set_ephemeral): New.Werner Koch2002-06-191-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.
* * keybox-search.c (blob_cmp_mail): Use case-insensitive compareWerner Koch2002-02-251-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.
* * keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.Werner Koch2002-01-211-0/+1
|
* * keybox-search.c (blob_cmp_fpr): New.Werner Koch2002-01-151-1/+33
| | | | | (has_fingerprint): Implemented;
* Changes to be used with the new libksba interface.Werner Koch2001-12-181-29/+30
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * keybox-search.c (blob_cmp_name): There is no terminating 0 storedWerner Koch2001-12-151-3/+2
| | | | | for the uid; fixed length compare.
* * keybox-blob.c (x509_email_kludge): New.Werner Koch2001-12-141-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.
* * keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch2001-12-131-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.
* New searchmode and hack to allow a hex encoded serial numberWerner Koch2001-12-111-1/+107
|
* Base code for gpgsm --verify does workWerner Koch2001-11-161-0/+18
|
* We have reached a state where we are able to import certs andWerner Koch2001-11-131-114/+397
| | | | | check the certification path.
* Started with keybox implementation by basing it on code from the GnuPGWerner Koch2001-11-101-0/+158
devel branch.