Page MenuHome GnuPG
Feed Advanced Search

Jan 5 2016

aheinecke renamed T2135: Keyring locking on Windows broken from Bulk key import fails on Windows if Kleopatra is running to Keyring locking on Windows broken.
Jan 5 2016, 11:05 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
aheinecke updated subscribers of T2135: Keyring locking on Windows broken.
Jan 5 2016, 11:03 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
aheinecke added a comment to T2135: Keyring locking on Windows broken.

Yesterday I had a failed Keygeneration while GpgOL's certificate selection
dialog in Kleopatra was open. Tried again and it worked. I did not get Debug
output but the pattern suggests to me that the Certificate selection dialog
looked for changes in the pubring while generating a key and the locking broke
again.

This problem is rising in my priority of Windows Issues as it causes random
failures. There is also a load of similar reports on various channels to be
found through google https://www.google.at/search?q=pubring.bak

Jan 5 2016, 11:03 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
aheinecke raised the priority of T2135: Keyring locking on Windows broken from Normal to High.
Jan 5 2016, 11:03 AM · Bug Report, gpg4win, Windows, gnupg, Windows 32
aheinecke closed T2192: Looking at encrypted / signed sent mails fails again with Exchange as Resolved.
Jan 5 2016, 10:56 AM · Bug Report, gpgol
aheinecke added a comment to T2192: Looking at encrypted / signed sent mails fails again with Exchange.

This is fixed in GpgOL master.

Jan 5 2016, 10:56 AM · Bug Report, gpgol
aheinecke removed a project from T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected: Restricted Project.
Jan 5 2016, 10:55 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
aheinecke added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

I've tested to generate an rsa2048 key with backup on a v2.0 card and it works
now. I have not tested restoring from backup etc. But as this report was about
the failed generation, this issue is resolved imo.

Thanks!

Jan 5 2016, 10:55 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
aheinecke closed T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected as Resolved.
Jan 5 2016, 10:55 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)

Jan 4 2016

tim.mccracken added projects to T2210: Kleopatra causes Smart Card logon to fail: gpg4win, Bug Report.
Jan 4 2016, 8:46 PM · Bug Report, gpg4win

Dec 31 2015

rnd added projects to T2209: minimal dsa/elg bitsize during expert keygen outdated: gnupg (gpg21), gnupg (gpg14), gnupg (gpg20), gnupg, Bug Report.
Dec 31 2015, 6:09 PM · backport, Bug Report, gnupg, gnupg (gpg20), gnupg (gpg14), gnupg (gpg21)

Dec 28 2015

alexlai raised the priority of T2207: recipe for target 'mpih-add1-asm.lo' failed from Normal to Unbreak Now!.
Dec 28 2015, 7:34 PM · Bug Report, libgcrypt
welltell added projects to T2208: Kleopatra and gpgex problem: gpg4win, Bug Report.
Dec 28 2015, 6:58 PM · uiserver, Bug Report, gpg4win, kleopatra
alexlai added projects to T2207: recipe for target 'mpih-add1-asm.lo' failed: libgcrypt, Bug Report.
Dec 28 2015, 1:31 AM · Bug Report, libgcrypt
alexlai set Version to 1.6.4 on T2207: recipe for target 'mpih-add1-asm.lo' failed.
Dec 28 2015, 1:31 AM · Bug Report, libgcrypt

Dec 27 2015

alexlai closed T2206: 5 of 6 tests failed for libgpg-error-1.21 in make check as Resolved.
Dec 27 2015, 9:52 PM · Bug Report, gpgrt
alexlai added a comment to T2206: 5 of 6 tests failed for libgpg-error-1.21 in make check.

due to pth-2.0.7/bin not being added to PATH

Dec 27 2015, 9:52 PM · Bug Report, gpgrt
alexlai added projects to T2206: 5 of 6 tests failed for libgpg-error-1.21 in make check: gpgrt, Bug Report.
Dec 27 2015, 6:51 PM · Bug Report, gpgrt
estellnb added a comment to T2205: GnuPG does not detect damaged keys on import.

