gnupg.git
6 years agoWorkaround for a gettext problem during "make distcheck".
Werner Koch [Fri, 14 Dec 2012 17:22:34 +0000 (18:22 +0100)]
Workaround for a gettext problem during "make distcheck".

* configure.ac: Add comment string "GNU gnupg".
--

We already use this kludge in 2.x.

6 years agogettext: Upgrade to version 0.18
Werner Koch [Fri, 14 Dec 2012 15:08:23 +0000 (16:08 +0100)]
gettext: Upgrade to version 0.18

* configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.18.
* po/Makefile.in.in: Upgrade to gettext-0.18.  Keep option --previous
of msgmerge.
* intl/: Upgrade to gettext-0.18.
* m4/gettext.m4: Upgrade to gettext-0.18.1.
* m4/iconv.m4: Upgrade to gettext-0.18.1.
* m4/lib-ld.m4: Upgrade to gettext-0.18.1.
* m4/lib-link.m4: Upgrade to gettext-0.18.1.
* m4/lib-prefix.m4: Upgrade to gettext-0.18.1.
* m4/nls.m4: Upgrade to gettext-0.18.1.
* m4/po.m4: Upgrade to gettext-0.18.1.
* m4/progtest.m4: Upgrade to gettext-0.18.1.
* m4/codeset.m4: Upgrade to gettext-0.18.1.
* m4/fcntl-o.m4: New file, from gettext-0.18.1.
* m4/glibc2.m4: Upgrade to gettext-0.18.1.
* m4/glibc21.m4: Upgrade to gettext-0.18.1.
* m4/intdiv0.m4: Upgrade to gettext-0.18.1.
* m4/intl.m4: Upgrade to gettext-0.18.1.
* m4/intldir.m4: Upgrade to gettext-0.18.1.
* m4/intlmacosx.m4: Upgrade to gettext-0.18.1.
* m4/intmax.m4: Upgrade to gettext-0.18.1.
* m4/inttypes_h.m4: Upgrade to gettext-0.18.1.
* m4/inttypes-pri.m4: Upgrade to gettext-0.18.1.
* m4/lcmessage.m4: Upgrade to gettext-0.18.1.
* m4/lock.m4: Upgrade to gettext-0.18.1.
* m4/longlong.m4: Upgrade to gettext-0.18.1.
* m4/printf-posix.m4: Upgrade to gettext-0.18.1.
* m4/size_max.m4: Upgrade to gettext-0.18.1.
* m4/stdint_h.m4: Upgrade to gettext-0.18.1.
* m4/threadlib.m4: New file, from gettext-0.18.1.
* m4/uintmax_t.m4: Upgrade to gettext-0.18.1.
* m4/visibility.m4: Upgrade to gettext-0.18.1.
* m4/wchar_t.m4: Upgrade to gettext-0.18.1.
* m4/wint_t.m4: Upgrade to gettext-0.18.1.
* m4/xsize.m4: Upgrade to gettext-0.18.1.
* m4/Makefile.am (EXTRA_DIST): Add the new files.

6 years agoSupport NetBSD m68K ELF targets
Werner Koch [Thu, 13 Dec 2012 17:15:38 +0000 (18:15 +0100)]
Support NetBSD m68K ELF targets

* mpi/config.links (m68k*-*-netbsdelf): New.

--

The original patch from NetBSD had this additional code:

if ! test x$M68060 = xYES; then
    path="m68k/mc68020 m68k"
fi

However, this bypasses the config system.  It would be better to add
proper support for this CPU to config.sub.

6 years agoCard: Fix the process of writing key or generating key.
NIIBE Yutaka [Thu, 13 Dec 2012 04:36:23 +0000 (13:36 +0900)]
Card: Fix the process of writing key or generating key.

* g10/app-openpgp.c (store_fpr): Flush KEY-FPR and KEY-TIME.
--

(cherry picked from commit e7dca3e83ebd6df0a7ea55e97c3cd6e91be90af5)

6 years agoFix mksamplekeys awk to not leave out the whitespace altogether
David Shaw [Fri, 30 Nov 2012 17:39:05 +0000 (12:39 -0500)]
Fix mksamplekeys awk to not leave out the whitespace altogether

