Page MenuHome GnuPG
Feed Advanced Search

Feb 29 2020

werner edited projects for T4862: pubkeys are imported despite the --no-auto-key-retrieve option, added: gnupg, FAQ; removed Bug Report.

--auto-key-retrieves tries to find a key when verifying a signature. --locate-key however does the same as what -r does and locates a key for further use. If you don't what that, don't include a key discovery mechanism in the the auto-key-locate like (wkd in this case, which is anyway the default).

Feb 29 2020, 5:49 PM · Too Old, FAQ, gnupg

Feb 26 2020

aheinecke created T4857: GPGSM: Put encryption key also into signature.
Feb 26 2020, 12:52 PM · gnupg, S/MIME
aheinecke created T4856: GPG: Key Exchange Put public OpenPGP key into signature.
Feb 26 2020, 12:33 PM · Feature Request, gpgol, Keyserver, gnupg

Feb 19 2020

gniibe claimed T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Thanks for your info.

Feb 19 2020, 2:43 AM · Restricted Project, gnupg (gpg22)
sanmai added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

I will be using OpenPGP applet for the YubiKey NEO in a virtialized vanilla Debian environment. This emulated card can sign new keys just as correctly. PINs are the default 12345678 for admin and 123456 for user.

Feb 19 2020, 2:31 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Or your card has the key to certify and its fingerprint is: CB522FE0379DDF40A93400D7E4BC91FACDA9A65B

Feb 19 2020, 2:06 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Simply, we need the output of gpg --card-status to identify which key is on your card.

Feb 19 2020, 2:02 AM · Restricted Project, gnupg (gpg22)
sanmai added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Nope, that's all I had. I'll try to get some debugging info in an hour.

Feb 19 2020, 1:57 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Please show us your card information. Does it have unrelated signing key?

Feb 19 2020, 1:48 AM · Restricted Project, gnupg (gpg22)
sanmai added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

I'm pretty sure. That's the actual output above. Once again, if I remove the smart card, gpg --clearsign starts to just work, without a need to specify --default-key.

Feb 19 2020, 1:07 AM · Restricted Project, gnupg (gpg22)

Feb 18 2020

werner added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

Are you sure that you have only one secret key? (run: gpg -K)

Feb 18 2020, 8:18 PM · Restricted Project, gnupg (gpg22)

Feb 17 2020

sanmai created T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed in the S1 Public space.
Feb 17 2020, 7:20 AM · Restricted Project, gnupg (gpg22)

Feb 15 2020

thomas added a comment to T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF).

Wald certificate will be fixed very soon. But as it is not fixed yet, I provided an http link, not https for you.

Feb 15 2020, 3:41 PM · gnupg (gpg22), S/MIME, Bug Report
werner added projects to T4847: "gpgsm: invalid radix64 character 2d skipped" when trying to import a PEM file with DOS line endings (CR+LF): S/MIME, gnupg.

Thomas, please provide a sample certificate. I can't access the intevation site to see whether one of the links has the cert. And pretty please fix the wald certificates!

Feb 15 2020, 12:43 PM · gnupg (gpg22), S/MIME, Bug Report

Feb 14 2020

gniibe added a comment to T4843: REGEXP support for all systems.

Documentation for the regular expression of Jim Tcl: http://jim.tcl.tk/fossil/doc/trunk/Tcl_shipped.html#_jim_built_in_regular_expressions

Feb 14 2020, 6:15 AM · Restricted Project, gnupg

Feb 12 2020

gniibe triaged T4843: REGEXP support for all systems as Normal priority.
Feb 12 2020, 4:52 AM · Restricted Project, gnupg
gniibe added a comment to T4843: REGEXP support for all systems.

Created gniibe/regexp branch.

Feb 12 2020, 4:52 AM · Restricted Project, gnupg
gniibe added a comment to T4843: REGEXP support for all systems.

RFC4880 (and older version of RFC2440) referes Henry Spenser's REGEXP. There are three implementations: https://garyhouston.github.io/regex/

