Page MenuHome GnuPG
Feed Advanced Search

Nov 16 2018

werner closed T4259: Invalid version check as Resolved.

Pretty obvious. Thanks.

Nov 16 2018, 9:19 AM · gnupg, Bug Report

Nov 15 2018

stm created T4259: Invalid version check.
Nov 15 2018, 7:04 PM · gnupg, Bug Report
werner triaged T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP as High priority.
Nov 15 2018, 4:07 PM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Hmmm

Nov 15 2018, 4:06 PM · gnupg, gpgagent
aheinecke assigned T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads to werner.

You seem to accept it. So Normal Prio and assigned to you :-p

Nov 15 2018, 3:24 PM · gnupg, gpgagent
aheinecke added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Just as a note: I think the main selling point of GnuPG is that its stable. We care about backwards compatibility and we (are || want to be) rock solid. Even if there is a rare race. With millions of installations, that race will happen regularly. So I really would like us to get all this fixed without losing to much performance by locking to much.

Nov 15 2018, 3:23 PM · gnupg, gpgagent
aheinecke added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Happens though. With the test invocation above there is only one key in the keyring.

Nov 15 2018, 3:12 PM · gnupg, gpgagent
aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

1.9.0-beta68

Nov 15 2018, 3:11 PM · gnupg, gpgagent
werner added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

Well, it should not happen if you always use the same key.

Nov 15 2018, 3:06 PM · gnupg, gpgagent
werner added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

There is indeed a race condition between the passphrase cache and the pinentry invocation. There is even a comment on this somewhere in the code. The problem is that we would need to lock almost everything to avoid this rare condition.

Nov 15 2018, 3:05 PM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Which Libgcrypt version?

Nov 15 2018, 3:02 PM · gnupg, gpgagent
aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Forgot to mention. run-threaded is a new test tool in GPGME.

Nov 15 2018, 12:15 PM · gnupg, gpgagent
aheinecke created T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.
Nov 15 2018, 12:14 PM · gnupg, gpgagent
aheinecke created T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Nov 15 2018, 12:13 PM · gnupg, gpgagent

Nov 12 2018

aheinecke closed T3967: dirmngr: "flush" does not flush in memory CRL's as Resolved.
Nov 12 2018, 1:18 PM · kleopatra, S/MIME, gnupg
aheinecke added a subtask for T3967: dirmngr: "flush" does not flush in memory CRL's: T4227: Gpg4win 3.1.5.
Nov 12 2018, 1:18 PM · kleopatra, S/MIME, gnupg
aheinecke assigned T4249: No connection to Keyserver possible to werner.

I can reproduce it if I enter your or an unknown IP address.

Nov 12 2018, 10:25 AM · gnupg, dirmngr, Bug Report, gpg4win

Nov 9 2018

aheinecke closed T3945: Kleopatra: Loading certificates hangs after first start as Resolved.
Nov 9 2018, 1:43 PM · Bug Report, gnupg, gpg4win
aheinecke added a comment to T3945: Kleopatra: Loading certificates hangs after first start.

I think this is resolved by kleopatra's watchdog. There is a bug that the agent becomes unresponsive somehow then the loading also hangs but this is unrelated to kleopatra.

Nov 9 2018, 1:26 PM · Bug Report, gnupg, gpg4win
aheinecke added a comment to T4200: Evaluate sub-addresses in gpg and wkd.

Sorry I did not see your first comment.

Nov 9 2018, 12:09 PM · gnupg, Feature Request
aheinecke added a comment to T4200: Evaluate sub-addresses in gpg and wkd.

I would change gpgme_addrspec_from_uid and the gnupg equivalent to strip out the subaddress.

Nov 9 2018, 12:07 PM · gnupg, Feature Request
werner added a comment to T4200: Evaluate sub-addresses in gpg and wkd.

It does not make sense to handle this in the protocol. The client should always ask for joe@example.org and thus keep the whole thing mostly out of gpg. This requires that keys are not created with sub-addresses. However, if someone has a need for this, this strategy should work:

Nov 9 2018, 12:07 PM · gnupg, Feature Request

Nov 8 2018

Valodim added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

Fair enough. Let's wait and see what others think.

Nov 8 2018, 1:24 PM · Not A Bug, OpenPGP, gnupg
werner closed T4235: GnuPG doesn't respect key flags when decrypting as Resolved.