Dec 27 2015, 5:51 PM · Not A Bug, Debian, Bug Report, gnupg
estellnb added a comment to T2205: GnuPG does not detect damaged keys on import.

Dec 27 2015, 5:51 PM · Not A Bug, Debian, Bug Report, gnupg
estellnb added a comment to T2205: GnuPG does not detect damaged keys on import.

As I am not sure how to attach files to this report I have uploaded them here:
http://www.elstel.org/uploads/gnupg/

Dec 27 2015, 5:50 PM · Not A Bug, Debian, Bug Report, gnupg
estellnb added a comment to T2205: GnuPG does not detect damaged keys on import.

Dec 27 2015, 5:50 PM · Not A Bug, Debian, Bug Report, gnupg
estellnb added projects to T2205: GnuPG does not detect damaged keys on import: gnupg (gpg14), Keyserver, gnupg, Bug Report, Debian.
Dec 27 2015, 5:36 PM · Not A Bug, Debian, Bug Report, gnupg
estellnb set Version to 1.4.12 on T2205: GnuPG does not detect damaged keys on import.
Dec 27 2015, 5:36 PM · Not A Bug, Debian, Bug Report, gnupg

Dec 26 2015

nervengiftlabs added a comment to T2150: Generating keys on OpenPGP card yields wrong public key.

The patch seems to have fixed it.

Dec 26 2015, 2:37 PM · Bug Report, gnupg, gnupg (gpg21)

Dec 24 2015

patrick added projects to T2204: Wrong FAILURE message if gpg-agent cannot be started: gnupg, Bug Report.
Dec 24 2015, 4:35 PM · Feature Request, gnupg
patrick set Version to 2.1.10 on T2204: Wrong FAILURE message if gpg-agent cannot be started.
Dec 24 2015, 4:35 PM · Feature Request, gnupg
gniibe added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

I removed the not-working checkbkupkey subcommand in
44aee35e69540510617aea4b886ef845590960fe

Dec 24 2015, 3:58 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
gniibe added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

Also fixed the bkuptocard subcommand in: 40959add1ba0efc1f4aa87fa075fa42423eff73c

Dec 24 2015, 3:55 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)

Dec 23 2015

nuimk added a project to T2203: gpgconf fail to start gpg-agent: Bug Report.
Dec 23 2015, 4:18 PM · Not A Bug
gniibe closed T2201: genkey1024.test fails as Resolved.
Dec 23 2015, 10:14 AM · Bug Report, gnupg
gniibe added a comment to T2201: genkey1024.test fails.

Fixed in aecf1a3c.

Dec 23 2015, 10:14 AM · Bug Report, gnupg

Dec 22 2015

Mario set Version to 1.2 on T2202: struct timespec is already defined in MINGW32.
Dec 22 2015, 5:03 PM · In Progress, Bug Report, Windows, npth
Mario added projects to T2202: struct timespec is already defined in MINGW32: npth, Windows 32, Windows, Windows 64, Bug Report.
Dec 22 2015, 5:03 PM · In Progress, Bug Report, Windows, npth
neal set Version to 5c75992 on T2201: genkey1024.test fails.
Dec 22 2015, 3:21 PM · Bug Report, gnupg
neal added projects to T2201: genkey1024.test fails: gnupg, Bug Report.
Dec 22 2015, 3:21 PM · Bug Report, gnupg
gniibe added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Thank you again.

It is likely that the token itself doesn't work well after wakeup from sleep
mode. In this case, all that we can do is re-inserting the token manually.

I'm not sure how PC/SC service handles USB reset after wakeup.

Dec 22 2015, 8:43 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Dec 22 2015, 7:52 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Sorry to say, but mapping the error to "no reader" doesn't help. The first
reset event doesn't get handled. Later it trys to remove the reader but it's
not getting correctly resetted/reinserted again.

I've attached the debug log again

