gnupg.git
6 years agoFix pinpad input support for passphrase modification. (backport)
NIIBE Yutaka [Fri, 2 Dec 2011 04:57:12 +0000 (13:57 +0900)]
Fix pinpad input support for passphrase modification. (backport)

* apdu.c (pcsc_keypad_verify): Have dummy Lc field with value 0.
(pcsc_keypad_modify): Likewise.
(pcsc_keypad_modify): It's only for ISO7816_CHANGE_REFERENCE_DATA.
bConfirmPIN value is determined by the parameter p0.

* app-openpgp.c (do_change_pin): The flag use_keypad should be 0 when
reset_mode is on, or resetcode is on.  use_keypad only makes sense for
iso7816_change_reference_data_kp.

* iso7816.h (iso7816_put_data_kp): Remove.
(iso7816_reset_retry_counter_kp): Remove.
(iso7816_reset_retry_counter_with_rc_kp): Remove.
(iso7816_change_reference_data_kp): Add an argument: IS_EXCHANGE.

* iso7816.c (iso7816_put_data_kp): Remove.
(iso7816_reset_retry_counter_kp): Remove.
(iso7816_reset_retry_counter_with_rc_kp): Remove.
(iso7816_change_reference_data_kp): Add an argument: IS_EXCHANGE.

6 years agoscd: Fix pinpad input support (backport from master)
NIIBE Yutaka [Thu, 1 Dec 2011 02:09:51 +0000 (11:09 +0900)]
scd: Fix pinpad input support (backport from master)

* app-openpgp.c (do_change_pin): Fix pincb messages when
use_keypad == 1.

6 years agoscd: PC/SC pinpad support (pinpad input for modify pass phrase). (backport)
NIIBE Yutaka [Tue, 29 Nov 2011 02:59:32 +0000 (11:59 +0900)]
scd: PC/SC pinpad support (pinpad input for modify pass phrase). (backport)

* iso7816.h (iso7816_change_reference_data_kp): Remove arguments
of OLDCHV, OLDCHVLEN, NEWCHV, and NEWCHVLEN.

* iso7816.c (iso7816_change_reference_data_kp): Call
apdu_keypad_modify.
(iso7816_change_reference_data): Don't call
iso7816_change_reference_data_kp.

* apdu.h (apdu_keypad_modify): New.

* apdu.c (pcsc_keypad_modify, apdu_keypad_modify): New.
(struct reader_table_s): New memeber function keypad_modify.
(new_reader_slot, open_ct_reader, open_ccid_reader)
(open_rapdu_reader): Initialize keypad_modify.

* app-openpgp.c (do_change_pin): Handle keypad and call
iso7816_change_reference_data_kp if it is the case.

6 years agoscd: PC/SC pinpad support. (Backported from master.)
NIIBE Yutaka [Mon, 28 Nov 2011 07:16:38 +0000 (16:16 +0900)]
scd: PC/SC pinpad support.  (Backported from )

* iso7816.h (iso7816_verify_kp): Remove arguments of CHV and CHVLEN.

* iso7816.c (iso7816_verify_kp): Call apdu_keypad_verify. Only
handle thecase with PININFO.
(iso7816_verify): Call apdu_send_simple.

* app-openpgp.c (verify_a_chv, verify_chv3): Follow the change of
iso7816_verify_kp.

* app-nks.c (verify_pin): Likewise.

* app-dinsig.c (verify_pin): Likewise.

* apdu.c: Include "iso7816.h".
(struct reader_table_s): New memeber function keypad_verify.
Add fields verify_ioctl and modify_ioctl in pcsc.
(CM_IOCTL_GET_FEATURE_REQUEST, FEATURE_VERIFY_PIN_DIRECT)
(FEATURE_MODIFY_PIN_DIRECT): New.
(pcsc_control): New.
(control_pcsc_direct, control_pcsc_wrapped, control_pcsc)
(check_pcsc_keypad, pcsc_keypad_verify): New.
(ccid_keypad_verify, apdu_keypad_verify): New.
(new_reader_slot): Initialize with check_pcsc_keypad,
pcsc_keypad_verify, verify_ioctl and modify_ioctl.
(open_ct_reader): Initialize keypad_verify with NULL.
(open_ccid_reader): Initialize keypad_verify.
(open_rapdu_reader): Initialize keypad_verify with NULL.
(apdu_open_reader): Initialize pcsc_control.