Also consider that it is possible to change the key usage flags. Thus it will never be clear whether one has a fixed or unfixed public key. I'd like to close this bug because it is currently also discussed in the IETF WG.

Nov 8 2018, 1:10 PM · Not A Bug, OpenPGP, gnupg

Nov 7 2018

gniibe created T4244: Better enum_secret_keys by asking gpg-agent KEYINFO --list.
Nov 7 2018, 9:21 AM · Restricted Project, gnupg

Nov 5 2018

werner edited projects for T3118: gpg --sign --local-user ... fails with smartcard, added: gnupg; removed gnupg (gpg22).
Nov 5 2018, 9:39 AM · gnupg, Documentation, FAQ
werner closed T4230: Port parsing is broken in misc.c host_and_port_from_url as Resolved.

Fixed in master and 2.2.

Nov 5 2018, 9:27 AM · LDAP, dirmngr, gnupg

Oct 30 2018

stm added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

There is another argument for respecting the usage flags: it trims the admissible key space, if key ID in the PKESK packet is zero ('wild card') and thus all private keys have to be considered for decryption.

Oct 30 2018, 9:48 PM · Not A Bug, OpenPGP, gnupg

Oct 29 2018

aheinecke added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

I disagree, and you don't have to try to convince me, the decision is with werner. I just want to give my opinion:
Bug compatibility is nothing esoteric or bad especially for a general purpose backend tool like gnupg. Being open to accepting broken input is a good thing because it will mean that we can get people out of a "broken tool vendor lock in".

Oct 29 2018, 8:29 PM · Not A Bug, OpenPGP, gnupg
dkg added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

i agree with @Valodim that it would be better to not have a warning at all for an attempt to decrypt from secret key whose public key has never been marked as valid for encryption. A strict failure there (as with a strict failure for lack of mdc) is a better scenario than a warning. If the user controls the secret key and they decide they want to be able to decrypt with it, they should be able to mark it as decryption-capable (if that's really what they want) and retry. But this is an action only for experts.

Oct 29 2018, 8:04 PM · Not A Bug, OpenPGP, gnupg
Valodim added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

The same *cannot* be said for a subkey that is marked specifically for certification or signing, and not for decryption.

Oct 29 2018, 7:57 PM · Not A Bug, OpenPGP, gnupg
dkg added a comment to T4235: GnuPG doesn't respect key flags when decrypting.

I understand the real world requirement for decrypting messages that have been encrypted to a revoked or expired key.

Oct 29 2018, 7:43 PM · Not A Bug, OpenPGP, gnupg
werner triaged T4235: GnuPG doesn't respect key flags when decrypting as Low priority.

I don't see a problem. If you have the private key you can and will use it. I guess your concern is an oracle?

Oct 29 2018, 8:47 AM · Not A Bug, OpenPGP, gnupg

Oct 26 2018

werner closed T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms as Resolved.

Fixed in master and 1.8.
@dkg: Thanks for the comments and your patience to convince me.

Oct 26 2018, 1:54 PM · libgcrypt, gnupg
werner added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

The next step is to release libgcrypt 1.8.4 :-)

Oct 26 2018, 1:51 PM · libgcrypt, gnupg
werner closed T4229: array variable leaks out of scope via the assignment of pointer in ks-engine-ldap.c extract_attributes as Resolved.

Fixed in master and 2.2

Oct 26 2018, 12:24 PM · gnupg

Oct 25 2018

werner triaged T4230: Port parsing is broken in misc.c host_and_port_from_url as High priority.

Oh, that is really old code dating back to dirmngr-1. There is only one user I will see whether I can replace it with the generic parser we have in http.c

Oct 25 2018, 5:46 PM · LDAP, dirmngr, gnupg
werner added a comment to T4229: array variable leaks out of scope via the assignment of pointer in ks-engine-ldap.c extract_attributes.

Now that is funny c+p code. I vaporized it to just a few lines.

Oct 25 2018, 5:23 PM · gnupg
werner triaged T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open as Low priority.

It seems that this part of the code was not finished. Unfortunately upstream of the dns code is unresponsive and thus we started to maintain the code base by ourselves. There is still an open question whether we should do that to the full extend, in which case we would integrate the code closer into the GnuPG framework with its own logging subsystems.

