summaryrefslogtreecommitdiffstats
path: root/kbx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * keybox.h (keybox_flag_t): New.Werner Koch2004-02-026-6/+229
| | | | | | | | | | | | | | | | | | | | | * 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.
* comment typo fixes.Werner Koch2004-01-162-3/+3
|
* Replaced deprecated type namesWerner Koch2003-12-175-11/+11
|
* Mainly changes to adjust for the changed KSBA API.Werner Koch2003-11-124-9/+17
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-053-0/+1399
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-058-0/+2231
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-1911-3622/+0
| | | | 'GNUPG-1-9-BRANCH'.
* Renamed some configure flags.Werner Koch2002-08-161-2/+2
|
* Minor changes for gettextNEWPG-0-3-10Werner Koch2002-08-102-1/+4
|
* * keybox-search.c (blob_cmp_fpr_part): New.Werner Koch2002-08-102-10/+45
| | | | | (has_short_kid, has_long_kid): Implemented.
* * keybox-defs.h: New BLOBTYPTE_EMPTY.Werner Koch2002-07-226-16/+101
| | | | | | | | | | * keybox-dump.c (_keybox_dump_blob): Handle new type. * keybox-file.c (_keybox_read_blob): Skip over empty blobs. Store the file offset. * keybox-blob.c (_keybox_new_blob): Add new arg OFF. (_keybox_get_blob_fileoffset): New. * keybox-update.c (keybox_delete): Implemented.
* * keybox-init.c (keybox_set_ephemeral): New.Werner Koch2002-06-199-15/+79
| | | | | | | | | | | * 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-252-20/+65
| | | | | | | | | | | | | | 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-212-0/+5
|
* * keybox-search.c (blob_cmp_fpr): New.Werner Koch2002-01-152-1/+38
| | | | | (has_fingerprint): Implemented;
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-202-7/+15
| | | | | | | parenthesis of the serial number's S-exp. (_keybox_create_x509_blob): And fixed length calculation. (create_blob_header): Don't add an offset when writing the serial.
* * keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2001-12-202-1/+10
| | | | | parenthesis of the serial number's S-exp.
* * Makefile.am (AM_CPPFLAGS): Add flags for libksbaNEWPG-0-0-0Werner Koch2001-12-182-4/+4
| | | | | | * Makefile.am (AM_CPPFLAGS): Include flags for gcrypt and ksba * Makefile.am: Use LIBGCRYPT macros
* Changes to be used with the new libksba interface.Werner Koch2001-12-184-33/+53
| | | | | libgcrypt-1.1.5 is required (cvs or tarball)
* * keybox-search.c (blob_cmp_name): There is no terminating 0 storedWerner Koch2001-12-152-3/+7
| | | | | for the uid; fixed length compare.
* * keybox-blob.c (x509_email_kludge): New.Werner Koch2001-12-144-19/+52
| | | | | | | (_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.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-1/+28
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* * keybox-search.c (blob_cmp_name): Kludge to allow searching forWerner Koch2001-12-135-30/+215
| | | | | | | | | | | | 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-112-4/+112
|
* Added new directory common to enable sharing of some code and errorWerner Koch2001-11-241-1/+1
| | | | | | numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
* Base code for gpgsm --verify does workWerner Koch2001-11-162-0/+19
|
* We have reached a state where we are able to import certs andWerner Koch2001-11-1312-301/+1333
| | | | | check the certification path.
* A Makefile is a pretty useful thingWerner Koch2001-11-101-0/+50
|
* Started with keybox implementation by basing it on code from the GnuPGWerner Koch2001-11-1011-0/+2115
devel branch.