Page MenuHome GnuPG
Feed Advanced Search

Mar 23 2019

dkg added a comment to T4422: `repair-keys` does not reorder signatures on non-merge imports.

Here is a horrible bash function for doing the kind of stripping and re-importing that *does* cause signature re-ordering:

Mar 23 2019, 1:51 AM · gnupg24, Bug Report
dkg created T4422: `repair-keys` does not reorder signatures on non-merge imports.
Mar 23 2019, 1:28 AM · gnupg24, Bug Report
dkg created T4421: import-export does not remove duplicated subkeys.
Mar 23 2019, 12:07 AM · Feature Request, OpenPGP, gnupg (gpg23)

Mar 21 2019

werner added a parent task for T4362: Replace the exec funtions for photoids in gpg by our standard exec functions.: T4417: Work needed for gnupg 2.3.
Mar 21 2019, 1:09 PM · gnupg, Feature Request
werner added a parent task for T4344: Periodic check of own keys with the WKD: T4417: Work needed for gnupg 2.3.
Mar 21 2019, 1:09 PM · wkd, gnupg, Feature Request

Mar 20 2019

dkg added a comment to T714: Meaningful RETURN values.

werner wrote:

Mar 20 2019, 11:10 PM · gnupg, Feature Request
crollinsphoto added a comment to T4392: Imports public key only, will not import secret key.

Great. Thank you.

Mar 20 2019, 5:15 PM · gnupg, Feature Request, gpg4win
aheinecke added a comment to T4392: Imports public key only, will not import secret key.

We are aiming for this week.

Mar 20 2019, 4:03 PM · gnupg, Feature Request, gpg4win
crollinsphoto added a comment to T4392: Imports public key only, will not import secret key.

When will the new gnupg program be released so I can install it?

Charles

Mar 20 2019, 3:21 PM · gnupg, Feature Request, gpg4win

Mar 19 2019

crollinsphoto added a comment to T4392: Imports public key only, will not import secret key.

So where can I get the corrected file to install? I suppose I need the
new gpg4win, it hasn't been updated yet. If I need the signature or TAR
from your website how can I implement that?

Charles

Mar 19 2019, 3:57 PM · gnupg, Feature Request, gpg4win
werner triaged T4399: gpg2 --edit-key "Need the secret key to do this." as Normal priority.
Mar 19 2019, 1:42 PM · gnupg, Documentation
werner closed T4412: Release GnuPG 2.2.14, a subtask of T4392: Imports public key only, will not import secret key, as Resolved.
Mar 19 2019, 12:33 PM · gnupg, Feature Request, gpg4win
crollinsphoto added a comment to T4392: Imports public key only, will not import secret key.

Where can I get the new thing file to install?

Mar 19 2019, 12:12 PM · gnupg, Feature Request, gpg4win
werner closed T4392: Imports public key only, will not import secret key as Resolved.
Mar 19 2019, 9:40 AM · gnupg, Feature Request, gpg4win
aheinecke added a subtask for T4392: Imports public key only, will not import secret key: T4412: Release GnuPG 2.2.14.
Mar 19 2019, 9:20 AM · gnupg, Feature Request, gpg4win
aheinecke changed the status of T4392: Imports public key only, will not import secret key from Open to Testing.

Thanks! I've confirmed that it works for me.

Mar 19 2019, 9:20 AM · gnupg, Feature Request, gpg4win

Mar 18 2019

werner removed a project from T1537: gpgv does not handle expired or revoked keys: gnupg (gpg22).
Mar 18 2019, 7:31 PM · Feature Request, gnupg
werner removed a project from T2398: finger support using SRV DNS records: gnupg (gpg22).
Mar 18 2019, 7:29 PM · gnupg, Feature Request, dirmngr
werner closed T2908: dirmngr can't be build w/o LDAP as Wontfix.
Mar 18 2019, 7:28 PM · dirmngr, gnupg (gpg22), Bug Report, gnupg