Oct 25 2018, 5:06 PM · dns, gnupg
t8m created T4230: Port parsing is broken in misc.c host_and_port_from_url in the S1 Public space.
Oct 25 2018, 3:00 PM · LDAP, dirmngr, gnupg
t8m created T4229: array variable leaks out of scope via the assignment of pointer in ks-engine-ldap.c extract_attributes in the S1 Public space.
Oct 25 2018, 2:50 PM · gnupg
t8m created T4228: Leaked FILE from tmpfile() in dns.c dns_trace_open in the S1 Public space.
Oct 25 2018, 2:29 PM · dns, gnupg

Oct 24 2018

werner closed T4223: Uninitialized use of ctx variable in simple-pwquery.c as Resolved.

Thanks.

Oct 24 2018, 8:34 PM · gnupg
werner closed T4222: Uninitialized use of value variable in command.c cmd_genkey as Resolved.

Thanks.

Oct 24 2018, 8:33 PM · gnupg
werner removed a project from T4221: Suspicious read error handling in command-ssh.c ssh_handler_add_identity: backport.
Oct 24 2018, 8:33 PM · gnupg
werner closed T4221: Suspicious read error handling in command-ssh.c ssh_handler_add_identity as Resolved.

Thanks.

Oct 24 2018, 8:33 PM · gnupg
werner closed T4220: Leak of FILE memory in gpg-connect-agent.c:do_open as Resolved.

Thanks.

Oct 24 2018, 8:33 PM · gnupg
werner closed T4219: Copy & paste error in gpgsm.c as Resolved.

Thanks

Oct 24 2018, 8:32 PM · gnupg
werner added a project to T4223: Uninitialized use of ctx variable in simple-pwquery.c: backport.

Thanks.

Oct 24 2018, 8:22 PM · gnupg
werner added a project to T4222: Uninitialized use of value variable in command.c cmd_genkey: backport.

Thanks. May also happen if the first print_assuan_status fails.

Oct 24 2018, 8:15 PM · gnupg
werner added a project to T4221: Suspicious read error handling in command-ssh.c ssh_handler_add_identity: backport.
Oct 24 2018, 8:11 PM · gnupg
t8m created T4223: Uninitialized use of ctx variable in simple-pwquery.c in the S1 Public space.
Oct 24 2018, 5:41 PM · gnupg
t8m created T4222: Uninitialized use of value variable in command.c cmd_genkey in the S1 Public space.
Oct 24 2018, 5:13 PM · gnupg
t8m created T4221: Suspicious read error handling in command-ssh.c ssh_handler_add_identity in the S1 Public space.
Oct 24 2018, 5:08 PM · gnupg
t8m created T4220: Leak of FILE memory in gpg-connect-agent.c:do_open in the S1 Public space.
Oct 24 2018, 4:57 PM · gnupg
t8m created T4219: Copy & paste error in gpgsm.c in the S1 Public space.
Oct 24 2018, 4:47 PM · gnupg
aheinecke added a revision to T3967: dirmngr: "flush" does not flush in memory CRL's: D469: dirmngr: Add FLUSHCRLs command.
Oct 24 2018, 10:45 AM · kleopatra, S/MIME, gnupg

Oct 22 2018

werner closed T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities as Resolved.
Oct 22 2018, 7:32 PM · gpgv, gnupg, Bug Report

Oct 21 2018

werner created T4200: Evaluate sub-addresses in gpg and wkd.
Oct 21 2018, 2:46 PM · gnupg, Feature Request

Oct 18 2018

adam added a comment to T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog?.

Dear aheinecke,

Oct 18 2018, 1:04 PM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol
aheinecke closed T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog? as Invalid.

Hi Adam,

Oct 18 2018, 12:26 PM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol

Oct 17 2018

adam created T4189: GngOL cannot decrypt title nor sender; How to disable certificate selection dialog? in the S1 Public space.
Oct 17 2018, 11:49 AM · kleopatra, gnupg, Enigmail, OpenPGP, gpgol

Oct 15 2018

gniibe changed the status of T4158: UIF (User Interaction Flag) DO support from Open to Testing.
Oct 15 2018, 4:28 AM · Restricted Project, Feature Request, scd, gnupg
jeffpc added a comment to T2760: Populate comment field when exporting authentication key for SSH.

While I agree that it would be good for some useful comment to be generated, I'd currently settle for a way to manually set a comment on a key.