Dec 22 2015, 7:52 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
gniibe added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Thank you for further testing.
I think that current code doesn't handle the case when card goes inactive/reset
while reader keeps working. Current code only goes to the reset sequence for a
card again when it detects reader failure. So, although the concept is
different, I think mapping PSCS_W_CARD_RESET to SW_HOST_NO_READER (for now) will
work. Given the situation we don't yet support multiple cards, this workaround
would be OK for a while.

Dec 22 2015, 2:10 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Dec 22 2015, 12:35 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Nope. Neither mapping the "reset card" event to SW_HOST_CARD_INACTIVE or
SW_HOST_NO_CARD helps. It seems that somewhere in the code the return code
SW error codes are not being handled correctly and the card doesn't get
resetted.

I've attached a small log where you can see that pcsc returns the error
reason "reset card" which then gets remapped to "Card reset required" (was
general error before). I also can see that the error is getting mapped to
GPG_ERR_CARD_RESET (because of the error message "Card reset required")
leaving the daemon around with no working card and reporting general errors
again (0x100b).

Additional Info: This bug only happens when you put your computer/laptop
into sleep mode while the smartcard/reader (yubikey) is plugged in. If I
remove the reader before putting it to sleep and attaching it after getting
out of the sleep mode, the scdaemon works fine.

Dec 22 2015, 12:35 AM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report

Dec 21 2015

dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

D338: 740_0002-scd-map-card-reset-event.patch

Dec 21 2015, 11:29 PM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

Maybe it's more appropriate to map the PSCS_W_CARD_RESET event to the
SW_HOST_CARD_INACTIVE error code which later gets mapped to GPG_ERR_CARD_RESET
error code.

I've attached the patch file. It would make sense to backport this mapping as
well. Right now it's not yet tested.

Dec 21 2015, 11:29 PM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
dhoffend added a comment to T2167: Unplugging USB Smartcard/Yubikey causes problems with scdaemon.

I found another problem with the smartcard service under windows. Putting
the system into sleep mode and waking it up again creates an 0x80100068
error code (aka PCSC_W_RESET_CARD).

I'll test if it helps to map the RESET_CARD event to the same REMOVE_CARD
event to get the card reactivated after sleep mode.

Logfile:
2015-12-21 22:16:57 scdaemon[10040] DBG: send apdu: c=00 i=CA p1=00 p2=C4
lc=-1 le=256 em=0
2015-12-21 22:16:57 scdaemon[10040] DBG: PCSC_data: 00 CA 00 C4 00
2015-12-21 22:16:57 scdaemon[10040] pcsc_transmit failed: reset card
(0x80100068)
2015-12-21 22:16:57 scdaemon[10040] apdu_send_simple(0) failed: general
error

Dec 21 2015, 10:35 PM · gnupg (gpg22), Restricted Project, patch, Windows 64, scd, Windows, Windows 32, Bug Report
bhyde added a comment to T2200: redefinition of typedef ‘ctrl_t’.

I was using "gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-11)", and then I
just updated to "gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)". Sadly,
no change.

Dec 21 2015, 4:55 PM · gnupg, Bug Report
werner closed T1973: Wrong line endings when decrypting to console as Resolved.
Dec 21 2015, 4:17 PM · Windows 32, Windows, Bug Report, gnupg
werner added a comment to T1973: Wrong line endings when decrypting to console.

Okay, Feel free to re-open if you see it again.

Dec 21 2015, 4:17 PM · Windows 32, Windows, Bug Report, gnupg
werner removed a project from T1973: Wrong line endings when decrypting to console: Info Needed.
Dec 21 2015, 4:17 PM · Windows 32, Windows, Bug Report, gnupg
werner added a project to T2200: redefinition of typedef ‘ctrl_t’: gnupg.
Dec 21 2015, 11:44 AM · gnupg, Bug Report
werner added a comment to T2200: redefinition of typedef ‘ctrl_t’.

What compiler are you using?

Such re-definitions/declarations are a common pattern and are actually useful to
implement an OO system in standard C. Hoever, it is easy to change. See commit
98f9e14 .