6 years agoRefresh sample keys
David Shaw [Fri, 30 Nov 2012 17:21:45 +0000 (12:21 -0500)]
Refresh sample keys

* mksamplekeys: Tweak awk script to not add trailing whitespace to
  blank lines (makes git pre-commit hook unhappy).

* samplekeys.asc: Refresh.

6 years agoThe keyserver search menu should honor --keyid-format
David Shaw [Thu, 29 Nov 2012 17:00:46 +0000 (12:00 -0500)]
The keyserver search menu should honor --keyid-format

* keyserver.c (print_keyrec): Honor --keyid-format when getting back
  full fingerprints from the keyserver (the comment in the code was
  correct, the code was not).

6 years agotests: Skip secret key import check in SELinux mode
Werner Koch [Thu, 8 Nov 2012 16:16:40 +0000 (17:16 +0100)]
tests: Skip secret key import check in SELinux mode

* configure.ac (ENABLE_SELINUX_HACKS): New am_conditional.
* checks/Makefile.am (prepared.stamp): Replace by defs-config.inc.
(defs-config.inc): Create and set enable_selinux_hacks variable.
* checks/defs.inc: Include defs-config.inc.

* checks/armor.test: Do not run the last test in selinux mode.

GnuPG-bug-id: 1390

6 years agode.po: Grammar fix
Werner Koch [Thu, 8 Nov 2012 15:31:22 +0000 (16:31 +0100)]
de.po: Grammar fix

* po/de.po: Grammar fix by Daniel Leidert
--

GnuPG-bug-id: 1276

6 years agoCreate off-line card encryption key with the right size.
Werner Koch [Thu, 8 Nov 2012 14:59:47 +0000 (15:59 +0100)]
Create off-line card encryption key with the right size.

* g10/keygen.c (gen_card_key_with_backup): Get the size of the key
from the card.
--

Formerly the off-line encryption key was created with a fixed length
of 1024 bit.  With this change the key is created as expected.

GnuPG-bug-id: 1230

6 years agoSupport the not anymore patented IDEA cipher algorithm.
Werner Koch [Thu, 8 Nov 2012 12:25:02 +0000 (13:25 +0100)]
Support the not anymore patented IDEA cipher algorithm.

* cipher/idea.c: New.  Take from Libgcrypt master and adjust for
direct use in GnuPG.
* cipher/idea-stub.c: Remove.
* cipher/Makefile.am: Add idea.c and remove idea-stub.c rules.
* configure.ac: Remove idea-stub code.
* g10/gpg.c (check_permissions): Remove code path for ITEM==2.
(main): Make --load-extension a dummy option.
* g10/keygen.c (keygen_set_std_prefs): Include IDEA only in PGP2
compatibility mode.
* g10/misc.c (idea_cipher_warn): Remove.  Also remove all callers.
* g10/seckey-cert.c (do_check): Remove emitting of STATUS_RSA_OR_IDEA.
* g10/status.c (get_status_string): Remove STATUS_RSA_OR_IDEA.
* g10/status.h (STATUS_RSA_OR_IDEA): Remove.

--

To keep the number of actually used algorithms low, we support IDEA
only in a basically read-only way (unless --pgp2 is used during key
generation).  It does not make sense to suggest the use of this old 64
bit blocksize algorithm.  However, there is old data available where
it might be helpful to have IDEA available.

6 years agoFix usage of dlerror to conform to POSIX.
Werner Koch [Wed, 7 Nov 2012 20:38:27 +0000 (21:38 +0100)]
Fix usage of dlerror to conform to POSIX.

* cipher/idea-stub.c: Clear last error before dlsym.
--

This is required for NetBSD.

Reported-by: Thomas Klausner
6 years agoImprove handling of random_seed read errors.
Werner Koch [Wed, 7 Nov 2012 17:06:27 +0000 (18:06 +0100)]
Improve handling of random_seed read errors.

* cipher/random.c (read_seed_file): Distinguish between errors and
short reads.
--

This should help to avoid program aborts due to races.  Nevertheless a
better and cross-platform locking would be a more solid solution.

GnuPG-bug-id: 1439

6 years agoRemove trailing white space from one file
Werner Koch [Wed, 7 Nov 2012 17:00:45 +0000 (18:00 +0100)]
Remove trailing white space from one file