Mar 15 2019

werner added a comment to T4392: Imports public key only, will not import secret key.

The secret import code actually had a bug in that it silently imported the secret key anyway, so that after importing the public key the secret key showed up. That was not intended because we do not want to allow importing arbitrary keys or subkeys if the don't have a corresponding public (sub)key with the mandatory key-binding signature. This has now been fixed. A fix for the actual problem will come soon.

Mar 15 2019, 7:45 PM · gnupg, Feature Request, gpg4win
werner claimed T4392: Imports public key only, will not import secret key.
Mar 15 2019, 12:18 PM · gnupg, Feature Request, gpg4win
werner lowered the priority of T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported from Normal to Low.
Mar 15 2019, 12:18 PM · Bug Report, gnupg

Mar 12 2019

crollinsphoto added a comment to T4392: Imports public key only, will not import secret key.

Ok. Let me know so I can try it out.

Mar 12 2019, 11:50 AM · gnupg, Feature Request, gpg4win
aheinecke added a comment to T4392: Imports public key only, will not import secret key.

Yes, I think that if I see an import result with "secret-keys-read && w/o userId's" I can just do a second try.

Mar 12 2019, 8:18 AM · gnupg, Feature Request, gpg4win
werner added projects to T4392: Imports public key only, will not import secret key: Feature Request, gnupg.

Checking the OpenPGP specs again, there is actually an "exit" clause for this PGP bug. Or well, what I would consider to be a bug. A fix for this is not easy because it would require to detect this at an outer level (the ascii armor) which we don't do because gpg is build along a streaming concept as almost all Unix tools. What we can do is to allow import of a secret key in that PGP format iff a public key is already there. In practise this would mean to run the import two times and ignore the errors from the first import.

Mar 12 2019, 7:53 AM · gnupg, Feature Request, gpg4win

Mar 8 2019

werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

I meant the abbreviations. PGP is based on a code base dating back to 1992; for example we mostly used the term keyblock instead of certificate in the code.

Mar 8 2019, 8:26 AM · gnupg (gpg23), Feature Request

Mar 7 2019

justus added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

Those terms are not arbitrary, they are in the RFC.

Mar 7 2019, 9:42 AM · gnupg (gpg23), Feature Request
werner claimed T4307: Importing existing elgamal subkey fails.
Mar 7 2019, 8:00 AM · gnupg, Bug Report
werner triaged T4393: GnuPG should always accept key updates even if the update does not contain UIDs as Normal priority.

Thanks. [I wonder why the looong established terms public-keyblock and key-signature must be replace by arbitrary new terms.]

Mar 7 2019, 7:50 AM · gnupg (gpg23), Feature Request

Mar 6 2019

dkg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.
  • TPK: transferable public key (an "OpenPGP certificate")
  • TPS: Third-party signature (any certification within a TPK that is not made by the primary key, and is not a cross-sig made by a subkey over the primary)
Mar 6 2019, 7:53 PM · gnupg (gpg23), Feature Request
werner edited projects for T4393: GnuPG should always accept key updates even if the update does not contain UIDs, added: gnupg; removed gnupg (gpg22).
Mar 6 2019, 6:05 PM · gnupg (gpg23), Feature Request
aheinecke closed T4391: GnuPG: Failure to import public key as Resolved.

Thank you very much for the analysis. I'll forward the info.

Mar 6 2019, 7:52 AM · Not A Bug, gnupg

Mar 5 2019

werner placed T4391: GnuPG: Failure to import public key up for grabs.

The creating software is broken in regard to non-ASCII characters in the UID:

Mar 5 2019, 8:13 PM · Not A Bug, gnupg
werner claimed T4391: GnuPG: Failure to import public key.
Mar 5 2019, 6:22 PM · Not A Bug, gnupg
aheinecke created T4391: GnuPG: Failure to import public key.
Mar 5 2019, 11:43 AM · Not A Bug, gnupg

Feb 22 2019