Feb 12 2020, 3:00 AM · Restricted Project, gnupg
gniibe created T4843: REGEXP support for all systems.
Feb 12 2020, 2:27 AM · Restricted Project, gnupg

Feb 9 2020

macfanpl added a comment to T4702: Deadline for the GnuPG 2.3.0 release.

Am I right as to this being due date?

Feb 9 2020, 12:26 PM · Restricted Project, gpg4win, gnupg

Jan 30 2020

gniibe claimed T4832: card: when KDF is enabled, use of pinpad input should be disabled.
Jan 30 2020, 5:19 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe created T4832: card: when KDF is enabled, use of pinpad input should be disabled.
Jan 30 2020, 5:19 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
aheinecke created T4829: Wish: A gpgconf command to remove all config files.
Jan 30 2020, 12:50 PM · gnupg

Jan 29 2020

werner added a comment to T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.

That looks pretty much like another gawk regression. The easiest fix is to install another AWK version (e.g. mawk).

Jan 29 2020, 10:29 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:34 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:34 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:31 AM · Duplicate, gpgrt, toolchain, Bug Report
JW updated the task description for T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:31 AM · Duplicate, gpgrt, toolchain, Bug Report
JW created T4827: libgpg-error 1.36 and gawk: fatal: cannot use gawk builtin `namespace' as variable name.
Jan 29 2020, 8:28 AM · Duplicate, gpgrt, toolchain, Bug Report

Jan 20 2020

gniibe added a comment to T1983: gpg2 prefers missing secret key to available key on card.

I think that this ticket and https://bugs.debian.org/346241 handle different things, although both do key selection.

Jan 20 2020, 3:32 AM · Bug Report, gnupg

Jan 17 2020

dkg added a comment to T1983: gpg2 prefers missing secret key to available key on card.

This is also https://bugs.debian.org/346241

Jan 17 2020, 7:25 PM · Bug Report, gnupg
gniibe changed the status of T3416: gpg should select available signing key on card (even with -u option), a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Jan 17 2020, 8:12 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T3416: gpg should select available signing key on card (even with -u option) from Open to Testing.

Implemented in master.

Jan 17 2020, 8:12 AM · Restricted Project, Feature Request, gnupg

Jan 16 2020

werner added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

BTW, I just pushed some new features to maste for the gpg-card tool. You can now do

Jan 16 2020, 9:37 PM · Restricted Project, gnupg, Feature Request
aheinecke added a comment to T4812: GnuPG: Parse Paket prints source file name very verbosely.

Yes that is fine with me.

Jan 16 2020, 2:39 PM · gnupg
werner added a comment to T4812: GnuPG: Parse Paket prints source file name very verbosely.

Well that is due to "--debug packet" (aka --debug 1). We have this code

Jan 16 2020, 1:08 PM · gnupg
aheinecke added a project to T4812: GnuPG: Parse Paket prints source file name very verbosely: gnupg.
Jan 16 2020, 11:33 AM · gnupg
gniibe raised the priority of T3416: gpg should select available signing key on card (even with -u option) from Normal to High.
Jan 16 2020, 5:43 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T3416: gpg should select available signing key on card (even with -u option).

With new "KEYINFO" command of scdaemon, finally, we can move on to support better selection of signing key.
(Note: having a private key on multiple cards had already been solved in T4301: Handling multiple subkeys on two SmartCards.)

Jan 16 2020, 5:40 AM · Restricted Project, Feature Request, gnupg
gniibe added a project to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): Restricted Project.
Jan 16 2020, 5:29 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) from Open to Testing.

In master, it has been implemented.

Jan 16 2020, 5:29 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T4695: Remove SERIALNO as an identifier to select keys, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Jan 16 2020, 5:25 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T4695: Remove SERIALNO as an identifier to select keys from Open to Testing.
Jan 16 2020, 5:25 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

The first "SCD SERIALNO" command let scdaemon re-scan smartcards/tokens.

Jan 16 2020, 5:24 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

With new "KEYINFO" command in scdaemon, a list of card keys can be retrieved by:

Jan 16 2020, 5:22 AM · Restricted Project, Feature Request, gnupg
gniibe closed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID as Resolved.
Jan 16 2020, 5:17 AM · scd, Feature Request, gnupg
gniibe closed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID, a subtask of T4695: Remove SERIALNO as an identifier to select keys, as Resolved.
Jan 16 2020, 5:17 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

There is no use cases for $SIGNKEYID.

Jan 16 2020, 5:16 AM · scd, Feature Request, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$ENCRKEYID use case have been removed.

Jan 16 2020, 5:14 AM · scd, Feature Request, gnupg

Jan 13 2020

gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$AUTHKEYID use cases have been removed.

Jan 13 2020, 8:53 AM · scd, Feature Request, gnupg

Jan 10 2020

whites11 added a comment to T1756: gpg-agent doesn't accept ssh certificates.

I am wondering if there is any workaround or work in progress about this old ticket.
I understand this is kind of an edge case, but having the possibility to use signed ssh keys would be very useful to me.

Jan 10 2020, 2:37 PM · gnupg, Feature Request

Jan 9 2020

werner created T4803: Print a diagnostic for a missing encryption subkey.
Jan 9 2020, 2:34 PM · Feature Request, OpenPGP, gnupg

Jan 8 2020

werner added a comment to T4755: WoT forgeries using SHA-1.

FWIW, the second listed commit is the right one. You should only look at the STABLE-STABLE-2-2 branch. master and that branch differ; in particular we do not have a cut-off date in master (to be 2.3).

Jan 8 2020, 10:52 AM · CVE, gnupg
werner set External Link to https://sha-mbles.github.io/ on T4755: WoT forgeries using SHA-1.
Jan 8 2020, 10:34 AM · CVE, gnupg

Jan 4 2020

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

As a user I think that this capability would be a great addition to PGP and it might even make it a standard tool for key generation across cryptocurrencies.

Jan 4 2020, 9:59 PM · gnupg, Feature Request

Dec 23 2019

werner placed T4745: GnuPG, Kleopatra: Remove Name length limitation for new keys up for grabs.

The Name field in GnuPG needs to be at least 5 _bytes_ long. Given that UTF-8 is required for Hangul, a 3 _character_ name is at least 6 bytes long and thus passes gpg check. The Name field is also optional and the whole test can be skipped using --allow-freeform-uid.

Dec 23 2019, 2:08 PM · kleopatra, gnupg
werner closed T4061: gnupg: --with-colons --with-secret returns wrong results if specific keys are queried as Resolved.

Fixed in master and 2.2

Dec 23 2019, 1:58 PM · gpgme, Bug Report, gnupg
werner added a parent task for T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): Restricted Maniphest Task.
Dec 23 2019, 11:03 AM · Restricted Project, gnupg, Feature Request
werner removed a subtask for T4695: Remove SERIALNO as an identifier to select keys: Restricted Maniphest Task.
Dec 23 2019, 11:02 AM · Restricted Project, Feature Request, gnupg

Dec 19 2019

aheinecke added a comment to T4061: gnupg: --with-colons --with-secret returns wrong results if specific keys are queried.

Related task: About subkeys is T4028

Dec 19 2019, 1:18 PM · gpgme, Bug Report, gnupg
aheinecke added a comment to T4061: gnupg: --with-colons --with-secret returns wrong results if specific keys are queried.

Prio raised and assigned to werner as he asked for it.

Dec 19 2019, 1:18 PM · gpgme, Bug Report, gnupg
aheinecke assigned T4061: gnupg: --with-colons --with-secret returns wrong results if specific keys are queried to werner.
Dec 19 2019, 1:17 PM · gpgme, Bug Report, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

Considering the concrete use case(s), it is more rational to support listing by capability.

NOTE: exposing capability is orthogonal issue
Dec 19 2019, 12:23 AM · scd, Feature Request, gnupg

Dec 18 2019

gniibe renamed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID from Remove referring by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID to Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.
Dec 18 2019, 2:36 AM · scd, Feature Request, gnupg
gniibe lowered the priority of T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID from Unbreak Now! to Normal.
Dec 18 2019, 2:30 AM · scd, Feature Request, gnupg
gniibe created T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.
Dec 18 2019, 2:22 AM · scd, Feature Request, gnupg
gniibe added a subtask for T4695: Remove SERIALNO as an identifier to select keys: Restricted Maniphest Task.
Dec 18 2019, 1:36 AM · Restricted Project, Feature Request, gnupg
gniibe added a parent task for T4301: Handling multiple subkeys on two SmartCards: T4695: Remove SERIALNO as an identifier to select keys.
Dec 18 2019, 1:35 AM · Restricted Project, gnupg, scd, Bug Report
gniibe added a subtask for T4695: Remove SERIALNO as an identifier to select keys: T4301: Handling multiple subkeys on two SmartCards.
Dec 18 2019, 1:35 AM · Restricted Project, Feature Request, gnupg

Dec 17 2019

werner added a comment to T4695: Remove SERIALNO as an identifier to select keys.

Many cards have some printed information and I consider them important to avoid testing one by one all the cards from my pocket.
This I am really in favor of beeing asked to insert the respective card. The new text format private key files make it much easier to maintain this info

Dec 17 2019, 4:36 PM · Restricted Project, Feature Request, gnupg

Dec 7 2019

pacien added a comment to T1287: Feature request: --decrypt-only.
In T1287#94619, @werner wrote:

2.1 has the option --unwrap to just this.

Dec 7 2019, 11:10 PM · Duplicate, gnupg, Feature Request

Dec 6 2019

gniibe added a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4293: Add dedicated X25519 function to Libcgrypt .
Dec 6 2019, 5:20 AM · Restricted Project, gpg4win, gnupg
gniibe added a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4713: Bug in get_best_pubkey_byname.
Dec 6 2019, 5:09 AM · Restricted Project, gpg4win, gnupg
gniibe removed a subtask for T4702: Deadline for the GnuPG 2.3.0 release: T4713: Bug in get_best_pubkey_byname.
Dec 6 2019, 5:09 AM · Restricted Project, gpg4win, gnupg
gniibe added a subtask for T4702: Deadline for the GnuPG 2.3.0 release: T4713: Bug in get_best_pubkey_byname.
Dec 6 2019, 5:05 AM · Restricted Project, gpg4win, gnupg
gniibe closed T4362: Replace the exec funtions for photoids in gpg by our standard exec functions. as Resolved.
Dec 6 2019, 3:38 AM · gnupg, Feature Request
gniibe added a subtask for T4362: Replace the exec funtions for photoids in gpg by our standard exec functions.: T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 3:37 AM · gnupg, Feature Request
gniibe added a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4362: Replace the exec funtions for photoids in gpg by our standard exec functions..
Dec 6 2019, 3:37 AM · Restricted Project, gpg4win, gnupg
gniibe added a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4620: no support for multiple (yubikey) smartcards plugged in at the same time.
Dec 6 2019, 3:08 AM · Restricted Project, gpg4win, gnupg
gniibe closed T4280: gnupg doc doesn't build due to ImageMagick default policy as Resolved.
Dec 6 2019, 3:04 AM · gnupg, Documentation, Info Needed, Bug Report

Dec 5 2019

gniibe added a comment to T4256: gpg-agent: Spurious pinentries for an already unlocked key when decryption OpenPGP in 10 threads.

My analysis is that it's not a race condition but... it's about secure memory.
It is true that we have a race condition between putting an entry to cache after pinentry interaction _and_ next examining cache to invoke pinentry. But for this test case, the gpg process of unlock the key (and cache the passphrase) is finished before running the run-threaded command.

Dec 5 2019, 6:33 AM · gnupg, gpgagent

Dec 2 2019

werner closed T4761: Verify signatures failed as Invalid.
Dec 2 2019, 5:27 PM · Support, gnupg

Nov 29 2019

apo added a comment to T4755: WoT forgeries using SHA-1.

I am currently investigating the issue known as CVE-2019-14855 for Debian's LTS version Debian 8 "Jessie" and even Debian 7 "Wheezy".

Nov 29 2019, 11:31 PM · CVE, gnupg
werner closed T4762: GPG decryption results in error "double free detected in tcache 2" as Resolved.

Regression due to a faulty backport. Fixed in repo; patch is F1052802
Thanks for reporting.

Nov 29 2019, 5:50 PM · gnupg, Bug Report
werner added a comment to T4762: GPG decryption results in error "double free detected in tcache 2".

Okay, I can replicate that on gnupg 2.2; it works correct on master.

Nov 29 2019, 4:43 PM · gnupg, Bug Report
werner triaged T4762: GPG decryption results in error "double free detected in tcache 2" as High priority.
Nov 29 2019, 4:33 PM · gnupg, Bug Report
nijssels created T4762: GPG decryption results in error "double free detected in tcache 2".
Nov 29 2019, 9:03 AM · gnupg, Bug Report

Nov 28 2019

werner removed a project from T4761: Verify signatures failed: Bug Report.

I am not sure what you want you are going. I see is a verify command using an unknown file or number of files without knowing its content (using globbing (*-SOMETHING) is not a good idea). Some signature is verified okay but it is not known whether the key is trustworthy. You export a ke and then you do a verify on the key - this can't work because a key-file is not a signature.

Nov 28 2019, 6:38 PM · Support, gnupg
Rycky_Tigg created T4761: Verify signatures failed.
Nov 28 2019, 1:58 PM · Support, gnupg

Nov 26 2019

werner closed T4759: gnupg-2.2.18/kbx/keybox-search.c:1159:36: warning: Function 'keybox_get_keyblock' argument order different as Invalid.

No bug.

Nov 26 2019, 11:20 AM · gnupg, Bug Report
werner triaged T4759: gnupg-2.2.18/kbx/keybox-search.c:1159:36: warning: Function 'keybox_get_keyblock' argument order different as Normal priority.

See T4760.

Nov 26 2019, 11:15 AM · gnupg, Bug Report

Nov 25 2019

werner closed T4165: Dirmngr: Ipv6 causes network failure if Ipv6 can't be reached, a subtask of T4163: hkps://hkps.pool.sks-keyservers.net has to many bad servers to be a good default, as Resolved.
Nov 25 2019, 10:17 PM · gnupg, Keyserver
werner closed T4652: avoid unnecessary trailing NUL byte in S-expressions as Resolved.
Nov 25 2019, 10:15 PM · gnupg, Bug Report
werner closed T4755: WoT forgeries using SHA-1 as Resolved.
Nov 25 2019, 10:11 PM · CVE, gnupg

Nov 24 2019

werner created T4755: WoT forgeries using SHA-1.
Nov 24 2019, 8:26 PM · CVE, gnupg

Nov 23 2019

geier created T4754: Please add a signature import filter "key in local keyring" in the S1 Public space.
Nov 23 2019, 12:15 PM · gnupg

Nov 21 2019

werner triaged T4751: gpgsm unable to import a PKCS12 file with a NULL password as Normal priority.
Nov 21 2019, 8:13 AM · gnupg, Feature Request, S/MIME

Nov 14 2019

werner closed T4749: --passphrase-fd 0 not working from command line as Invalid.

This is a bug tracker and not a general help line. You are better off asking on the gnupg-uisers mailing list.

Nov 14 2019, 10:49 AM · FAQ, gnupg
gniibe closed T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate, a subtask of T2019: Order of magnitude degradation in performance in gpg2 cf gpg, as Resolved.
Nov 14 2019, 12:00 AM · Stalled, Bug Report, gnupg

Nov 12 2019

aheinecke renamed T4745: GnuPG, Kleopatra: Remove Name length limitation for new keys from GnuPG, Kleopatra: Remove Name lenght limitation for new keys to GnuPG, Kleopatra: Remove Name length limitation for new keys.
Nov 12 2019, 9:56 AM · kleopatra, gnupg