aboutsummaryrefslogtreecommitdiffstats
path: root/kbx (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch4-15/+15
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2012-02-06common: Add a global variable to for the default error source.Werner Koch2-4/+7
For the shared code parts it is cumbersome to pass an error sourse variable to each function. Its value is always a constant for a given binary and thus a global variable makes things a lot easier than the former macro stuff. * common/init.c (default_errsource): New global var. (init_common_subsystems): Rename to _init_common_subsystems. Set DEFAULT_ERRSOURCE. * common/init.h: Assert value of GPG_ERR_SOURCE_DEFAULT. (init_common_subsystems): New macro. * common/util.h (default_errsource): Add declaration. * kbx/keybox-defs.h: Add some GPG_ERR_SOURCE_DEFAULT trickery.
2011-12-01Generate the ChangeLog from commit logs.Werner Koch1-1/+12
* scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * doc/HACKING: Describe the ChangeLog policy * ChangeLog: New file. * Makefile.am (EXTRA_DIST): Add new files. (gen-ChangeLog): New. (dist-hook): Run gen-ChangeLog. Rename all ChangeLog files to ChangeLog-2011.
2011-08-10Fixed set but unused variable bugsWerner Koch1-8/+1
2011-04-28Update OpenPGP parser to support ECCWerner Koch3-63/+83
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch16-258/+248
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.
2011-01-21Editorial changes and allow building with old libgcrypts.Werner Koch1-0/+1
Changed order of some conditional to make to put the special case into the true branch. Indentation changes. Minor other changes to make the ECC code more similar to the rest of our code. It builds but many sefltests still fail. Need to fix that before using it with an ECDH enabled libgcrypt. [/] 2011-01-21 Werner Koch <[email protected]> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <[email protected]> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <[email protected]> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
2011-01-06Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov1-1/+6
The following works: gpg2 --gen-key (ECC) gpg2 --list-keys gpg2 --list-packets ~/.gnupg/pubring.gpg gpg2 --list-packets <private key from http://sites.google.com/site/brainhub/pgpecckeys> ECDH doesn't work yet as the code must be re-written to adjust for gpg-agent refactoring.
2010-07-23fix reallocation bugWerner Koch2-0/+5
2010-04-21More changes on the way to remove secring.gpg.Werner Koch2-14/+7
2010-04-20common/Marcus Brinkmann2-2/+6
2010-04-20 Marcus Brinkmann <[email protected]> * logging.c (do_log_ignore_arg): New helper function. (log_string): Use it to remove ugly volatile hack that causes gcc warning. (log_flush): Likewise. * sysutils.c (gnupg_unsetenv) [!HAVE_W32CE_SYSTEM]: Return something. (gnupg_setenv) [!HAVE_W32CE_SYSTEM]: Likewise. * pka.c (get_pka_info): Solve strict aliasing rule violation. * t-exechelp.c (test_close_all_fds): Use dummy variables to silence gcc warning. kbx/ 2010-04-20 Marcus Brinkmann <[email protected]> * keybox-update.c [!HAVE_DOSISH_SYSTEM]: Include ../common/sysutils.h even then to silence gcc warning about missing declaration of gnupg_remove. tools/ 2010-04-20 Marcus Brinkmann <[email protected]> * gpgconf-comp.c (option_check_validity): Use dummy variables to silence gcc warning.
2010-03-24More changes for CE. gpgsm does now build and run a keylisting.Werner Koch3-5/+24
2010-03-22More chnages to use estream. Add a way to replace the standardWerner Koch1-1/+1
descriptors.
2010-03-10Merged jnlib into common.Werner Koch7-13/+20
2010-03-08Use macros for iobuf ioctls. Werner Koch2-3/+7
2009-12-17Implement --faked-systrem-time for gpg.Werner Koch1-0/+3
Typo and comment fixes.
2009-12-08Unification of the search descriptor usage.Werner Koch3-11/+40
2009-07-21Make bug reporting address easier changeable.Werner Koch1-3/+2
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-12-09Minor fixes.Werner Koch2-2/+5
2008-11-20Fixed a temporary file name collision between gpg and gpgsm under Windows.Werner Koch3-7/+15
2008-11-11Reorder libs in kbx. Werner Koch2-2/+7
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch6-3/+26
2008-05-06Fixed bug#907.Werner Koch5-51/+62
Fixed a segv in keybox and made it more robust.
2008-04-01Fix a problem with dirmngr looked up certificates.Werner Koch5-39/+122
Typo fixes.
2008-03-13Fixed an email/DN bug.Werner Koch2-11/+29
Changed pinentry prompts.
2008-01-29Fixed a W32 crash in gpg2 when creating a new keyring.Werner Koch1-1/+1
Typo fixes.
2007-08-24tryu harder to ignore duplicate specified keyrings and -boxes.Werner Koch2-4/+7
Documentation updates.
2007-08-23Add new features to kbxutil.Werner Koch4-16/+281
Fixed bug 829 (can't encrypt if duplicated certs are in the keybox)
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