aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix detection of card removal and insertion.Werner Koch2012-06-252-5/+18
| | | | | | | * 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.
* Support the Cherry ST-2000 card reader.Werner Koch2012-06-252-12/+28
| | | | | | | | | | | | * 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
* fix wLangId in ccid-driver.cNIIBE Yutaka2012-06-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 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...
* Add provisions to build with Libgcrypt 1.6.Werner Koch2012-05-2411-173/+179
| | | | | | | | | | | | | 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.
* Print the hash algorithm in colon mode key listing.Werner Koch2012-05-243-11/+13
| | | | * g10/keylist.c (list_keyblock_colon): Print digest_algo.
* common: Remove generated files only during maintainer-clean.Werner Koch2012-05-081-1/+1
| | | | | | | | | * 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.
* Fix copyright years.Werner Koch2012-05-081-2/+3
| | | | | * scripts/git-log-footer: Add more years; we actually published the first code in 1997.
* Cast second value of a ?: to void in estream.c.Werner Koch2012-03-301-1/+1
| | | | | | * 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.
* Fix --with-pth-prefix help string.Werner Koch2012-03-301-4/+4
| | | | --
* Write the announce message.Werner Koch2012-03-271-27/+32
| | | | --
* Post release updatesWerner Koch2012-03-272-2/+6
| | | | --
* Release 2.0.19.gnupg-2.0.19Werner Koch2012-03-272-2/+2
|
* Update zh_TW translation.Werner Koch2012-03-271-8/+10
|
* Update config.{sub,guess} to version 2012-02-10.Werner Koch2012-03-272-34/+64
| | | | * scripts/config.guess, scripts/config.sub: Update.
* Update texinfo source from master.Werner Koch2012-03-276-765/+985
| | | | | | * doc/gpg-agent.texi, doc/gpg.texi, doc/gpgsm.texi * doc/scdaemon.texi, doc/tools.texi: Update. * doc/yat2m.c: Update.
* Add target to update the texinfo files from master.Werner Koch2012-03-271-0/+10
| | | | * doc/Makefile.am (update-source): New.
* Gettext triggered update of uk.po.Werner Koch2012-03-271-33/+27
| | | | --
* Fix make rules for audit-events.h et al.Werner Koch2012-03-261-2/+2
| | | | | * common/Makefile.am (audit-events.h, status-codes.h): Fix target file name.
* Update samplekeys and NEWS.Werner Koch2012-03-262-422/+927
| | | | * doc/samplekeys.asc: Update.
* Allow compressed data with algorithm 0.Werner Koch2012-03-261-36/+34
| | | | | * g10/mainproc.c (proc_compressed): Remove superfluous check for an algorithm number of 0. This is bug#1326.
* Typo fixes in de.po.Werner Koch2012-03-261-4/+4
| | | | | -- This is bug#1276 and http://bugs.debian.org/594343
* Honor --cert-digest-algo when recreating a cert.David Shaw2012-02-011-2/+7
| | | | | | | | * 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.
* Update copyright year.Werner Koch2012-01-315-89/+91
|
* Require an installed gitlog_to_changelog for make dist.Werner Koch2012-01-312-354/+4
| | | | | | * scripts/gitlog-to-changelog: Remove. * Makefile.am (GITLOG_TO_CHANGELOG): New. (gen-ChangeLog): Use it. Add set -e.
* Add Ukrainian translation.Werner Koch2012-01-314-6/+6754
| | | | | * po/uk.po: New. * po/LINGUAS: Add uk.po.
* Update NEWS for the next release.Werner Koch2012-01-311-0/+8
| | | | --
* estream: Avoid printing leading zeroes by %p on 32 bit systems.Werner Koch2012-01-311-1/+1
| | | | | * common/estream-printf.c (pr_pointer): Synchronize definition of AULONG with its use.
* gpg: Add a DECRYPTION_INFO status.Werner Koch2012-01-313-44/+60
| | | | | | | | | | | | * 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.
* Do not copy default merge commit log entries into the ChangeLog.Werner Koch2012-01-201-1/+7
| | | | * scripts/gitlog-to-changelog: Skip merge commits.
* Add files to .gitignoreWerner Koch2012-01-201-0/+2
|
* Changes to --min-cert-level should cause a trustdb rebuild (issue 1366)David Shaw2012-01-206-18/+34
| | | | | | | | | | | | | | | | * 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.
* Refresh sample keysDavid Shaw2012-01-111-432/+411
|
* Terminate csh commands with a semicolon.Werner Koch2012-01-032-4/+4
| | | | | | | Fixes bug#1386. * agent/gpg-agent.c (main): Terminate csh style output with a semicolon. * scd/scdaemon.c: Ditto.
* Use the longest key ID available when talking to a HKP server.David Shaw2011-12-281-7/+13
| | | | | | 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 <[email protected]>.
* Merge fix for issue 1331 from 1.4.David Shaw2011-12-151-3/+2
| | | | | * photoid.c (generate_photo_id): Check for the JPEG magic numbers instead of JFIF since some programs generate an EXIF header first.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-0241-1334/+2014
| | | | | | | | | | | | | | | * 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.
* Fixed regression in libcurl.m4Werner Koch2011-09-122-1/+6
| | | | | Fixed lost hash sign introduced by previous change (2011-04-08). Reported by John Marshall.
* Edited the announce templateWerner Koch2011-08-041-63/+53
|
* Post release updatesWerner Koch2011-08-042-2/+6
|
* Prepare for the 2.0.18 release.gnupg-2.0.18Werner Koch2011-08-0437-282/+1138
| | | | | | | | Copied texi files from master. Updated de.po. Added more file to gitignore. Removed the large PKITS tarball. General release preparations.
* New option --ssh-fpr for the agent:KEYINFO commandWerner Koch2011-08-044-75/+126
| | | | | Also added the option --data. Hwoever we don't list the other itehms 2.1. does; instead we print dashes.
* Support a confirm flag for ssh.Werner Koch2011-08-048-130/+264
| | | | | This implements the suggestion from bug#1349. With this change the fingerprint of the ssh key is also displayed in the pinentry prompts.
* New functions to compute an ssh style fingerprint.Werner Koch2011-08-045-2/+491
|
* Removed some set but unused variables.Werner Koch2011-08-0425-788/+811
|
* Fixed some autoconf bit rot.Werner Koch2011-08-046-40/+51
| | | | | | | 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.
* Do not print read-only trustdb warning with --quiet.Werner Koch2011-07-292-4/+8
| | | | | This is only a warning and gpg would anyway print an error message if it tries to write to the trustdb.
* Update config.{guess,sub}.Werner Koch2011-07-224-165/+184
|
* Print the decoded iteration count with --list-packets.Werner Koch2011-07-222-20/+27
| | | | Fixes bug#1355.
* Fix crash while reading unsupported ssh keys.Werner Koch2011-07-222-73/+73
| | | | | This bug was found by n-roeser at gmx.net (gnupg-devel@, msgid [email protected]).
* Try to get the only-valid-if-cert-valid cert from the dirmngr first.Werner Koch2011-07-213-89/+173
| | | | | | | | | 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.