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

3644 Commits

Author SHA1 Message Date
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
Werner Koch
8eb9ab9d0e Resolved a fuzzy in de.po 2011-01-11 17:04:00 +01:00
Werner Koch
d5c8b726c8 Remove some meta data from po files. 2011-01-11 15:21:27 +01:00
Werner Koch
18936a1970 Fix bug#1307. 2011-01-10 19:35:10 +01:00
Werner Koch
344d72b2f7 Support a git revision string 2011-01-10 15:18:09 +01:00
Werner Koch
fc959326b5 Fix bug#1311 2011-01-10 15:16:07 +01:00
Werner Koch
46ef7f6243 Fix a bug where scdaemon kills a non-daemon gpg-agent.
Fix a passphrase cache annoyance.
2010-11-11 15:08:48 +00:00
David Shaw
2bd66b59a2 * 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.
2010-10-29 19:54:56 +00:00
Werner Koch
7343086808 Fix memory leak 2010-09-29 18:42:43 +00:00
Werner Koch
420b04a504 Add missing space to Assuan command 2010-09-29 08:43:55 +00:00
Werner Koch
9fbaba32a5 fix for bug1234. 2010-09-28 13:21:42 +00:00
Werner Koch
398e686085 Allow more hash algorithms with the OpenPGP card. 2010-09-28 08:29:13 +00:00
Werner Koch
a384e94b73 Fix bug 1285 2010-09-24 13:06:56 +00:00
Werner Koch
9b230eadc8 Return a more specific error code for missing issuer certificates 2010-09-16 14:32:38 +00:00
Werner Koch
96380221ca Fix --include-certs entry. 2010-09-16 11:45:25 +00:00
Werner Koch
dd34f8cf26 Missing spaces fix. 2010-09-03 09:14:45 +00:00
Werner Koch
1803af7a1c Fix 2010-08-23 16:27:10 +00:00
Werner Koch
299cb641e6 Fix --check-options 2010-08-19 11:41:43 +00:00
Werner Koch
e5c6738629 Pass on assuan comment lines from scd.
Fix confidential flag setting.
Print another status_error.
2010-08-11 14:17:25 +00:00
Werner Koch
6628b56e46 Pass on comment lines from scdaemon. 2010-08-11 13:06:35 +00:00
Werner Koch
cc1bd779f6 Fix reallocation bug 2010-07-23 12:30:53 +00:00
Werner Koch
ca0dbfcde5 Update 2010-07-19 11:35:44 +00:00
Werner Koch
ec45cd2d20 Prepare a release 2010-07-19 07:05:30 +00:00
Werner Koch
5eb6899f3e Backport bug fix. Fixes bug#1240. 2010-06-18 08:08:49 +00:00
Werner Koch
68e18c961d Make CAST5 the default s2k algo tomatch the doc and gpg 1.4. 2010-06-17 12:58:51 +00:00
Werner Koch
5b41186bd0 Fix bug#1179 2010-05-12 16:18:49 +00:00
Werner Koch
8cea3321cc Fix bug#1198 2010-05-12 11:03:28 +00:00
Werner Koch
e70fc9d8c9 Fix bug 1207 2010-05-12 10:53:02 +00:00
Werner Koch
25ed36ada0 Include NETLIBS 2010-05-12 10:35:58 +00:00
Werner Koch
bdcedc8453 Update 2010-05-12 10:35:16 +00:00
Werner Koch
608db5c53f Changed test system again to allow building on an NFS mount 2010-05-12 09:49:28 +00:00
Werner Koch
999b12f56f Add file 2010-05-11 18:00:12 +00:00