Oct 15 2018, 4:15 AM · gnupg24, ssh, Feature Request

Oct 10 2018

werner changed the status of T4134: GnuPG: Changing the trust model once changes the default trust model from Open to Testing.
Oct 10 2018, 11:48 AM · gpg4win, gpgol, Bug Report, gnupg

Oct 9 2018

dkg added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

What are the next steps here? i confess i'm a little tired of doing regular checkins on this issue, and i'm sure other people are tired of me nagging. What can we do to move this along?

Oct 9 2018, 6:39 PM · libgcrypt, gnupg

Oct 8 2018

werner added a comment to T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities.

Editor fault. The browser's editor is not like Emacs and here o my laptop the backspace key does not work as intended. I guess I was about to write ".. a back signature's usage flag".

Oct 8 2018, 11:49 PM · gpgv, gnupg, Bug Report
dkg added a comment to T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities.

what does "back signature's usage tool" mean? can we make an addition to the test suite that ensures that bad signatures will be rejected?

Oct 8 2018, 5:07 PM · gpgv, gnupg, Bug Report
werner reopened T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities as "Testing".

The fix was not fully correct because it considered a back signature's usage tool.

Oct 8 2018, 4:26 PM · gpgv, gnupg, Bug Report

Oct 2 2018

werner added a comment to T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default.

The problem is that the keyserver network is abused as free and
permanent data storage. We can't do much about it without larger
changes on the search capabilities of the keyservers. For more
information see the archives of the sks-devel list starting in July.

Oct 2 2018, 8:50 AM · gnupg, Keyserver

Oct 1 2018

aheinecke added a subtask for T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default: T4165: Dirmngr: Ipv6 causes network failure if Ipv6 can't be reached.
Oct 1 2018, 2:39 PM · gnupg, Keyserver
aheinecke triaged T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default as Normal priority.
Oct 1 2018, 10:24 AM · gnupg, Keyserver
aheinecke claimed T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default.

Ok. I was not aware that HKPS should already have the highest quality.

Oct 1 2018, 10:23 AM · gnupg, Keyserver
kristianf added a comment to T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default.

hkps pool really should be the most responsive, and it already requires clustered only servers for a couple of weeks to try to increase the responsiveness. Experience has shown that any keyserver with less than 3 nodes in a cluster should not be used towards end-users. But do you have any more debugging output as to the problem at hand?

Oct 1 2018, 10:19 AM · gnupg, Keyserver
aheinecke created T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default.
Oct 1 2018, 9:40 AM · gnupg, Keyserver
aheinecke added a project to T4159: Kleopatra fails to create new Key Pair: gnupg.

gpg: keydb_search failed: Provided object is too short

Oct 1 2018, 8:24 AM · gnupg, Bug Report, gpg4win

Sep 27 2018

gniibe added a comment to T4158: UIF (User Interaction Flag) DO support.

Interaction will be something like this:

Sep 27 2018, 8:47 AM · Restricted Project, Feature Request, scd, gnupg
gniibe claimed T4158: UIF (User Interaction Flag) DO support.

Priority is high, because Gnuk Token requires this feature for testing its implementation.

Sep 27 2018, 8:31 AM · Restricted Project, Feature Request, scd, gnupg
gniibe created T4158: UIF (User Interaction Flag) DO support.
Sep 27 2018, 8:30 AM · Restricted Project, Feature Request, scd, gnupg

Sep 12 2018

gniibe abandoned D462: Figure out the session key by looking at all PKT_PUBKEY_ENC packets.

Changes are included to master branch of gnupg.

Sep 12 2018, 9:57 AM · gnupg
aheinecke added a revision to T4134: GnuPG: Changing the trust model once changes the default trust model: D466: core: Add trust-model flag.
Sep 12 2018, 9:55 AM · gpg4win, gpgol, Bug Report, gnupg

Sep 10 2018

werner triaged T4137: IPC syntax error when `gpg` starts `gpg-agent` without `$TERM` variable as Low priority.

Actually it fails only when you set TERM to the empty string. Unsetting TERM still works:

Sep 10 2018, 3:24 PM · gnupg, Bug Report
Enzime created T4137: IPC syntax error when `gpg` starts `gpg-agent` without `$TERM` variable.
Sep 10 2018, 1:47 PM · gnupg, Bug Report

Sep 8 2018

werner claimed T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

Thanks for your comments, Stephan.