* pcsc-wrapper.c (load_pcsc_driver): Initialize pcsc_control.
(handle_control): New.
(main): Handle the case 6 of handle_control.

6 years agoFix generated ChangeLog entry.
Werner Koch [Wed, 13 Jun 2012 07:35:41 +0000 (09:35 +0200)]
Fix generated ChangeLog entry.

--
Finally Jim's git-fix-log thingy comes handy.

6 years agoscd fixes on error.
NIIBE Yutaka [Tue, 12 Jun 2012 05:51:52 +0000 (14:51 +0900)]
scd fixes on error.

* scd/apdu.c (open_pcsc_reader_wrapped): Show error number.

* scd/command.c (get_reader_slot): Return -1 on error.

6 years agoscd: Fix the changes of scd/command.c
NIIBE Yutaka [Fri, 8 Jun 2012 04:18:06 +0000 (13:18 +0900)]
scd: Fix the changes of scd/command.c

* scd/command.c (do_reset): Assign slot after setting slot_table.

6 years agoscd: Fix resetting and closing of the reader. (Backported by gniibe)
Werner Koch [Wed, 14 Dec 2011 09:30:01 +0000 (10:30 +0100)]
scd: Fix resetting and closing of the reader.  (Backported by gniibe)

* scd/command.c (update_card_removed): Do no act on an invalid VRDR.
(do_reset): Ignore apdu_reset error codes for no and inactive card.
Close the reader before setting the slot to -1.
(update_reader_status_file): Notify the application before closing the
reader.
--

With this change the scd now works as it did in the past.  In
particular there is no more endless loop trying to open the reader by
the update_reader_status_file ticker function.  That bug basically
blocked all card operations until the scdaemon was killed.

6 years agoscd: Retry command SERIALNO for an inactive card.
Werner Koch [Mon, 12 Dec 2011 20:02:54 +0000 (21:02 +0100)]
scd: Retry command SERIALNO for an inactive card.

* scd/command.c (cmd_serialno): Retry once for an inactive card.

6 years agoFix detection of card removal and insertion.
Werner Koch [Mon, 12 Dec 2011 19:34:12 +0000 (20:34 +0100)]
Fix detection of card removal and insertion.

* scd/apdu.c (apdu_connect): Return status codes for no card available
and inactive card.
* scd/command.c (TEST_CARD_REMOVAL): Also test for GPG_ERR_CARD_RESET.
(open_card): Map apdu_connect status to GPG_ERR_CARD_RESET.

6 years agoSupport the Cherry ST-2000 card reader.
Werner Koch [Fri, 2 Dec 2011 17:09:58 +0000 (18:09 +0100)]
Support the Cherry ST-2000 card reader.

* scd/ccid-driver.c (SCM_SCR331, SCM_SCR331DI, SCM_SCR335)
(SCM_SCR3320, SCM_SPR532, CHERRY_ST2000): New constants.
(parse_ccid_descriptor): Use them.
(scan_or_find_usb_device, ccid_transceive_secure): Handle Cherry
ST-2000.  Suggested by Matthias-Christian Ott.

Conflicts:

scd/ccid-driver.c

6 years agofix wLangId in ccid-driver.c
NIIBE Yutaka [Thu, 13 Jan 2011 07:38:31 +0000 (16:38 +0900)]
fix wLangId in ccid-driver.c

This is not a part of pin pad support series of mine.

As I found the bug while I am preparing the patches, I report this.

As CCID protocol is little endian, wLangId of US English = 0x0409
is represented as two bytes of 0x09 then 0x04.

It is really confusing that the code like following is floating
around:
pin_verify -> wLangId = HOST_TO_CCID_16(0x0904);

But, it is 0x0409 (not 0x0904).  It is defined in the documentation:

    http://www.usb.org/developers/docs/USB_LANGIDs.pdf

and origin of this table is Microsoft.  We can see it at:

    http://msdn.microsoft.com/en-us/library/bb165625%28VS.80%29.aspx