werner triaged T4370: Generate revocation certificates for subkey(s) as Normal priority.
Feb 22 2019, 8:47 AM · OpenPGP, gnupg, Feature Request

Feb 11 2019

werner created T4362: Replace the exec funtions for photoids in gpg by our standard exec functions..
Feb 11 2019, 1:56 PM · gnupg, Feature Request
werner edited projects for T3655: Suggest possible choices instead to error out on a typo, added: gnupg; removed gnupg (gpg22).
Feb 11 2019, 1:50 PM · gnupg, Bug Report

Jan 29 2019

werner created T4353: Make gnupg's openpgp_oid_to_str faster.
Jan 29 2019, 5:50 PM · OpenPGP, gnupg
werner triaged T4351: gpg --edit-key should improve selection of subkeys or user IDs as Normal priority.

Good idea.

Jan 29 2019, 11:02 AM · gnupg, Feature Request

Jan 28 2019

dkg added a comment to T4351: gpg --edit-key should improve selection of subkeys or user IDs.

for user ID selection, you could also potentially match on substring, so uid dkg could select/deselect all user IDs that contain "dkg".

Jan 28 2019, 10:12 PM · gnupg, Feature Request
dkg created T4351: gpg --edit-key should improve selection of subkeys or user IDs.
Jan 28 2019, 10:10 PM · gnupg, Feature Request

Jan 25 2019

werner created T4344: Periodic check of own keys with the WKD.
Jan 25 2019, 4:05 PM · wkd, gnupg, Feature Request

Jan 23 2019

rcs added a comment to T169: Add a way to generate keypairs from a passphrase.

Mnemonics can be made language independent by implementing wordlists for every language. In bip39, each word represents a number, 0 through 2047 (their index in the wordlist).

Jan 23 2019, 2:16 PM · gnupg, Feature Request

Jan 21 2019

aheinecke merged T4325: Kleopatra erstellt keine Schlüssel into T4159: Kleopatra fails to create new Key Pair.
Jan 21 2019, 9:04 AM · gnupg, Bug Report, gpg4win
aheinecke added a comment to T4159: Kleopatra fails to create new Key Pair.

I don't think the cause of the corruptions is user interference. Users which report that don't even know about the GnuPG home directory in advance. I think we have some kind of rare bug which causes the keyring to break.

Jan 21 2019, 9:01 AM · gnupg, Bug Report, gpg4win

Dec 20 2018

gniibe added a subtask for T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): T4273: agent: Request insertion of smartcard when no card present.
Dec 20 2018, 12:59 AM · Restricted Project, gnupg, Feature Request

Dec 18 2018

werner lowered the priority of T4200: Evaluate sub-addresses in gpg and wkd from High to Normal.
Dec 18 2018, 9:30 AM · gnupg, Feature Request

Dec 17 2018

gniibe added a comment to T4280: gnupg doc doesn't build due to ImageMagick default policy.

It seems it's Ubuntu specific: https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/1796563

Dec 17 2018, 10:57 AM · gnupg, Documentation, Info Needed, Bug Report
gniibe added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

It became common, because many people now use larger keys.
For RSA-4096, three simultaneous connections for decryption may cause the failure.
In the experimental patch of D472: Limit active connections for gpg-agent, I limit gpg-agent to accept two connections only.

Dec 17 2018, 5:08 AM · gnupg, gpgagent

Dec 16 2018

andy added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Agreed this looks like it should be made default behavior. This has affected many people I work with, and even with searching, this ticket never came up. I only found out about it by making a ticket myself. This issue looks like it has generated at least 3 tickets in this bug tracker, and the agent is raising memory errors during normal usage, which still smells like a bug to me.

Dec 16 2018, 8:18 PM · gnupg, gpgagent

Dec 14 2018

werner added a comment to T4159: Kleopatra fails to create new Key Pair.

The usual reasons for corruptions of binary data are FTP transfers in text mode; or opening a file with a Windows editor.