--

6 years agoHandle systems which have uint64_t but not the UINT64_C macro.
Thomas Klausner [Sat, 27 Oct 2012 17:56:11 +0000 (19:56 +0200)]
Handle systems which have uint64_t but not the UINT64_C macro.

* include/types.h (U64_C) [!UINT64_C]: Add simple replacement.

--
This could happen with UNIX98-type systems, such as the code on
the netbsd-1-5 branch, and would prevent this package from building
on such systems.

6 years agoIndent nested cpp directives for better readability.
Werner Koch [Tue, 6 Nov 2012 16:44:11 +0000 (17:44 +0100)]
Indent nested cpp directives for better readability.

--

6 years agoFix extern inline use for gcc > 4.3 in c99 mode
Werner Koch [Tue, 6 Nov 2012 16:14:04 +0000 (17:14 +0100)]
Fix extern inline use for gcc > 4.3 in c99 mode

* mpi/mpi-inline.h [!G10_MPI_INLINE_DECL]: Take care of changed extern
inline semantics in gcc.
--

I am not use how this will work out with non-gcc. However, we had no
problems in the past and thus this change is the least invasive for
non-gcc compilers.

6 years agoautogen.sh: Do not use -c with chmod.
Werner Koch [Tue, 6 Nov 2012 15:21:52 +0000 (16:21 +0100)]
autogen.sh: Do not use -c with chmod.

--

6 years agoUpdate translations to adjust for typo fixes
Werner Koch [Fri, 24 Aug 2012 15:29:28 +0000 (17:29 +0200)]
Update translations to adjust for typo fixes

6 years agoUpdate French translation.
David Prévot [Sun, 5 Aug 2012 22:43:02 +0000 (18:43 -0400)]
Update French translation.

* po/fr.po: Update.

6 years agoFix typos spotted during translations
Werner Koch [Fri, 24 Aug 2012 14:37:44 +0000 (16:37 +0200)]
Fix typos spotted during translations

* g10/gpg.c: uppercase after Syntax
* util/secmem.c (print_warn): Update URL.

6 years agoActually show translators comments in PO files
David Prévot [Sun, 5 Aug 2012 22:22:46 +0000 (18:22 -0400)]
Actually show translators comments in PO files

--

Note that strings marked for gettext need to immediately follow a
TRANSLATOR comment block.

6 years agoKeep previous msgids of translated messages
David Prévot [Tue, 31 Jul 2012 23:27:44 +0000 (19:27 -0400)]
Keep previous msgids of translated messages

* po/Makefile.in.in: Use option --previous with msgmerge.

7 years agoWith --quiet do not print reading passphrase from fd message.
Werner Koch [Sun, 29 Apr 2012 09:54:28 +0000 (11:54 +0200)]
With --quiet do not print reading passphrase from fd message.

Fix for bug#1403.
* g10/passphrase.c (read_passphrase_from_fd): Act on --quiet.

7 years agoHonor --cert-digest-algo when recreating a cert.
David Shaw [Wed, 1 Feb 2012 02:30:05 +0000 (21:30 -0500)]
Honor --cert-digest-algo when recreating a cert.

* g10/sign.c (update_keysig_packet): Honor --cert-digest-algo when
  recreating a cert.

This is used by various things in --edit-key like setpref, primary,
etc.  Suggested by Christian Aistleitner.

7 years agoRelease 1.4.12 gnupg-1.4.12
Werner Koch [Mon, 30 Jan 2012 12:42:13 +0000 (13:42 +0100)]
Release 1.4.12

7 years agoFix ChangeLog creation rule.
Werner Koch [Mon, 30 Jan 2012 14:11:54 +0000 (15:11 +0100)]
Fix ChangeLog creation rule.

* Makefile.am (gen-ChangeLog): Use set -e.  Fixes commit b99e77d5.

7 years agoAuto update of uk.po
Werner Koch [Mon, 30 Jan 2012 14:12:31 +0000 (15:12 +0100)]
Auto update of uk.po

--

7 years agoAdd Ukrainian translation.
Werner Koch [Mon, 30 Jan 2012 12:39:31 +0000 (13:39 +0100)]
Add Ukrainian translation.

* po/uk.po: New.
* po/LINGUAS: Add uk.po.