Yes, it would be better not to hard-code 0x0409.  It would be better
to try current locale of the user, or to use the first entry of string
descriptor.  I don't have time to implement such a thing...

6 years agoAdd provisions to build with Libgcrypt 1.6.
Werner Koch [Thu, 24 May 2012 08:55:11 +0000 (10:55 +0200)]
Add provisions to build with Libgcrypt 1.6.

Replace gcry_md_start_debug by gcry_md_debug in all files.

* agent/gpg-agent.c (fixed_gcry_pth_init): Use only if
GCRY_THREAD_OPTION_VERSION is 0
* scd/scdaemon.c (fixed_gcry_pth_init): Ditto.
--

Libgcrypt 1.6 will have some minor API changes.  In particular some
deprecated macros and functions will be removed.  PTH will also be
dropped in favor of a thread model neutral locking method.

6 years agoPrint the hash algorithm in colon mode key listing.
Werner Koch [Thu, 24 May 2012 08:13:39 +0000 (10:13 +0200)]
Print the hash algorithm in colon mode key listing.

* g10/keylist.c (list_keyblock_colon): Print digest_algo.

6 years agocommon: Remove generated files only during maintainer-clean.
Werner Koch [Tue, 8 May 2012 13:14:58 +0000 (15:14 +0200)]
common: Remove generated files only during maintainer-clean.

* common/Makefile.am (CLEANFILES): Rename to MAINTAINERCLEANFILES.
--

In general this is not required because automake does this for files
in BUILT_SOURCES anyway.  However, having them in CLEANFILES is wrong.
This is bug#1398.

6 years agoFix copyright years.
Werner Koch [Tue, 8 May 2012 13:57:18 +0000 (15:57 +0200)]
Fix copyright years.

* scripts/git-log-footer: Add more years; we actually published the
first code in 1997.

7 years agoCast second value of a ?: to void in estream.c.
Werner Koch [Fri, 30 Mar 2012 13:29:35 +0000 (15:29 +0200)]
Cast second value of a ?: to void in estream.c.

* common/estream.c (ESTREAM_MUTEX_LOCK): Cast pth_mutex_acquire result
to void.  Some compilers choke on mixing void and int in an
conditional operator.  Reported by Nelson H. F. Beebe.

7 years agoFix --with-pth-prefix help string.
Werner Koch [Fri, 30 Mar 2012 13:21:30 +0000 (15:21 +0200)]
Fix --with-pth-prefix help string.

--

7 years agoWrite the announce message.
Werner Koch [Tue, 27 Mar 2012 09:19:32 +0000 (11:19 +0200)]
Write the announce message.

--

7 years agoPost release updates
Werner Koch [Tue, 27 Mar 2012 09:13:50 +0000 (11:13 +0200)]
Post release updates

--

7 years agoRelease 2.0.19. gnupg-2.0.19
Werner Koch [Tue, 27 Mar 2012 08:19:40 +0000 (10:19 +0200)]
Release 2.0.19.

7 years agoUpdate zh_TW translation.
Werner Koch [Tue, 27 Mar 2012 08:15:11 +0000 (10:15 +0200)]
Update zh_TW translation.

7 years agoUpdate config.{sub,guess} to version 2012-02-10.
Werner Koch [Tue, 27 Mar 2012 08:10:54 +0000 (10:10 +0200)]
Update config.{sub,guess} to version 2012-02-10.

* scripts/config.guess, scripts/config.sub: Update.

7 years agoUpdate texinfo source from master.
Werner Koch [Tue, 27 Mar 2012 08:05:28 +0000 (10:05 +0200)]
Update texinfo source from master.

* doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi
* doc/scdaemon.texi,  doc/tools.texi: Update.
* doc/yat2m.c: Update.

7 years agoAdd target to update the texinfo files from master.
Werner Koch [Tue, 27 Mar 2012 07:34:37 +0000 (09:34 +0200)]
Add target to update the texinfo files from 

* doc/Makefile.am (update-source): New.

7 years agoGettext triggered update of uk.po.
Werner Koch [Tue, 27 Mar 2012 07:33:56 +0000 (09:33 +0200)]
Gettext triggered update of uk.po.