Dec 21 2015, 11:44 AM · gnupg, Bug Report
gniibe removed a project from T1962: gnupg 1.4.x adds unknown ECC subkeys repeatedly.: In Progress.
Dec 21 2015, 6:50 AM · Bug Report, gnupg
gniibe added a comment to T1962: gnupg 1.4.x adds unknown ECC subkeys repeatedly..

Fixed in 1.4.20 (and 2.0.28).

Dec 21 2015, 6:50 AM · Bug Report, gnupg
gniibe closed T1962: gnupg 1.4.x adds unknown ECC subkeys repeatedly. as Resolved.
Dec 21 2015, 6:50 AM · Bug Report, gnupg

Dec 19 2015

bhyde added a project to T2200: redefinition of typedef ‘ctrl_t’: Bug Report.
Dec 19 2015, 4:27 PM · gnupg, Bug Report
bhyde set Version to 2.1.10 on T2200: redefinition of typedef ‘ctrl_t’.
Dec 19 2015, 4:27 PM · gnupg, Bug Report
kristianf added a comment to T2197: --disable-tofu seems to also disable gnutls.

Thanks, I can confirm that this solves it.

Dec 19 2015, 11:40 AM · gnupg, Bug Report
kristianf closed T2197: --disable-tofu seems to also disable gnutls as Resolved.
Dec 19 2015, 11:40 AM · gnupg, Bug Report
kristianf removed a project from T2197: --disable-tofu seems to also disable gnutls: Restricted Project.
Dec 19 2015, 11:40 AM · gnupg, Bug Report

Dec 18 2015

werner set Version to 2.1.10 on T2197: --disable-tofu seems to also disable gnutls.
Dec 18 2015, 5:16 PM · gnupg, Bug Report
werner added a comment to T2197: --disable-tofu seems to also disable gnutls.

Fixed with commit af14285

Dec 18 2015, 5:16 PM · gnupg, Bug Report
werner added a project to T2197: --disable-tofu seems to also disable gnutls: Restricted Project.
Dec 18 2015, 5:16 PM · gnupg, Bug Report
werner claimed T2197: --disable-tofu seems to also disable gnutls.
Dec 18 2015, 5:04 PM · gnupg, Bug Report
werner added a comment to T2197: --disable-tofu seems to also disable gnutls.

pkg-config weirdness.

Dec 18 2015, 5:04 PM · gnupg, Bug Report
werner lowered the priority of T2199: PATCH v3 0/7] SP800-90A Deterministic Random Bit Generator from High to Normal.
Dec 18 2015, 4:46 PM · Duplicate, libgcrypt, Mistaken
gniibe added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

Fixed in
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commit;h=b30c15bf7c5336c4abb1f9dcd974cd77ba6c61a7

Dec 18 2015, 2:52 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
gniibe added a project to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected: Restricted Project.
Dec 18 2015, 2:52 AM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)

Dec 17 2015

chris.westervelt_advantor.com added projects to T2199: PATCH v3 0/7] SP800-90A Deterministic Random Bit Generator: libgcrypt, Bug Report.
Dec 17 2015, 4:23 PM · Duplicate, libgcrypt, Mistaken
chris.westervelt_advantor.com added a comment to T2199: PATCH v3 0/7] SP800-90A Deterministic Random Bit Generator.

Dec 17 2015, 4:23 PM · Duplicate, libgcrypt, Mistaken
werner added a comment to T1832: gpg --send-keys fails silently if keyserver unavailable.

backported by dkg with commit 0c3d764 for 1.4.19

Dec 17 2015, 3:48 PM · gnupg (gpg14), backport, Bug Report, gnupg
werner removed a project from T1832: gpg --send-keys fails silently if keyserver unavailable: In Progress.
Dec 17 2015, 3:48 PM · gnupg (gpg14), backport, Bug Report, gnupg
werner closed T1832: gpg --send-keys fails silently if keyserver unavailable as Resolved.
Dec 17 2015, 3:48 PM · gnupg (gpg14), backport, Bug Report, gnupg
gniibe added a comment to T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.

I'm considering fixing this.