7 years agoUpdate GNU helper files.
Werner Koch [Mon, 30 Jan 2012 09:47:23 +0000 (10:47 +0100)]
Update GNU helper files.

* scripts/config.guess, scripts/config.rpath: Update to version
2012-01-01.
* scripts/config.rpath, scripts/compile, scripts/depcomp: Update to
modern version.
* scripts/texinfo.tex: Update from current gnulib.

7 years agoUpdate sample keys.
Werner Koch [Mon, 30 Jan 2012 09:42:34 +0000 (10:42 +0100)]
Update sample keys.

--

7 years agoUpdate documentation.
Werner Koch [Mon, 30 Jan 2012 09:40:31 +0000 (10:40 +0100)]
Update documentation.

* doc/gpg.texi, doc/specify-user-id.texi, doc/yat2m.c: Update from
current GnuPG master (commit bdde44a).

7 years agoRequire gitlog-to-changelog to be installed.
Werner Koch [Mon, 30 Jan 2012 09:25:06 +0000 (10:25 +0100)]
Require gitlog-to-changelog to be installed.

* Makefile.am (GITLOG_TO_CHANGELOG): New.
(gen-ChangeLog): Use installed version of gitlog-to-changelog.

7 years agoFix typos in comments.
Werner Koch [Tue, 24 Jan 2012 08:48:17 +0000 (09:48 +0100)]
Fix typos in comments.

--
Fixes provided by Gilles Espinasse.

7 years agoDo not copy default merge commit log entries into the ChangeLog.
Werner Koch [Fri, 20 Jan 2012 10:08:06 +0000 (11:08 +0100)]
Do not copy default merge commit log entries into the ChangeLog.

* scripts/gitlog-to-changelog: Skip merge commits.

7 years agoMerge branch 'STABLE-BRANCH-1-4' of git+ssh://playfair.gnupg.org/git/gnupg into STABL...
David Shaw [Fri, 20 Jan 2012 03:34:45 +0000 (22:34 -0500)]
Merge branch 'STABLE-BRANCH-1-4' of git+ssh://playfair.gnupg.org/git/gnupg into STABLE-BRANCH-1-4

7 years agoChanges to --min-cert-level should cause a trustdb rebuild (issue 1366)
David Shaw [Fri, 20 Jan 2012 03:33:51 +0000 (22:33 -0500)]
Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)

* g10/gpgv.c, g10/trustdb.c (read_trust_options): Add min_cert_level

* g10/trustdb.c (check_trustdb_stale): Request a rebuild if
  pending_check_trustdb is true (set when we detect a trustdb
  parameter has changed).

* g10/keylist.c (public_key_list): Use 'l' in the "tru" with-colons
  listing for min_cert_level not matching.

* g10/tdbio.c (tdbio_update_version_record, create_version_record,
  tdbio_db_matches_options, tdbio_dump_record, tdbio_read_record,
  tdbio_write_record): Add a byte for min_cert_level in the tdbio
  version record.

7 years agow32: Always build with -fno-omit-frame-pointer.
Werner Koch [Mon, 16 Jan 2012 17:45:09 +0000 (18:45 +0100)]
w32: Always build with -fno-omit-frame-pointer.

This is required due to a bug in the mingw32 runtime.
* configure.ac (HAVE_W32_SYSTEM): Force use of -fno-omit-frame-pointer.

7 years agow32: Allow passing a relative name for the tarball
Werner Koch [Mon, 16 Jan 2012 17:43:51 +0000 (18:43 +0100)]
w32: Allow passing a relative name for the tarball

* scripts/mk-w32-dist: Prepend PWD to TARBALL.

7 years agoAutomate W32 installer building.
Werner Koch [Mon, 16 Jan 2012 15:12:24 +0000 (16:12 +0100)]
Automate W32 installer building.

* doc/README.W32: Document new installer build procedure.
* scripts/autogen.sh: Pass all args to the installer (regression fix).
* scripts/conf-w32/README: Remove from repo.
* scripts/conf-w32/bzip2-1.diff: Remove from repo.
* scripts/mk-w32-dist: Rewrite.
* scripts/w32installer.nsi [WITH_PATCHES]: Use constant patch file
name.

