summaryrefslogtreecommitdiffstats
path: root/kbx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: Add a global variable to for the default error source.Werner Koch2012-02-062-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.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-011-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.
* Fixed set but unused variable bugsWerner Koch2011-08-101-8/+1
|
* Update OpenPGP parser to support ECCWerner Koch2011-04-283-63/+83
|
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-0416-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.
* Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-211-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 <wk@g10code.com> * configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP. (HAVE_GCRY_PK_ECDH): Add new test. [agent/] 2011-01-21 Werner Koch <wk@g10code.com> * cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New. [include/] 2011-01-21 Werner Koch <wk@g10code.com> * cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros because we now require libgcrypt 1.4.6. (GCRY_PK_ECDH): Add replacement.
* Integrating http://code.google.com/p/gnupg-ecc/source/detail?r=15 .Andrey Jivsov2011-01-061-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.
* fix reallocation bugWerner Koch2010-07-232-0/+5
|
* More changes on the way to remove secring.gpg.Werner Koch2010-04-212-14/+7
|
* common/Marcus Brinkmann2010-04-202-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2010-04-20 Marcus Brinkmann <marcus@g10code.de> * 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 <marcus@g10code.de> * 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 <marcus@g10code.de> * gpgconf-comp.c (option_check_validity): Use dummy variables to silence gcc warning.
* More changes for CE. gpgsm does now build and run a keylisting.Werner Koch2010-03-243-5/+24
|
* More chnages to use estream. Add a way to replace the standardWerner Koch2010-03-221-1/+1
| | | | | descriptors.
* Merged jnlib into common.Werner Koch2010-03-107-13/+20
|
* Use macros for iobuf ioctls. Werner Koch2010-03-082-3/+7
|
* Implement --faked-systrem-time for gpg.Werner Koch2009-12-171-0/+3
| | | | | Typo and comment fixes.
* Unification of the search descriptor usage.Werner Koch2009-12-083-11/+40
|
* Make bug reporting address easier changeable.Werner Koch2009-07-211-3/+2
|
* Fixed a bunch of little bugs as reported by Fabian Keil.Werner Koch2009-06-241-0/+2
| | | | | Still one problem left; marked with a gcc #warning.
* New gpg-agent command to list key information.Werner Koch2009-03-061-1/+1
| | | | | | Gpgsm does now print the S/N of cards. Consider ephemeral keys during listing an export.
* Minor fixes.Werner Koch2008-12-092-2/+5
|
* Fixed a temporary file name collision between gpg and gpgsm under Windows.Werner Koch2008-11-203-7/+15
|
* Reorder libs in kbx. Werner Koch2008-11-112-2/+7
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-206-3/+26
|
* Fixed bug#907.Werner Koch2008-05-065-51/+62
| | | | | Fixed a segv in keybox and made it more robust.
* Fix a problem with dirmngr looked up certificates.Werner Koch2008-04-015-39/+122
| | | | | Typo fixes.
* Fixed an email/DN bug.Werner Koch2008-03-132-11/+29
| | | | | Changed pinentry prompts.
* Fixed a W32 crash in gpg2 when creating a new keyring.Werner Koch2008-01-291-1/+1
| | | | | Typo fixes.
* tryu harder to ignore duplicate specified keyrings and -boxes.Werner Koch2007-08-242-4/+7
| | | | | Documentation updates.
* Add new features to kbxutil.Werner Koch2007-08-234-16/+281
| | | | | Fixed bug 829 (can't encrypt if duplicated certs are in the keybox)
* Changed to GPLv3.Werner Koch2007-07-0414-56/+28
| | | | | Removed intl/.
* More W32 related changesWerner Koch2007-06-262-2/+6
|
* Build fixes for W32Werner Koch2007-06-152-2/+8
|
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-142-1/+8
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-062-14/+4
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* Improved logging for error orginating from libgcrypt.Werner Koch2007-04-201-1/+1
|
* kbx/Werner Koch2007-03-205-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.
* Included LIBICONV in all Makefiles.Werner Koch2007-01-312-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.
* Added LIBINTL to more Makefile targets.Werner Koch2007-01-302-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.
* Made some PIN pads work.Werner Koch2006-11-202-1/+5
| | | | | Some cleanups for 64 bit CPUs.
* Allow to select X.509 certificates using the keygrip.Werner Koch2006-10-203-0/+93
|
* Cleanups.Werner Koch2006-09-202-0/+5
|
* Take advantage of newer gpg-error features.Werner Koch2006-09-142-2/+7
|
* Updated FSF's address.Werner Koch2006-06-2014-14/+28
|
* Preparing an interim releaseWerner Koch2005-11-281-1/+1
|
* agent/Marcus Brinkmann2005-10-082-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * 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 <marcus@g10code.de> * Makefile.am (kbxutil_LDADD): Add ../gl/libgnu.a after ../jnlib/libjnlib.a. scd/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (scdaemon_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. sm/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (gpgsm_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. tools/ 2005-10-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (gpgconf_LDADD): Add ../gl/libgnu.a after ../common/libcommon.a. (symcryptrun_LDADD, gpg_connect_agent_LDADD, gpgkey2ssh_LDADD): Likewise.
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-165-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.
* * configure.ac (gl_INIT): Add gnulib stuff.Werner Koch2005-06-014-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.
* Avoid the " map_to_assuan_status called with no error source" diagnostic.Werner Koch2004-12-182-1/+8
|
* (keybox_release): Close the file pointer.Werner Koch2004-12-072-0/+9
|
* First take on a W32 portWerner Koch2004-12-024-7/+13
|