aboutsummaryrefslogtreecommitdiffstats
path: root/include (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-01-29include: Remove this directory.Werner Koch7-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 <[email protected]>
2014-01-17Remove unused u64 type definitions.Werner Koch1-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 <[email protected]>
2013-03-19gpg: Distinguish between missing and cleared key flags.Werner Koch1-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.
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-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.
2011-12-01Generate the ChangeLog from commit logs.Werner Koch2-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-03-08Require libgcrypt 1.5Werner Koch1-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.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch4-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.
2011-02-02Sample ECC keys and message do now work.Werner Koch2-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.
2011-01-24Fix another stupid bug ECDH detection bugWerner Koch1-1/+1
Again reported by Johan van Selst. Let's see whether this one is okay.
2011-01-21Make most of the selftests work.Werner Koch1-1/+1
Note that there is still a problem with tests/openpgp/sigs.test while using the option --digest-algo SHA256.
2011-01-21Editorial changes and allow building with old libgcrypts.Werner Koch2-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 <[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-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-202009-08-20 Daiki Ueno <[email protected]>Werner Koch2-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.
2008-04-18Adjust for the changed Camellia draft.Werner Koch2-1/+7
W32 gettext changes. Comment and typo fixes.
2007-12-12Support DSA2.Werner Koch2-3/+11
Support Camellia for testing. More audit stuff.
2007-07-04Changed to GPLv3.Werner Koch4-16/+8
Removed intl/.
2006-09-20Cleanups.Werner Koch9-860/+7
2006-08-16With --enable-gpg the keyservers are now build and a first test using gpg2Werner Koch4-45/+8
shows no prblems. Needs more testing of course.
2006-07-26Fixed memory allocation bug and typos.Werner Koch1-3/+3
2006-06-20Updated FSF's address.Werner Koch5-6/+10
2006-04-28Fix for sanitize string. Added SHA224Werner Koch2-0/+7
2006-04-20The plumbing necessary to create DSA keys with variable sized q.David Shaw2-0/+6
Not yet used (q==160).
2006-04-20Add SHA-224 supportDavid Shaw2-2/+7
2006-04-19Merged with gpg 1.4.3 code. Werner Koch11-84/+107
The gpg part does not yet build.
2006-03-16* cert.c (get_cert): Handle the fixed IPGP type with fingerprint.David Shaw2-3/+8
2006-02-14Fixed a wrong return code with gpg --verifyWerner Koch2-0/+5
2005-12-23New code to do DNS CERT queries.David Shaw2-1/+6
2005-10-05Renamed g10.c to gpg.cWerner Koch1-1/+1
Filelength fixes for W32.
2005-07-28Implemented PKA trust modelWerner Koch1-0/+4
2005-07-27Converted all m_free to xfree etc.Werner Koch3-25/+28
2005-06-23* http.h: Fix prototypes for http_open_document and http_open again,David Shaw2-7/+12
to handle the new different auth for regular files and proxies.
2005-06-22* http.h: Fix prototypes for http_open_document and http_open to passDavid Shaw2-4/+11
in auth and proxyauth.
2005-05-31Updated FSF street address and preparations for a release candidate.Werner Koch16-16/+31
2005-05-21* cardglue.c (send_status_info): Make CTRL optional.Werner Koch2-1/+24
(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.
2005-05-05Remove add_days_to_timestamp (unused)David Shaw2-1/+4
2005-04-22* distfiles: Add assuan.h.David Shaw2-0/+5
2005-04-05Changes to make use of code taken from libassuan. This replaces theWerner Koch3-4/+273
old ad-hoc connection code to gpg-agent. We do need this for the forthcoming diversion of card code to an already running gpg-agent with card-support.
2005-03-18* ttyio.c (tty_enable_completion, tty_disable_completion): Enable andDavid Shaw2-1/+21
disable readline completion. (init_ttyfp): Completion is disabled by default.
2005-03-14* card-util.c (card_status): Use isotimestamp and not theWerner Koch1-0/+1
localized asctimestamp to match the timezone used in the key information. * miscutil.c (isotimestamp): New.
2005-02-10Disable the "quick check" bytes for PK decryptions. This is inDavid Shaw2-8/+14
regards to the Mister and Zuccherato attack on OpenPGP CFB mode.
2005-01-20* g10.c (i18n_init) [W32]: Pass registry key to gettextWerner Koch1-1/+1
initialization. * gpgv.c (i18n_init) [W32]: Ditto. * simple-gettext.c (set_gettext_file): Use MO files depending on the installation directory. Add new arg REGKEY.
2004-12-16* g10.c (main): Add --require-secmem/--no-require-secmem to cause gpg toDavid Shaw2-1/+5
exit if it cannot lock memory. Also remove --nrsign-key and --nrlsign-key since this can better be done via --edit-key. * secmem.c (secmem_init): Return a flag to indicate whether we got the lock. * memory.h: Return a flag to indicate whether we got the lock.
2004-11-29* cipher.h: Add PUBKEY_USAGE_UNKNOWN.David Shaw2-0/+5
2004-11-032004-11-03 Timo Schulz <[email protected]>Timo Schulz3-4/+11
* strgutil.c (w32_strerror): New. * ttyio.c (init_ttyfp, tty_printf, do_get): Use it here. * iobuf.c (fd_cache_open, file_filter): Likewise. (iobuf_seek, translate_file_handle): Likewise.
2004-10-27* dynload.h: Always use it for _WIN32.Werner Koch2-3/+7
* LINGUAS: Better don't have comments in this file. * mk-w32-dist: Use utf-8 encoding for all MO files. * simple-gettext.c: Removed windows.h. (get_string): On the fly translation from utf-8 to active character set. * strgutil.c (load_libiconv) [_WIN32]: new. (set_native_charset) [_WIN32]: Call it here and autodetect the used code page. (native_to_utf8, utf8_to_native): Reverted arguments for iconv_open. (handle_iconv_error): Made this function match iconv_open argumnet ordering. (utf8_to_native): Disable all quoting for DELIM == -1.
2004-10-21* configure.ac: Remove the check for asprintfWerner Koch2-9/+4
* app-common.h (app_openpgp_storekey: Add prototype. * app-openpgp.c (do_sign): Replace asprintf by direct allocation. This avoids problems with missing vasprintf implementations. * card-util.c (generate_card_keys): Add a #warning for gnupg 1.9 and use the same string there. * util.h [!HAVE_VASPRINTF]: Removed prototype. * vasprintf.c: Removed. It was used only at one place and I don't want to get into build problems in 1.4.
2004-10-15Add asprintf prototype.Werner Koch2-0/+17
2004-10-13* keyserver.h: Add KEYSERVER_TIMEOUT.David Shaw2-1/+6
2004-10-13Added SELInux hacks and did some cleanups.Werner Koch2-16/+1
2004-10-13* configure.ac: Actually name the option --disable-finger and notWerner Koch1-0/+1
http. * openfile.c (overwrite_filep, make_outfile_name, open_outfile) (open_sigfile): Use iobuf_is_pipe_filename to check for pipes so that special filesnames are taken into account. This is bug 327. * tdbdump.c (import_ownertrust): Ditto. * sign.c (write_plaintext_packet): Ditto. * progress.c (handle_progress): Ditto. * plaintext.c (handle_plaintext): Ditto. * encode.c (encode_simple, encode_crypt): Ditto. * iobuf.c (iobuf_is_pipe_filename): New. * fileutil.c (is_file_compressed): Use it here.