--

7 years agoFix make rules for audit-events.h et al.
Werner Koch [Mon, 26 Mar 2012 18:31:46 +0000 (20:31 +0200)]
Fix make rules for audit-events.h et al.

* common/Makefile.am (audit-events.h, status-codes.h): Fix target file
name.

7 years agoUpdate samplekeys and NEWS.
Werner Koch [Mon, 26 Mar 2012 13:20:18 +0000 (15:20 +0200)]
Update samplekeys and NEWS.

* doc/samplekeys.asc: Update.

7 years agoAllow compressed data with algorithm 0.
Werner Koch [Mon, 26 Mar 2012 13:14:55 +0000 (15:14 +0200)]
Allow compressed data with algorithm 0.

* g10/mainproc.c (proc_compressed): Remove superfluous check for
an algorithm number of 0.  This is bug#1326.

7 years agoTypo fixes in de.po.
Werner Koch [Mon, 26 Mar 2012 12:37:48 +0000 (14:37 +0200)]
Typo fixes in de.po.

--
This is bug#1276 and http://bugs.debian.org/594343

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 agoUpdate copyright year.
Werner Koch [Tue, 31 Jan 2012 17:08:24 +0000 (18:08 +0100)]
Update copyright year.

7 years agoRequire an installed gitlog_to_changelog for make dist.
Werner Koch [Tue, 31 Jan 2012 17:01:17 +0000 (18:01 +0100)]
Require an installed gitlog_to_changelog for make dist.

* scripts/gitlog-to-changelog: Remove.
* Makefile.am (GITLOG_TO_CHANGELOG): New.
(gen-ChangeLog): Use it.  Add set -e.

7 years agoAdd Ukrainian translation.
Werner Koch [Tue, 31 Jan 2012 14:43:33 +0000 (15:43 +0100)]
Add Ukrainian translation.

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

7 years agoUpdate NEWS for the next release.
Werner Koch [Tue, 31 Jan 2012 14:41:29 +0000 (15:41 +0100)]
Update NEWS for the next release.

--

7 years agoestream: Avoid printing leading zeroes by %p on 32 bit systems.
Werner Koch [Tue, 31 Jan 2012 14:29:30 +0000 (15:29 +0100)]
estream: Avoid printing leading zeroes by %p on 32 bit systems.

* common/estream-printf.c (pr_pointer): Synchronize definition of
AULONG with its use.

7 years agogpg: Add a DECRYPTION_INFO status.
Werner Koch [Tue, 31 Jan 2012 14:14:20 +0000 (15:14 +0100)]
gpg: Add a DECRYPTION_INFO status.

* common/status.h (STATUS_DECRYPTION_INFO): New.
* g10/encr-data.c: Include status.h.
(decrypt_data): Emit STATUS_DECRYPTION_INFO line.
--

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 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 agoAdd files to .gitignore
Werner Koch [Fri, 20 Jan 2012 10:20:55 +0000 (11:20 +0100)]
Add files to .gitignore

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 agoRefresh sample keys
David Shaw [Tue, 10 Jan 2012 15:32:03 +0000 (10:32 -0500)]
Refresh sample keys

7 years agoTerminate csh commands with a semicolon.
Werner Koch [Tue, 3 Jan 2012 10:50:13 +0000 (11:50 +0100)]
Terminate csh commands with a semicolon.

Fixes bug#1386.

* agent/gpg-agent.c (main): Terminate csh style output with a semicolon.
* scd/scdaemon.c: Ditto.

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 agoMerge fix for issue 1331 from 1.4.
David Shaw [Thu, 15 Dec 2011 21:46:28 +0000 (16:46 -0500)]
Merge fix for issue 1331 from 1.4.

* photoid.c (generate_photo_id): Check for the JPEG magic numbers
instead of JFIF since some programs generate an EXIF header first.

