summaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* include: Remove this directory.Werner Koch2014-01-297-1417/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/cipher.h: Move to ... * g10/cipher.h: here. * agent/gpg-agent.c: Adjust header file name. * include/host2net.h: Move to ... * common/host2net.h: here. Change license to LGPLv3/GPLv2. Adjust notices to reflect that only me worked on that file. * include/types.h: Remove. * common/types.h: Include inttypes.h. Add byte typedef and comments for __riscos__. * common/iobuf.h: Adjust header file name. * include/_regex.h: Remove this unused file. * include/Makefile.am: Remove. * Makefile.am (SUBDIRS): Remove "include". * configure.ac (AC_CONFIG_FILES): Remove include/Makefile. * include/ChangeLog-2011: Move to ... * common/ChangeLog-2011.include: here. * common/Makefile.am (EXTRA_DIST): Add file. * include/zlib-riscos.h: Move this repo only file to ... * g10/zlib-riscos.h: here. * include/: Remove. -- include/ was a leftover from GnuPG 1.x times. Signed-off-by: Werner Koch <wk@gnupg.org>
* Remove unused u64 type definitions.Werner Koch2014-01-171-30/+1
| | | | | | | | | | | * configure.ac: Remove check for uint64 and UINT64_C. * include/types.h: Remove u64 stuff. * common/types.h: Ditto. -- There have been relicts from GnuPG-1. Signed-off-by: Werner Koch <wk@gnupg.org>
* gpg: Distinguish between missing and cleared key flags.Werner Koch2013-03-191-1/+6
| | | | | | | | | | | | | | * include/cipher.h (PUBKEY_USAGE_NONE): New. * g10/getkey.c (parse_key_usage): Set new flag. -- We do not want to use the default capabilities (derived from the algorithm) if any key flags are given in a signature. Thus if key flags are used in any way, the default key capabilities are never used. This allows to create a key with key flags set to all zero so it can't be used. This better reflects common sense.
* Change all quotes in strings and comments to the new GNU standard.Werner Koch2012-06-051-29/+29
| | | | | | | | | | | | | | | | | | | 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.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-012-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.
* Require libgcrypt 1.5Werner Koch2011-03-081-6/+0
| | | | | | | | Without Libgcrypt 1.5 is was not possible to use ECC keys. ECC is major new feature and thus it does not make sense to allow building with an older Libgcrypt without supporting ECC. Also fixed a few missing prototypes.
* Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch2011-02-044-12/+10
| | | | | | | | 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.
* Sample ECC keys and message do now work.Werner Koch2011-02-022-2/+7
| | | | | | | | Import and export of secret keys does now work. Encryption has been fixed to be compatible with the sample messages. This version tests for new Libgcrypt function and thus needs to be build with a new Libgcrypt installed.
* Fix another stupid bug ECDH detection bugWerner Koch2011-01-241-1/+1
| | | | | Again reported by Johan van Selst. Let's see whether this one is okay.
* Make most of the selftests work.Werner Koch2011-01-211-1/+1
| | | | | Note that there is still a problem with tests/openpgp/sigs.test while using the option --digest-algo SHA256.
* Editorial changes and allow building with old libgcrypts.Werner Koch2011-01-212-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+2
| | | | | | | | | | 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.
* 2009-08-20 Daiki Ueno <ueno@unixuser.org>Werner Koch2009-08-202-0/+5
| | | | | | | | | * mainproc.c (proc_encrypted): Clear passphrase cached with S2K cache ID if decryption failed. * passphrase.c (passphrase_to_dek_ext): Set dek->s2k_cacheid. * gpgv.c (passphrase_clear_cache): New stub.
* Adjust for the changed Camellia draft.Werner Koch2008-04-182-1/+7
| | | | | | W32 gettext changes. Comment and typo fixes.
* Support DSA2.Werner Koch2007-12-122-3/+11
| | | | | | Support Camellia for testing. More audit stuff.
* Changed to GPLv3.Werner Koch2007-07-044-16/+8
| | | | | Removed intl/.
* Cleanups.Werner Koch2006-09-209-860/+7
|
* With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch2006-08-164-45/+8
| | | | | shows no prblems. Needs more testing of course.
* Updated FSF's address.Werner Koch2006-06-205-6/+10
|
* Fix for sanitize string. Added SHA224Werner Koch2006-04-282-0/+7
|
* Merged with gpg 1.4.3 code. Werner Koch2006-04-1911-84/+107
| | | | | The gpg part does not yet build.
* Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch2003-09-233-6/+16
|
* * keygen.c (do_add_key_flags, parse_parameter_usage)Werner Koch2003-09-052-0/+5
| | | | | | | | (do_generate_keypair): Add support the proposed AUTH key flag. * getkey.c (fixup_uidnode, merge_selfsigs_main) (merge_selfsigs_subkey, premerge_public_with_secret): Ditto. * keylist.c (print_capabilities): Ditto.
* Minor changes to make make dist work correctly.Werner Koch2003-07-041-2/+0
|
* * cipher.h (DBG_CIPHER,g10c_debug_mode): Removed.Werner Koch2003-07-032-4/+4
|
* Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch2003-06-188-358/+71
| | | | | | | | | | | to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
* A small step for GnuPG but a huge leap for error codes.Werner Koch2003-06-051-3/+8
| | | | | | (Sorry, it does not build currently - I need to check it in to avoid duplicate work.)
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-06-059-0/+1609
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-01-094-0/+763
| | | | 'GNUPG-1-9-BRANCH'.
* This commit was manufactured by cvs2svn to create branchRepo Admin2002-10-1911-1576/+0
| | | | 'GNUPG-1-9-BRANCH'.
* * keyserver.h: Go to KEYSERVER_PROTO_VERSION 1.David Shaw2002-10-142-0/+6
|
* * keyserver.h: Add new error code KEYSERVER_UNREACHABLE.David Shaw2002-10-092-0/+5
|
* * util.h: Add new log_warning logger command which can be switched betweenDavid Shaw2002-10-042-0/+9
| | | | | log_info and log_error via log_set_strict.
* * keyserver.h: Add some new error codes for better GPA support.David Shaw2002-09-242-6/+18
|
* * mpi-bit.c (mpi_normalize): Replaced the check for protected byV1-2-5V1-2-4V1-2-3RC-1-2-5rc2RC-1-2-5rc1RC-1-2-4rc1RC-1-2-3rc2RC-1-2-3rc1Werner Koch2002-09-112-6/+7
| | | | | | | | is_opaque. (mpi_get_nbits): Removed the special case for protected MPIs. * mpicoder.c (do_get_buffer): Likewise. (mpi_print): Removed the nbit_info printing.
* Added prototype.Werner Koch2002-09-101-1/+2
|
* * cipher.h: Add AES aliases for RIJNDAEL algo numbers.David Shaw2002-08-132-3/+10
|
* * cipher.h: Add md_algo_present().David Shaw2002-08-072-0/+5
|
* tidying up RISC OS stuffStefan Bellon2002-08-062-0/+5
|
* RISC OS changes due to dynload removalStefan Bellon2002-08-031-1/+1
|
* The big extension module removal.Werner Koch2002-08-031-2/+2
|
* Update head to match stable 1.0David Shaw2002-06-2915-293/+997
|
* See ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner KochWerner Koch2000-10-041-0/+1
|
* See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch2000-09-181-0/+1
|
* See ChangeLog: Mon Aug 21 17:59:17 CEST 2000 Werner KochWerner Koch2000-08-211-0/+1
|
* See ChangeLog: Fri Aug 18 14:27:14 CEST 2000 Werner KochWerner Koch2000-08-183-4/+135
|
* See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch2000-07-146-4/+27
|
* See ChangeLog: Mon Jan 31 16:37:34 CET 2000 Werner KochWerner Koch2000-01-311-4/+0
|
* See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch2000-01-279-111/+115
|
* See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner KochWerner Koch2000-01-243-96/+8
|