Sep 8 2018, 11:13 AM · libgcrypt, gnupg

Sep 7 2018

dkg added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

@aheinecke -- @smueller_chronox.de (author of the comment above) is Stephan Müller from atsec. Glad to see he seems ok with the proposal :)

Sep 7 2018, 9:49 PM · libgcrypt, gnupg
smueller_chronox.de added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

Apologies for not having read all comments in this long thread. I was asked to comment on the patch, so here is my comment:

Sep 7 2018, 5:41 PM · libgcrypt, gnupg
aheinecke created T4135: GnuPG: quick-gen-key should create subkeys depending on usage.
Sep 7 2018, 4:15 PM · gpgme, gnupg
gniibe added a comment to T2836: dirmngr: wakes up periodically.

Patch 0001 applied to master.

Sep 7 2018, 7:30 AM · gnupg, gnupg (gpg23), Bug Report, dirmngr
gniibe closed T3916: Memory leak in read_block as Resolved.

Thanks for your report. Applied.

Sep 7 2018, 6:08 AM · gnupg, Bug Report

Sep 6 2018

werner raised the priority of T4134: GnuPG: Changing the trust model once changes the default trust model from Normal to High.
Sep 6 2018, 10:22 PM · gpg4win, gpgol, Bug Report, gnupg
aheinecke added projects to T4134: GnuPG: Changing the trust model once changes the default trust model: gpgol, gpg4win.

Added gpgol and gpg4win project tags as this is important for these projects.

Sep 6 2018, 7:23 PM · gpg4win, gpgol, Bug Report, gnupg
aheinecke added a subtask for T4134: GnuPG: Changing the trust model once changes the default trust model: T4124: GpgOL: Add option to use automatic trust.
Sep 6 2018, 7:21 PM · gpg4win, gpgol, Bug Report, gnupg
aheinecke created T4134: GnuPG: Changing the trust model once changes the default trust model.
Sep 6 2018, 3:13 PM · gpg4win, gpgol, Bug Report, gnupg

Sep 5 2018

dkg added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

well, i tried to push, anyway, but it looks like playfair is rejecting my pushes:

Sep 5 2018, 4:54 PM · libgcrypt, gnupg
dkg added a comment to T3894: re-evaluate default randomness choices during key generation on GNU/Linux platforms.

@werner -- yes, i am asking for a change that is specific to the way that gcrypt interacts with the Linux kernel. The minor patch i've proposed only affects a codeblock within #if defined(__linux__), so i don't believe it would have an effect on other Unices. I hope that people working with other kernels will propose any necessary fixes for them.

Sep 5 2018, 4:46 PM · libgcrypt, gnupg

Sep 4 2018

aheinecke closed T4029: Gpg4win 3.1.3, a subtask of T4036: gnupg 2.2.9 release, as Resolved.
Sep 4 2018, 9:24 AM · Release Info, gnupg

Aug 31 2018

BenM added a comment to T4058: Connect a TOR server not running on localhost..

Assuming dirmngr is just connecting to localhost on one of the following ports: 9050, 9150 or 8118 (maybe) then an interim workaround could be achieved with ncat (or netcat, or nc ... but ncat is like those two on steroids and will happily pass a shell exec function to connect to the remote host with openssl too (which may be preferred depending on the size of the LAN).

Aug 31 2018, 10:39 AM · Tor, gnupg, Feature Request

Aug 30 2018

werner closed T4112: GnuPG 2.2.10 release as Resolved.

Release done with these major news:

  • gpg: Refresh expired keys originating from the WKD. [T2917]
  • gpg: Use a 256 KiB limit for a WKD imported key.
  • gpg: New option --known-notation. [T4060]
  • scd: Add support for the Trustica Cryptoucan reader.
  • agent: Speed up starting during on-demand launching. [T3490]
  • dirmngr: Validate SRV records in WKD queries.
Aug 30 2018, 3:58 PM · Release Info, gnupg

Aug 29 2018

werner lowered the priority of T2908: dirmngr can't be build w/o LDAP from Normal to Low.
Aug 29 2018, 2:44 PM · gnupg (gpg22), dirmngr, Bug Report, gnupg
aheinecke added a subtask for T4112: GnuPG 2.2.10 release: T4029: Gpg4win 3.1.3.
Aug 29 2018, 11:38 AM · Release Info, gnupg