7 years agoAdd a DECRYPTION_INFO status.
Werner Koch [Fri, 13 Jan 2012 15:20:53 +0000 (16:20 +0100)]
Add a DECRYPTION_INFO status.

* g10/status.h (STATUS_DECRYPTION_INFO): New.
* g10/status.c (get_status_string): Add new status string.
* g10/encr-data.c: Include status.h.
(decrypt_data): Print STATUS_DECRYPTION_INFO.
--
This is  backport of commit  5667e33.

DECRYPTION_INFO <mdc_method> <sym_algo>
   Print information about the symmetric encryption algorithm and
   the MDC method.  This will be emitted even if the decryption
   fails.

7 years agoInclude bzip2 code to ease building for W32.
Werner Koch [Fri, 13 Jan 2012 09:57:42 +0000 (10:57 +0100)]
Include bzip2 code to ease building for W32.

* bzlib/: Include bzip2 code.
* configure.ac [W32]: Force use of included bzip2 code.
* scripts/autogen.sh <--build-w32>: Do not pass --with-bzip option.
* Makefile.am (SUBDIRS): Add bzip.  Use it only under W32.
--

In the past it happened that we forgot to build against bzip2 which is
a standard feature these days.  Having the source included makes sure
that we will always build with bzip2 support.

7 years agoAllow building with the 32 bit mingw-w64 toolchain.
Werner Koch [Thu, 12 Jan 2012 17:10:30 +0000 (18:10 +0100)]
Allow building with the 32 bit mingw-w64 toolchain.

* scripts/autogen.sh <--build-w32>: Support i686-w64-mingw32 and use
it by default if installed.
* keyserver/gpgkeys_ldap.c (my_ldap_start_tls_s): Define macro
depending on compiler version.
(main): Use new macro.
* util/miscutil.c [!HAVE_TIMEGM]: Add prototype for the timegm
autoconf replacement function.
--

It seems that the LDAP keyserver helper build with the old mingw32
toolchain never worked correctly for LDAPS.  The prototype there for
ldap_start_tls_s is plainly wrong for Windows.  Anyway I included
special support so not to break building with the old compiler.

7 years agogpg: Remove unused fields from a trust data structure.
Werner Koch [Thu, 12 Jan 2012 11:19:54 +0000 (12:19 +0100)]
gpg: Remove unused fields from a trust data structure.

The functions tdbio_read_record and tdbio_write_record control the
actual on-disk format.  Thus there is no need to keep reserved fields
in the internal data structure.

* g10/tdbio.h (struct trust_record): Remove reserved fields.

7 years agoTypo fixes and comment re-formatting.
Werner Koch [Thu, 12 Jan 2012 10:47:35 +0000 (11:47 +0100)]
Typo fixes and comment re-formatting.

7 years agoDistribute dotlock.h
David Shaw [Wed, 11 Jan 2012 06:23:59 +0000 (01:23 -0500)]
Distribute dotlock.h

7 years agoRefresh sample keys
David Shaw [Tue, 10 Jan 2012 15:32:03 +0000 (10:32 -0500)]
Refresh sample keys

7 years agoAllow use of a standard space separated fingerprint.
Werner Koch [Tue, 10 Jan 2012 14:32:45 +0000 (15:32 +0100)]
Allow use of a standard space separated fingerprint.

We allow a single or a double space in the middle of the fingerprint
to help with c+p fingerprints from an HTML pages which are not being
enclosed in a "pre" tag.
* g10/getkey.c (classify_user_id): Check for space separated GPG
fingerprint.
--
This is a backport of commit 957fe72 and 372fb4f.

7 years agoReplace file locking by the new portable dotlock code.
Werner Koch [Tue, 10 Jan 2012 14:16:44 +0000 (15:16 +0100)]
Replace file locking by the new portable dotlock code.

* include/dotlock.h: New.  From current gnupg master.
* util/dotlock.c: Ditto.  Include util.h.  The major changes done in
master are: Factor Unix and W32 specific code out into specific
functions.  Define HAVE_POSIX_SYSTEM.  Rearrange some functions.
(disable_dotlock): Rename to dotlock_disable.
(create_dotlock): Rename to dotlock_create and add a dummy arg.
(destroy_dotlock): Rename to dotlock_destroy.
(make_dotlock): Rename to dotlock_take.
(release_dotlock): Rename to dotlock_release.
(remove_lockfiles): Rename to dotlock_remove_lockfiles.