Dec 17 2015, 1:13 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
gniibe claimed T2169: Smartcard card-edit generate fails when off-card backup of encryption key is selected.
Dec 17 2015, 1:13 PM · gnupg24, gnupg26, Bug Report, gpgagent, gnupg (gpg21)
rhansen added a comment to T2188: can't paste password in pinentry-gnome3.

Yes, pasting into pinentry-gtk-2 with the middle mouse button does work.

I noticed that pinentry-gnome3 uses GcrSystemPrompt, which is documented as
being a system modal prompt. I'm not very familiar with libgcr, but maybe
pinentry-gnome3 could use GcrPromptDialog if no-grab is set.

Dec 17 2015, 6:26 AM · Bug Report, pinentry
gniibe removed a project from T1158: tests/parse-test needs -lgpg-errors: In Progress.
Dec 17 2015, 3:14 AM · Bug Report, poldi
gniibe closed T1158: tests/parse-test needs -lgpg-errors as Resolved.
Dec 17 2015, 3:14 AM · Bug Report, poldi
gniibe added a comment to T1158: tests/parse-test needs -lgpg-errors.

New Debian package is uploaded based on master branch of Poldi.
Problem has gone, so, closing this issue.

Dec 17 2015, 3:14 AM · Bug Report, poldi

Dec 16 2015

aheinecke closed T2191: Only encrypt does not work if S/MIME support is disabled as Resolved.
Dec 16 2015, 5:32 PM · Bug Report, gnupg, gpgol
aheinecke added a comment to T2191: Only encrypt does not work if S/MIME support is disabled.

Fixed with rev. b879f5b

Dec 16 2015, 5:32 PM · Bug Report, gnupg, gpgol
neal added a comment to T2188: can't paste password in pinentry-gnome3.

The gnome3 problem is due to libgcr, which disables and manages the dialog.

I'll take a look at the gtk2 issue soon. Does pasting with the middle mouse
button work?

Dec 16 2015, 3:08 PM · Bug Report, pinentry
neal added a comment to T2186: --encrypt-to ambiguous with a expired and revoked key.

I've implemented this in fc010b6. If you get a chance to test it, I'd
appreciate any feedback! Thanks!

Dec 16 2015, 2:45 PM · gnupg24, Feature Request
neal added a project to T2186: --encrypt-to ambiguous with a expired and revoked key: Restricted Project.
Dec 16 2015, 2:45 PM · gnupg24, Feature Request
neal added a comment to T2198: --encrypt-to finds bogus ambiguity.

This is a bug and was fixed in 2e4e10c1. As you correctly observe, it only
impacts fingerprints and thus your workaround is good. Sorry about that!

Dec 16 2015, 1:07 PM · Bug Report, gnupg
neal closed T2198: --encrypt-to finds bogus ambiguity as Resolved.
Dec 16 2015, 1:07 PM · Bug Report, gnupg
neal added a comment to T2195: keyring: cache consistency problem.

To do writes, we use a copy-update-move scheme. Thus, all updates are atomic.
A read fopen()s the keyring or keybox, seeks and reads. If an update occurs
between the seek and read, the reader will see the old version: fopen is
associated with the inode, not the filename:

  reader                writer
  -------               -------
  fopen("keyring.pub")
  seek(fp)
                         cp("keyring.pub", "keyring.pub~")
                         update("keyring.pub~")
                         mv("keyring.pub~", "keyring.pub")
  read(fp)

Thus, writers don't interfere with readers.

We need to lock the underlying file for updates to avoid the case in which two
updates occur nearly simultaneously, but only one is saved. (Also, since the
updates occur in keyring.pub~, we need to ensure exclusive access to that file.)

  writer1                           writer2
  -------                           -------
  cp("keyring.pub", "keyring.pub~")
  update("keyring.pub~")
                                    cp("keyring.pub", "keyring.pub~")
                                    update("keyring.pub~")
  mv("keyring.pub~", "keyring.pub")
                                    mv("keyring.pub~", "keyring.pub")

In the above case, writer1's update is lost. (Note: it could be worse: if both
update keyring.pub~ simultaneously, there could be corruption.)

