1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
Commit Graph

3675 Commits

Author SHA1 Message Date
Werner Koch
8e183f41ff Update samplekeys and NEWS.
* doc/samplekeys.asc: Update.
2012-03-26 15:20:18 +02:00
Werner Koch
88633bf3d4 Allow compressed data with algorithm 0.
* g10/mainproc.c (proc_compressed): Remove superfluous check for
an algorithm number of 0.  This is bug#1326.
2012-03-26 15:14:55 +02:00
Werner Koch
8b9fb19a90 Typo fixes in de.po.
--
This is bug#1276 and http://bugs.debian.org/594343
2012-03-26 14:37:48 +02:00
David Shaw
258192d4d4 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.
2012-01-31 21:41:03 -05:00
Werner Koch
4a9d69ca87 Update copyright year. 2012-01-31 18:08:24 +01:00
Werner Koch
92844f475b 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.
2012-01-31 18:01:17 +01:00
Werner Koch
a4b3a420a1 Add Ukrainian translation.
* po/uk.po: New.
* po/LINGUAS: Add uk.po.
2012-01-31 15:43:33 +01:00
Werner Koch
4b5267de86 Update NEWS for the next release.
--
2012-01-31 15:41:29 +01:00
Werner Koch
582857b6da estream: Avoid printing leading zeroes by %p on 32 bit systems.
* common/estream-printf.c (pr_pointer): Synchronize definition of
AULONG with its use.
2012-01-31 15:29:30 +01:00
Werner Koch
f772757ea1 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.
2012-01-31 15:14:20 +01:00
Werner Koch
66e93807a9 Do not copy default merge commit log entries into the ChangeLog.
* scripts/gitlog-to-changelog: Skip merge commits.
2012-01-20 11:22:41 +01:00
Werner Koch
4e7ec0bb83 Add files to .gitignore 2012-01-20 11:20:55 +01:00
David Shaw
333b870929 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.
2012-01-19 23:03:56 -05:00
David Shaw
27a1e8d620 Refresh sample keys 2012-01-11 01:06:16 -05:00
Werner Koch
217d2ec8af 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.
2012-01-03 11:50:13 +01:00
David Shaw
3005b0a6f4 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>.
2011-12-28 16:46:28 -05:00
David Shaw
5a0ed4a2cc 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.
2011-12-15 16:46:28 -05:00
Werner Koch
28c6cef128 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.
2011-12-02 19:28:02 +01:00
Werner Koch
0137097fbb Fixed regression in libcurl.m4
Fixed lost hash sign introduced by previous change (2011-04-08).
Reported by John Marshall.
2011-09-12 15:33:37 +02:00
Werner Koch
56c89aaf50 Edited the announce template 2011-08-04 18:17:47 +02:00
Werner Koch
cb7085244b Post release updates 2011-08-04 17:36:33 +02:00
Werner Koch
a7585eeabe 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.
2011-08-04 16:23:09 +02:00
Werner Koch
2b5a2eb2d2 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.
2011-08-04 15:00:58 +02:00
Werner Koch
d4c7a55958 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.
2011-08-04 14:42:31 +02:00
Werner Koch
172c30bc1c New functions to compute an ssh style fingerprint. 2011-08-04 12:37:13 +02:00
Werner Koch
e306c18624 Removed some set but unused variables. 2011-08-04 12:22:04 +02:00
Werner Koch
60d8c901ce 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.
2011-08-04 11:36:52 +02:00
Werner Koch
dea8ad4535 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.
2011-07-29 10:00:15 +02:00
Werner Koch
ab0d29fdf0 Update config.{guess,sub}. 2011-07-22 14:05:23 +02:00
Werner Koch
3d99d3f5db Print the decoded iteration count with --list-packets.
Fixes bug#1355.
2011-07-22 13:56:14 +02:00
Werner Koch
5a4071a273 Fix crash while reading unsupported ssh keys.
This bug was found by n-roeser at gmx.net
(gnupg-devel@, msgid 4DFC7298.4040509@gmx.net).
2011-07-22 09:40:51 +02:00
Werner Koch
68fb27e7f0 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.
2011-07-21 10:39:38 +02:00
Werner Koch
fb44677c9f 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.
2011-07-07 11:20:53 +02:00
Werner Koch
3fe9938202 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.
2011-07-01 10:33:43 +02:00
Werner Koch
13290b0e0f 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.
2011-06-13 14:35:30 +02:00
Werner Koch
af497d52c3 Include estream.h 2011-04-29 16:17:54 +02:00
Werner Koch
ce98524554 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.
2011-04-29 10:16:58 +02:00
Werner Koch
1226772ffd Fix translaor email 2011-02-23 11:06:03 +01:00
Werner Koch
61b7c3743f Add autogen.sh magic to install git hooks. 2011-02-04 20:45:41 +01:00
Werner Koch
cb2f55e9ed 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.
2011-01-25 21:16:08 +01:00
Werner Koch
abceb05d54 Fix a bug in es_fopenmem etc. 2011-01-20 15:49:20 +01:00
Werner Koch
846d574407 Post release updates 2011-01-13 17:04:47 +01:00
Werner Koch
1f874f860c Finished preparations for 2.0.17 2011-01-13 16:01:21 +01:00
Werner Koch
eb3d99a716 First batch of translation updates. 2011-01-12 15:06:53 +01:00
Werner Koch
9171eb18c9 Changed text template 2011-01-11 20:10:07 +01:00
Werner Koch
56b2bc257a Update copyright year. 2011-01-11 19:49:08 +01:00
Werner Koch
4d364ade61 Add gpgtar backport 2011-01-11 19:35:05 +01:00
Werner Koch
c496112017 Update config.guess files. 2011-01-11 19:34:26 +01:00
Werner Koch
295b51806c Actually update the de.po file 2011-01-11 17:29:28 +01:00
Werner Koch
9c2c1c3102 Updated po files (one new fuzzy) 2011-01-11 17:09:39 +01:00