7 years agoUpdate copyright years.
Werner Koch [Tue, 10 Jan 2012 10:51:19 +0000 (11:51 +0100)]
Update copyright years.

* util/argparse.c (default_strusage): Update printed copyright year.

7 years agoUse gcc pragmas to suppress some warnings.
Werner Koch [Tue, 10 Jan 2012 10:31:00 +0000 (11:31 +0100)]
Use gcc pragmas to suppress some warnings.

* configure.ac (AH_BOTTOM): Add GNUPG_GCC_VERSION macro.
* util/estream-printf.c (pr_float): Use new gcc pragma to ignore a
warning about a non-literal format.
* util/miscutil.c (asctimestamp): Ditto.
* cipher/md.c (md_stop_debug): Use new gcc pragme to ignore a warning
* about a set but unused variable.

7 years agoUpdate gitlog-to-changelog.
Werner Koch [Tue, 10 Jan 2012 10:25:23 +0000 (11:25 +0100)]
Update gitlog-to-changelog.

* scripts/gitlog-to-changelog: Update from gnupg master.
* Makefile.am (gen-ChangeLog): Add new options.
* scripts/autogen.sh: Fix typo in URL.  Reported by Gilles Espinasse.

7 years agoUse the longest key ID available when talking to a HKP server.
David Shaw [Wed, 28 Dec 2011 21:41:31 +0000 (16:41 -0500)]
Use the longest key ID available when talking to a HKP server.

This is issue 1340.  Now that PKSD is dead, and SKS supports long key
IDs, this is safe to do.  Patch from Daniel Kahn Gillmor
<dkg@fifthhorseman.net>.

7 years agoGenerate the ChangeLog from commit logs.
Werner Koch [Fri, 2 Dec 2011 19:41:40 +0000 (20:41 +0100)]
Generate the ChangeLog from commit logs.

* scripts/gitlog-to-changelog: New script.  Taken from gnulib.
* scripts/git-log-fix: New file.
* scripts/git-log-footer: New file.
* scripts/git-hooks/commit-msg: New script.
* autogen.sh: Install commit-msg hook for git.
* doc/HACKING: Describe the ChangeLog policy.
* Makefile.am (EXTRA_DIST): Add new files.
(gen-ChangeLog): New.
(dist-hook): Run gen-ChangeLog.

7 years agoRename all ChangeLog files to ChangeLog-2011.
Werner Koch [Fri, 2 Dec 2011 18:42:56 +0000 (19:42 +0100)]
Rename all ChangeLog files to ChangeLog-2011.

* ChangeLog: New file.

7 years agoOn VMS use --batch by default if in batch mode.
Werner Koch [Mon, 12 Sep 2011 13:23:41 +0000 (15:23 +0200)]
On VMS use --batch by default if in batch mode.

This problem was identified and solved by Steven M. Schweda.
Note that the vms specific code is not part of this repository.
See http://antinode.info/dec/sw/gnupg.html for the VMS port.

7 years agoRemoved some set but unused vars.
Werner Koch [Tue, 9 Aug 2011 08:54:22 +0000 (10:54 +0200)]
Removed some set but unused vars.

7 years agoFix aliasing problem.
Werner Koch [Tue, 9 Aug 2011 08:54:02 +0000 (10:54 +0200)]
Fix aliasing problem.

7 years agoFixed some autoconf bit rot.
Werner Koch [Tue, 9 Aug 2011 08:32:21 +0000 (10:32 +0200)]
Fixed some autoconf bit rot.

Autoconf 2.68 is more picky about correct macro usage and thus I fixed
some wrong call conventions for AC_LANG_PROGRAM.  Also factored an m4
conditional construct out from AC_INIT to avoid the "not a literal"
warning.

7 years agoFix bug#1307
Werner Koch [Tue, 9 Aug 2011 08:12:36 +0000 (10:12 +0200)]
Fix bug#1307

This is a backport of the fixes for 2.0.  There is only one real bug,
the other changes are for clarity and for more picky compilers.

7 years agoPrint the decoded iteration count witn --list-packets.
Werner Koch [Fri, 22 Jul 2011 12:00:08 +0000 (14:00 +0200)]
Print the decoded iteration count witn --list-packets.