The bug that I'm describing below only has to do with the key present cache,
which becomes inconsistent, because we don't track external writes.

Dec 16 2015, 10:49 AM · Bug Report, gnupg
gniibe added a project to T1158: tests/parse-test needs -lgpg-errors: In Progress.
Dec 16 2015, 6:29 AM · Bug Report, poldi
gniibe added a comment to T1158: tests/parse-test needs -lgpg-errors.

In the current master, there is no problem.
In Debian, we needed to add -lgpg-error due to questionable patch introduced by
Debian itself: https://bugs.debian.org/405238

When we use libgcrypt installed by released version of libgcrypt, the master
branch of poldi has no problem.

Dec 16 2015, 6:29 AM · Bug Report, poldi
gniibe added a comment to T2195: keyring: cache consistency problem.

I think that current lock/unlock mechanism is only for mutual exclusion between
multiple writers. I mean, lock/unlock is done to avoid inconsistency caused by
multiple writers.

It seems that we forget to implement mutual exclusion between writers and
readers, as Neal described.

Before 2.1.10, the write access was limited to specific interactive usage
patterns and it didn't cause major problems (it caused rarely if happened).
Now, I think that we should implement mutual exclusion between readers and writers.

Dec 16 2015, 1:45 AM · Bug Report, gnupg
nrickert added projects to T2198: --encrypt-to finds bogus ambiguity: gnupg, Bug Report.
Dec 16 2015, 12:21 AM · Bug Report, gnupg

Dec 15 2015

neal added a project to T2197: --disable-tofu seems to also disable gnutls: gnupg.
Dec 15 2015, 10:30 PM · gnupg, Bug Report
kristianf added a project to T2197: --disable-tofu seems to also disable gnutls: Bug Report.
Dec 15 2015, 10:09 PM · gnupg, Bug Report
neal added projects to T2196: keydb locking can result in deadlock in 2.2: gnupg, Bug Report.
Dec 15 2015, 8:14 PM · gnupg22 (gnupg-2.2.52), Bug Report
neal added a comment to T2193: keyring / keybox race.

D342: 738_0001-gpg-Fix-TOCTTOU-when-updating-keyblocks.patch

Dec 15 2015, 8:08 PM · Bug Report, gnupg
neal added a comment to T2193: keyring / keybox race.

I've attached a fix that does a very small and straightforward modification to
keydb_update_keyblock, which fixes this problem for both the keyring and keybox.

Dec 15 2015, 8:08 PM · Bug Report, gnupg
guilhem removed a project from T2176: --default-key and --local-user stopped working with gpg 2.1.10 and offline master keys: Restricted Project.
Dec 15 2015, 4:00 PM · gnupg, Bug Report
guilhem closed T2176: --default-key and --local-user stopped working with gpg 2.1.10 and offline master keys as Resolved.
Dec 15 2015, 4:00 PM · gnupg, Bug Report
guilhem set Version to 2.1.10 on T2176: --default-key and --local-user stopped working with gpg 2.1.10 and offline master keys.
Dec 15 2015, 4:00 PM · gnupg, Bug Report
guilhem added a comment to T2176: --default-key and --local-user stopped working with gpg 2.1.10 and offline master keys.

I confirm that I'm not able to reproduce T2176 (guilhem on Dec 11 2015, 02:21 PM / Roundup) nor T2176 (guilhem on Dec 11 2015, 01:07 PM / Roundup) with 4ffe44c, so
I'm changing the issue to “resolved”. Thanks for the prompt action!

Dec 15 2015, 4:00 PM · gnupg, Bug Report
neal added a comment to T2193: keyring / keybox race.

My proposed solution is to change keydb_update_keyblock. We don't actually need
to touch the keybox or keyring code.

By the new behavior, I guess you mean getting an error when deleting a key, but
it fails because another process already deleted it. If something like this
were to current occur, then we'd end up with silent corruption. So, it's not
clear how this new behavior would introduce new behavior that could raise problems.

Dec 15 2015, 1:50 PM · Bug Report, gnupg