aboutsummaryrefslogtreecommitdiffstats
path: root/kbx (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-07-04Changed to GPLv3.Werner Koch14-56/+28
Removed intl/.
2007-06-26More W32 related changesWerner Koch2-2/+6
2007-06-15Build fixes for W32Werner Koch2-2/+8
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch2-1/+8
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch2-14/+4
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-04-20Improved logging for error orginating from libgcrypt.Werner Koch1-1/+1
2007-03-20kbx/Werner Koch5-5/+17
* 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.
2007-01-31Included LIBICONV in all Makefiles.Werner Koch2-3/+8
g10/ * passphrase.c (passphrase_get): Set the cancel flag on all error from the agent. Fixes a bug reported by Tom Duerbusch. sm/ * gpgsm.c (main): Let --gen-key print a more informative error message.
2007-01-30Added LIBINTL to more Makefile targets.Werner Koch2-1/+6
doc/ * com-certs.pem: Added the current root certifcates of D-Trust and S-Trust. g10/ * status.c (write_status_begin_signing): New. * sign.c (sign_file, sign_symencrypt_file): Call it. * textfilter.c (copy_clearsig_text): Call it. * call-agent.c (agent_scd_pksign): Pass --hash-rmd160 to SCD if required. * gpg.c (main): Let --no-use-agent and --gpg-agent-info print a warning. * misc.c (obsolete_option): New.
2006-11-20Made some PIN pads work.Werner Koch2-1/+5
Some cleanups for 64 bit CPUs.
2006-10-20Allow to select X.509 certificates using the keygrip.Werner Koch3-0/+93
2006-09-20Cleanups.Werner Koch2-0/+5
2006-09-14Take advantage of newer gpg-error features.Werner Koch2-2/+7
2006-06-20Updated FSF's address.Werner Koch14-14/+28
2005-11-28Preparing an interim releaseWerner Koch1-1/+1
2005-10-08agent/Marcus Brinkmann2-1/+6
2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (gpg_protect_tool_LDADD): Add ../gl/libgnu.a. (gpg_preset_passphrase_LDADD, t_common_ldadd): Likewise. (gpg_agent_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. kbx/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after ../jnlib/libjnlib.a. scd/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (scdaemon_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. sm/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (gpgsm_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. tools/ 2005-10-08 Marcus Brinkmann <[email protected]> * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): Likewise.
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch5-26/+41
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-06-01* configure.ac (gl_INIT): Add gnulib stuff.Werner Koch4-2/+58
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS by a simple check. (putc_unlocked): Removed check. Not used. (strsep, mkdtemp, asprintf): Replaced checks by gnulib checks. (xsize): Added will probably come handy soon. (CFLAGS): Use -Wformat-security instead of -Wformat-nonliteral. Add --Wno-format-y2k. * gl/, gl/m4/: New. * gpg-agent.c: Include setenv.h. * Makefile.am (AM_CPPFLAGS): Added. * util.h: Add some includes for gnulib. (ttyname, isascii): Define them inline. * fseeko.c, ftello.c: Removed. * strsep.c, mkdtemp.c: Removed. * ttyname.c, isascii.c: Removed. * mkdtemp.c: Removed. * exec.c: Include mkdtemp.h * keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/ftello.c. * keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement function. Copied from ../common/iobuf.c. * scdaemon.c: Include mkdtemp.h. * misc.c: Include setenv.h. * symcryptrun.c: Include mkdtemp.h.
2005-05-21* cardglue.c (send_status_info): Make CTRL optional.Werner Koch1-3/+3
(agent_scd_writekey, inq_writekey_parms): New. (agent_openpgp_storekey): Removed. * cardglue.h: Add a few more error code mappings. * keygen.c (copy_mpi): Removed. (save_unprotected_key_to_card): Changed to use agent_scd_writekey. * app-common.h, app-openpgp.c, tlv.c, tlv.h: Updated from newer version in gnupg 1.9 CVS.
2004-12-18Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2-1/+8
2004-12-07(keybox_release): Close the file pointer.Werner Koch2-0/+9
2004-12-02First take on a W32 portWerner Koch4-7/+13
2004-10-20typo fixWerner Koch1-1/+1
2004-09-30* gpgv.c (i18n_init): Always use LC_ALL.Werner Koch2-7/+4
* 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-30Preparing a new release. Updated gettextWerner Koch2-1/+5
2004-08-24* kbxutil.c: New command --import-openpgp.Werner Koch5-27/+810
(main): Updated libgcrypt initialization stuff. (my_gcry_logger): New. (read_file): New. Taken from ../agent/protect-tool. (dump_fpr, dump_openpgp_key, import_openpgp): New. * keybox-openpgp.c: New.
2004-06-18* keybox-dump.c (_keybox_dump_file): New arg STATS_ONLY.Werner Koch4-44/+187
(update_stats): New. * kbxutil.c (main): New command --stats.
2004-04-26The keybox gets now compressed after 3 hours and ephemeralWerner Koch9-54/+369
stored certificates are deleted after about a day.
2004-04-20Include jnlib/types.h and remove our ownWerner Koch2-11/+11
definitions for byte.u16 and u32.
2004-04-06* configure.ac: Require libgcrypt 1.1.94.Werner Koch1-8/+8
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-02-02* keybox.h (keybox_flag_t): New.Werner Koch6-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.
2004-01-16comment typo fixes.Werner Koch2-3/+3
2003-12-17Replaced deprecated type namesWerner Koch5-11/+11
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch4-9/+17
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin3-0/+1399
'GNUPG-1-9-BRANCH'.
2003-07-31minor changes to make make distcheck happyWerner Koch1-2/+6
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch2-3/+5
2003-06-05This commit was manufactured by cvs2svn to create branchRepo Admin8-0/+2231
'GNUPG-1-9-BRANCH'.
2003-06-03Make use of libgpg-errorWerner Koch10-116/+110
2003-01-09Updated from latest NewPG projectWerner Koch3-6/+14
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin11-3622/+0
'GNUPG-1-9-BRANCH'.
2002-08-16Renamed some configure flags.Werner Koch1-2/+2
2002-08-10Minor changes for gettextNEWPG-0-3-10Werner Koch2-1/+4
2002-08-10* keybox-search.c (blob_cmp_fpr_part): New.Werner Koch2-10/+45
(has_short_kid, has_long_kid): Implemented.
2002-07-22* keybox-defs.h: New BLOBTYPTE_EMPTY.Werner Koch6-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.
2002-06-19* keybox-init.c (keybox_set_ephemeral): New.Werner Koch9-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.
2002-02-25* keybox-search.c (blob_cmp_mail): Use case-insensitive compareWerner Koch2-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.
2002-01-21* keybox-search.c (keybox_search): Allow KEYDB_SEARCH_MODE_FPR20.Werner Koch2-0/+5
2002-01-15* keybox-search.c (blob_cmp_fpr): New.Werner Koch2-1/+38
(has_fingerprint): Implemented;
2001-12-20* keybox-blob.c (_keybox_create_x509_blob): Skip the leadingWerner Koch2-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.