Dec 14 2018, 2:56 PM · gnupg, Bug Report, gpg4win
aheinecke added a comment to T4159: Kleopatra fails to create new Key Pair.

Got another reliable report in the Wald Forum about this. https://wald.intevation.org/forum/message.php?msg_id=6371&group_id=11

Dec 14 2018, 1:36 PM · gnupg, Bug Report, gpg4win

Dec 12 2018

aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Uhm, if this option is useful why isn't it default behavior?

Dec 12 2018, 10:34 AM · gnupg, gpgagent
werner triaged T4105: Inconsistent output for revocation keys in --list-keys --with-colons as Normal priority.
Dec 12 2018, 9:17 AM · Documentation, gnupg, Bug Report
werner triaged T4280: gnupg doc doesn't build due to ImageMagick default policy as Normal priority.
Dec 12 2018, 9:16 AM · gnupg, Documentation, Info Needed, Bug Report
werner closed T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP as Resolved.
Dec 12 2018, 8:30 AM · gnupg, gpgagent
werner closed T3606: failed to build S-Exp (off=0): Cannot allocate memory, a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:30 AM · gnupg, gpgagent
werner closed T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key", a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:28 AM · gnupg, gpgagent
werner closed T3530: Option to auto-increase secmem in gpg-agent, a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:28 AM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Not a bug :-). I should have read my own docs before starting a long debug session. The things is that the auto expanding of the secmem area is only done for xmalloc_secure and the internal MPI allocation functions. It is not dne for any memory which is allocated with xtrymalloc becuase those properly return an error to the caller. The idea is that if the caller wants to get an error back he has also the assurance that them memory is allocated in the non-swappable memory (i.e. not in the expanded parts of the secmem).

Dec 12 2018, 8:24 AM · gnupg, gpgagent
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key".
Dec 12 2018, 7:26 AM · gnupg, gpgagent
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3606: failed to build S-Exp (off=0): Cannot allocate memory.
Dec 12 2018, 7:23 AM · gnupg, gpgagent
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3530: Option to auto-increase secmem in gpg-agent.
Dec 12 2018, 7:22 AM · gnupg, gpgagent
gniibe merged T3529: Connection limit for gpg-agent into T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:16 AM · gnupg, gpgagent
gniibe added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

For my case, with $GNUPGHOME/gpg-agent.conf having debug-all, I observed that rsa_decrypt failes with 'Cannot allocate memory', after debug output of 'res'.
Reading libgcrypt/cipher/rsa.c, it is line 1439, where it calls sexp_build (MPI of PLAIN into SEXP of R_PLAIN).
I think that it does indeed memory failure here.
Having "auto-expand-secmem" in gpg-agent.conf, it goes well.

Dec 12 2018, 3:47 AM · gnupg, gpgagent

Dec 11 2018

werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

I can easily replicate this; it is a problem somewhere in the secure memory code of Libgcrypt.

Dec 11 2018, 9:08 PM · gnupg, gpgagent
werner closed T4134: GnuPG: Changing the trust model once changes the default trust model as Resolved.

Fix was released with 2.2.11

Dec 11 2018, 3:51 PM · gpg4win, gpgol, Bug Report, gnupg
werner closed T1166: Connecting once-per-key for keys with keyserver preference vs server violate reconnection limit as Wontfix.
Dec 11 2018, 12:39 PM · Ubuntu, gnupg, Feature Request
werner closed T3830: Dirmngr: Bad error message (regression) when no key is found on the keyserver as Resolved.

Thanks.

Dec 11 2018, 12:34 PM · gnupg, dirmngr

Dec 3 2018

werner claimed T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 3 2018, 3:05 PM · gnupg, gpgagent

Nov 19 2018

aheinecke closed T4227: Gpg4win 3.1.5, a subtask of T3967: dirmngr: "flush" does not flush in memory CRL's, as Resolved.
Nov 19 2018, 10:28 AM · kleopatra, S/MIME, gnupg

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