Fixes bug#1355.

7 years agoAllow building for ARM thumb. Fixes bug#1202.
Werner Koch [Mon, 4 Jul 2011 10:41:45 +0000 (12:41 +0200)]
Allow building for ARM thumb.  Fixes bug#1202.

7 years agoAdd pubkey letters e and E for ECC.
Werner Koch [Fri, 1 Jul 2011 08:21:08 +0000 (10:21 +0200)]
Add pubkey letters e and E for ECC.

This does not mean we have any kind of ECC support now.  It is merely
to avoid printing a question mark for the algorithm.

Trailing white space changes as usual.

8 years ago* photoid.c (generate_photo_id): Check for the JPEG magic numbers
David Shaw [Wed, 6 Apr 2011 03:47:58 +0000 (23:47 -0400)]
* photoid.c (generate_photo_id): Check for the JPEG magic numbers
instead of JFIF since some programs generate an EXIF header first.
This is issue 1331.

8 years agoDon't link gpgv with libreadline
Werner Koch [Wed, 23 Feb 2011 13:29:59 +0000 (14:29 +0100)]
Don't link gpgv with libreadline

Also add a useful .gitignore file.

8 years agoUpdate gpg-zip.1 (bug#1317)
Werner Koch [Wed, 23 Feb 2011 10:12:17 +0000 (11:12 +0100)]
Update gpg-zip.1 (bug#1317)

8 years agoSupport a git revision number
Werner Koch [Tue, 28 Dec 2010 18:50:05 +0000 (19:50 +0100)]
Support a git revision number

8 years agoRevert last two changes and replace by code from libgcrypt 1.4.6.
Werner Koch [Thu, 23 Dec 2010 19:05:31 +0000 (19:05 +0000)]
Revert last two changes and replace by code from libgcrypt 1.4.6.

8 years ago* gpg.c (main): Do not provide a default for
David Shaw [Fri, 29 Oct 2010 19:16:27 +0000 (19:16 +0000)]
* gpg.c (main): Do not provide a default for
--personal-digest-preferences.  This allows the usual digest selection
algorithm to pick a digest based on recipient keys.

8 years ago* pkclist.c (select_algo_from_prefs): Slightly improve the handling of
David Shaw [Fri, 29 Oct 2010 19:14:28 +0000 (19:14 +0000)]
* pkclist.c (select_algo_from_prefs): Slightly improve the handling of
MD5 in preference lists.  Instead of replacing MD5 with SHA-1, just
remove MD5 from the list altogether, and let the next-highest ranked
algorithm be chosen.

8 years ago* pkclist.c (select_algo_from_prefs): Make sure the scores can't
David Shaw [Fri, 29 Oct 2010 17:39:30 +0000 (17:39 +0000)]
* pkclist.c (select_algo_from_prefs): Make sure the scores can't
overflow when picking an algorithm (not a security issue since we
can't pick something not present in all preference lists, but we might
pick something that isn't scored first choice).

8 years agoDetect unsigned time_t and adjust y2038 detection.
Werner Koch [Wed, 27 Oct 2010 10:59:11 +0000 (10:59 +0000)]
Detect unsigned time_t and adjust y2038 detection.

8 years agomips fixes
Werner Koch [Fri, 22 Oct 2010 07:35:30 +0000 (07:35 +0000)]
mips fixes

8 years agoRemove warnings on VMS
Werner Koch [Wed, 20 Oct 2010 06:51:11 +0000 (06:51 +0000)]
Remove warnings on VMS

8 years ago* armor.test: Tweak the bug 1179 test to only run if Twofish is
David Shaw [Wed, 20 Oct 2010 02:27:25 +0000 (02:27 +0000)]
* armor.test: Tweak the bug 1179 test to only run if Twofish is
included in the program.  The sample message requires Twofish.

8 years agoTwo little updates
Werner Koch [Mon, 18 Oct 2010 15:17:23 +0000 (15:17 +0000)]
Two little updates

8 years agoPost release updates
Werner Koch [Mon, 18 Oct 2010 10:28:58 +0000 (10:28 +0000)]
Post release updates

8 years agoAdd a minor feature for w32. gnupg-1.4.11
Werner Koch [Mon, 18 Oct 2010 10:02:29 +0000 (10:02 +0000)]
Add a minor feature for w32.

8 years agoPrepare for 1.4.11
Werner Koch [Mon, 18 Oct 2010 09:24:48 +0000 (09:24 +0000)]
Prepare for 1.4.11

8 years agoVMS fixes
Werner Koch [Sun, 10 Oct 2010 09:53:02 +0000 (09:53 +0000)]
VMS fixes

8 years agoRemove FAQ stuff
Werner Koch [Tue, 5 Oct 2010 14:37:43 +0000 (14:37 +0000)]
Remove FAQ stuff

8 years ago* options.skel: Make the example for force-v3-sigs match reality (it
David Shaw [Tue, 28 Sep 2010 16:13:24 +0000 (16:13 +0000)]
* options.skel: Make the example for force-v3-sigs match reality (it
has defaulted to off since 2007-10-22).

8 years agoThe rest of the VMS changes.
Werner Koch [Tue, 28 Sep 2010 15:55:24 +0000 (15:55 +0000)]
The rest of the VMS changes.

8 years agoMinor changes to help the VMS port
Werner Koch [Tue, 28 Sep 2010 10:07:30 +0000 (10:07 +0000)]
Minor changes to help the VMS port

8 years ago"make distcheck" fix
Werner Koch [Thu, 23 Sep 2010 09:09:49 +0000 (09:09 +0000)]
"make distcheck" fix

8 years agoPreparing a release candidate
Werner Koch [Thu, 23 Sep 2010 08:15:45 +0000 (08:15 +0000)]
Preparing a release candidate

8 years ago.
Werner Koch [Fri, 3 Sep 2010 09:12:23 +0000 (09:12 +0000)]
.

8 years agoMinor fixes
Werner Koch [Tue, 31 Aug 2010 08:42:38 +0000 (08:42 +0000)]
Minor fixes

8 years agosupport more hash algorithms to support the v2 card
Werner Koch [Sat, 24 Jul 2010 09:18:42 +0000 (09:18 +0000)]
support more hash algorithms to support the v2 card

9 years agoBackport bug fix. Fixes bug#1240.
Werner Koch [Fri, 18 Jun 2010 08:08:21 +0000 (08:08 +0000)]
Backport bug fix.  Fixes bug#1240.

9 years agoFix bug 1231.
Werner Koch [Tue, 1 Jun 2010 12:42:39 +0000 (12:42 +0000)]
Fix bug 1231.
Minor doc improvement.

9 years agoIgnore some GnuPG-2 only options.
Werner Koch [Tue, 1 Jun 2010 12:13:31 +0000 (12:13 +0000)]
Ignore some GnuPG-2 only options.

9 years agoFix bug 1179
Werner Koch [Wed, 12 May 2010 16:06:38 +0000 (16:06 +0000)]
Fix bug 1179

9 years agoFix for bug 1223
Werner Koch [Fri, 7 May 2010 12:32:06 +0000 (12:32 +0000)]
Fix for bug 1223

9 years agoForce SHA1 only for v1 cards
Werner Koch [Fri, 26 Mar 2010 18:11:30 +0000 (18:11 +0000)]
Force SHA1 only for v1 cards

9 years ago* plaintext.c (handle_plaintext): Make sure that the stdout flush
David Shaw [Fri, 26 Mar 2010 16:57:09 +0000 (16:57 +0000)]
* plaintext.c (handle_plaintext): Make sure that the stdout flush
succeeded, so we can't lose data when using gpg in a pipeline.  Fixes
bug #1207.

9 years agoFix bug 1186
Werner Koch [Wed, 17 Feb 2010 10:28:27 +0000 (10:28 +0000)]
Fix bug 1186

9 years agoFix bug reporting address.
Werner Koch [Thu, 11 Feb 2010 11:29:07 +0000 (11:29 +0000)]
Fix bug reporting address.

9 years agoChange menu prompts.
Werner Koch [Tue, 2 Feb 2010 14:08:50 +0000 (14:08 +0000)]
Change menu prompts.

9 years agoFix bug#1183
Werner Koch [Fri, 29 Jan 2010 10:37:12 +0000 (10:37 +0000)]
Fix bug#1183