7 years agoGenerate the ChangeLog from commit logs.
Werner Koch [Fri, 2 Dec 2011 18:28:02 +0000 (19:28 +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.
* 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.

7 years agoFixed regression in libcurl.m4
Werner Koch [Mon, 12 Sep 2011 13:33:37 +0000 (15:33 +0200)]
Fixed regression in libcurl.m4

Fixed lost hash sign introduced by previous change (2011-04-08).
Reported by John Marshall.

7 years agoEdited the announce template
Werner Koch [Thu, 4 Aug 2011 16:17:22 +0000 (18:17 +0200)]
Edited the announce template

7 years agoPost release updates
Werner Koch [Thu, 4 Aug 2011 15:36:33 +0000 (17:36 +0200)]
Post release updates

7 years agoPrepare for the 2.0.18 release. gnupg-2.0.18
Werner Koch [Thu, 4 Aug 2011 14:23:09 +0000 (16:23 +0200)]
Prepare for the 2.0.18 release.

Copied texi files from master.
Updated de.po.
Added more file to gitignore.
Removed the large PKITS tarball.
General release preparations.

7 years agoNew option --ssh-fpr for the agent:KEYINFO command
Werner Koch [Thu, 4 Aug 2011 12:57:35 +0000 (14:57 +0200)]
New option --ssh-fpr for the agent:KEYINFO command

Also added the option --data.  Hwoever we don't list the other itehms
2.1. does; instead we print dashes.

7 years agoSupport a confirm flag for ssh.
Werner Koch [Wed, 20 Jul 2011 18:49:41 +0000 (20:49 +0200)]
Support a confirm flag for ssh.

This implements the suggestion from bug#1349.  With this change the
fingerprint of the ssh key is also displayed in the pinentry prompts.

7 years agoNew functions to compute an ssh style fingerprint.
Werner Koch [Wed, 20 Jul 2011 14:40:29 +0000 (16:40 +0200)]
New functions to compute an ssh style fingerprint.

7 years agoRemoved some set but unused variables.
Werner Koch [Thu, 4 Aug 2011 10:22:04 +0000 (12:22 +0200)]
Removed some set but unused variables.

7 years agoFixed some autoconf bit rot.
Werner Koch [Thu, 4 Aug 2011 09:36:52 +0000 (11:36 +0200)]
Fixed some autoconf bit rot.

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

7 years agoDo not print read-only trustdb warning with --quiet.
Werner Koch [Fri, 29 Jul 2011 08:00:15 +0000 (10:00 +0200)]
Do not print read-only trustdb warning with --quiet.

This is only a warning and gpg would anyway print an error message if
it tries to write to the trustdb.

7 years agoUpdate config.{guess,sub}.
Werner Koch [Fri, 22 Jul 2011 12:05:23 +0000 (14:05 +0200)]
Update config.{guess,sub}.

7 years agoPrint the decoded iteration count with --list-packets.
Werner Koch [Fri, 22 Jul 2011 11:56:14 +0000 (13:56 +0200)]
Print the decoded iteration count with --list-packets.

Fixes bug#1355.

7 years agoFix crash while reading unsupported ssh keys.
Werner Koch [Fri, 22 Jul 2011 07:40:51 +0000 (09:40 +0200)]
Fix crash while reading unsupported ssh keys.

This bug was found by n-roeser at gmx.net
(gnupg-devel@, msgid 4DFC7298.4040509@gmx.net).

7 years agoTry to get the only-valid-if-cert-valid cert from the dirmngr first.
Werner Koch [Thu, 21 Jul 2011 08:39:38 +0000 (10:39 +0200)]
Try to get the only-valid-if-cert-valid cert from the dirmngr first.

This should always work because the dirmngr asked us to validate the
given certificate.  This should make OCSP configuration easier because
there is less requirement to install all certificates for Dirmngr and
gpgsm.

CAUTION:  This code has not yet been tested.

7 years agoAllow generation of card keys up to 4096 bit.
Werner Koch [Thu, 7 Jul 2011 09:20:53 +0000 (11:20 +0200)]
Allow generation of card keys up to 4096 bit.

This patch implementes a chunk mode to pass the key parameters from
scdaemon to gpg.  This allows to pass arbitrary long key paremeters;
it is used for keys larger than 3072 bit.

7 years agoProvide pubkey letters e and E
Werner Koch [Fri, 1 Jul 2011 08:33:43 +0000 (10:33 +0200)]
Provide pubkey letters e and E

This is only to print those letters instead of a question mark.  It
does not mean ECC is or will be supported in this branch.

7 years agoFix a for a bug fix in the latest Libgcrypt.
Werner Koch [Mon, 13 Jun 2011 12:35:30 +0000 (14:35 +0200)]
Fix a for a bug fix in the latest Libgcrypt.

        * pkglue.c (mpi_from_sexp, pk_decrypt): Use GCRYMPI_FMT_USG for
gcry_sexp_nth_mpi.  This fixes a problem with a recent bug fix in
Libgcrypt.

7 years agoInclude estream.h
Werner Koch [Fri, 29 Apr 2011 14:17:54 +0000 (16:17 +0200)]
Include estream.h

7 years agoDo not use pth functions after pth_kill. Fixes bug#1320.
Werner Koch [Fri, 29 Apr 2011 08:16:58 +0000 (10:16 +0200)]
Do not use pth functions after pth_kill.  Fixes bug#1320.

Fabian Keil found the reason for a SIGBUS:

  In the "gpg-agent --daemon" case, main() calls pth_kill()
  after the client has been forked, so when es_deinit() is
  called on exit, acquiring the estream_list_lock seems to
  cause pth to dereference a pointer located in a memory
  region that has previously been free()'d.

My approach to fix it is different than his suggestion.  It should
allow to continue all estream operations after a pth_kill except for
restarting pth.

8 years agoFix translaor email
Werner Koch [Wed, 23 Feb 2011 10:06:03 +0000 (11:06 +0100)]
Fix translaor email

8 years agoAdd autogen.sh magic to install git hooks.
Werner Koch [Fri, 4 Feb 2011 19:45:41 +0000 (20:45 +0100)]
Add autogen.sh magic to install git hooks.

8 years agoFix problem with unplugged card readers.
Werner Koch [Tue, 25 Jan 2011 20:08:36 +0000 (21:08 +0100)]
Fix problem with unplugged card readers.

From Grant Olsons's mail to gnupg-devel@:

  This is three-quarters NIIBE and one-quarter me, but I though it would
  be easier to have a single complete patch that applies to
  STABLE-BRANCH-2-0 than two patches floating around.

  This is basically NIIBE Yatuka's patch here:

  http://lists.gnupg.org/pipermail/gnupg-devel/2010-November/025828.html

  Plus another check that closes down the reader explicitly if we get a
  SW_HOST_NO_READER error, so that an unplugged reader doesn't hold onto
  the first slot, preventing us from getting to the active plugged reader.

8 years agoFix a bug in es_fopenmem etc.
Werner Koch [Thu, 20 Jan 2011 14:49:20 +0000 (15:49 +0100)]
Fix a bug in es_fopenmem etc.

8 years agoPost release updates
Werner Koch [Thu, 13 Jan 2011 16:04:47 +0000 (17:04 +0100)]
Post release updates

8 years agoFinished preparations for 2.0.17 gnupg-2.0.17
Werner Koch [Thu, 13 Jan 2011 15:01:21 +0000 (16:01 +0100)]
Finished preparations for 2.0.17

8 years agoFirst batch of translation updates.
Werner Koch [Wed, 12 Jan 2011 14:06:53 +0000 (15:06 +0100)]
First batch of translation updates.

8 years agoChanged text template
Werner Koch [Tue, 11 Jan 2011 19:10:07 +0000 (20:10 +0100)]
Changed text template

8 years agoUpdate copyright year.
Werner Koch [Tue, 11 Jan 2011 18:49:08 +0000 (19:49 +0100)]
Update copyright year.

8 years agoAdd gpgtar backport
Werner Koch [Tue, 11 Jan 2011 18:35:05 +0000 (19:35 +0100)]
Add gpgtar backport

8 years agoUpdate config.guess files.
Werner Koch [Tue, 11 Jan 2011 18:34:26 +0000 (19:34 +0100)]
Update config.guess files.

8 years agoActually update the de.po file
Werner Koch [Tue, 11 Jan 2011 16:29:28 +0000 (17:29 +0100)]
Actually update the de.po file

8 years agoUpdated po files (one new fuzzy)
Werner Koch [Tue, 11 Jan 2011 16:09:39 +0000 (17:09 +0100)]
Updated po files (one new fuzzy)

8 years agoResolved a fuzzy in de.po
Werner Koch [Tue, 11 Jan 2011 16:04:00 +0000 (17:04 +0100)]
Resolved a fuzzy in de.po

8 years agoRemove some meta data from po files.
Werner Koch [Tue, 11 Jan 2011 14:21:27 +0000 (15:21 +0100)]
Remove some meta data from po files.

8 years agoFix bug#1307.
Werner Koch [Mon, 10 Jan 2011 18:35:10 +0000 (19:35 +0100)]
Fix bug#1307.

8 years agoSupport a git revision string
Werner Koch [Mon, 10 Jan 2011 14:18:09 +0000 (15:18 +0100)]
Support a git revision string

8 years agoFix bug#1311
Werner Koch [Mon, 10 Jan 2011 14:16:07 +0000 (15:16 +0100)]
Fix bug#1311

8 years agoFix a bug where scdaemon kills a non-daemon gpg-agent.
Werner Koch [Thu, 11 Nov 2010 15:08:48 +0000 (15:08 +0000)]
Fix a bug where scdaemon kills a non-daemon gpg-agent.
Fix a passphrase cache annoyance.

8 years ago* pkclist.c (select_algo_from_prefs): Make sure the scores can't
David Shaw [Fri, 29 Oct 2010 19:54:56 +0000 (19:54 +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).

* 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 agoFix memory leak
Werner Koch [Wed, 29 Sep 2010 18:42:43 +0000 (18:42 +0000)]
Fix memory leak

8 years agoAdd missing space to Assuan command
Werner Koch [Wed, 29 Sep 2010 08:43:55 +0000 (08:43 +0000)]
Add missing space to Assuan command

8 years agofix for bug1234.
Werner Koch [Tue, 28 Sep 2010 13:21:42 +0000 (13:21 +0000)]
fix for bug1234.

8 years agoAllow more hash algorithms with the OpenPGP card.
Werner Koch [Tue, 28 Sep 2010 08:29:13 +0000 (08:29 +0000)]
Allow more hash algorithms with the OpenPGP card.

8 years agoFix bug 1285
Werner Koch [Fri, 24 Sep 2010 13:06:56 +0000 (13:06 +0000)]
Fix bug 1285

8 years agoReturn a more specific error code for missing issuer certificates
Werner Koch [Thu, 16 Sep 2010 14:32:38 +0000 (14:32 +0000)]
Return a more specific error code for missing issuer certificates

8 years agoFix --include-certs entry.
Werner Koch [Thu, 16 Sep 2010 11:45:25 +0000 (11:45 +0000)]
Fix --include-certs entry.

8 years agoMissing spaces fix.
Werner Koch [Fri, 3 Sep 2010 09:14:45 +0000 (09:14 +0000)]
Missing spaces fix.

8 years agoFix
Werner Koch [Mon, 23 Aug 2010 16:27:10 +0000 (16:27 +0000)]
Fix

8 years agoFix --check-options
Werner Koch [Thu, 19 Aug 2010 11:41:43 +0000 (11:41 +0000)]
Fix --check-options

8 years agoPass on assuan comment lines from scd.
Werner Koch [Wed, 11 Aug 2010 14:17:25 +0000 (14:17 +0000)]
Pass on assuan comment lines from scd.
Fix confidential flag setting.
Print another status_error.

8 years agoPass on comment lines from scdaemon.
Werner Koch [Wed, 11 Aug 2010 13:06:35 +0000 (13:06 +0000)]
Pass on comment lines from scdaemon.

8 years agoFix reallocation bug
Werner Koch [Fri, 23 Jul 2010 12:30:53 +0000 (12:30 +0000)]
Fix reallocation bug

8 years agoUpdate
Werner Koch [Mon, 19 Jul 2010 11:35:44 +0000 (11:35 +0000)]
Update

8 years agoPrepare a release gnupg-2.0.16
Werner Koch [Mon, 19 Jul 2010 07:05:30 +0000 (07:05 +0000)]
Prepare a release

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