Page MenuHome GnuPG
Feed Advanced Search

Jul 9 2020

gniibe claimed T4246: GnuPG master does not allow decryption with bad usage flags (regression).
Jul 9 2020, 8:20 AM · Restricted Project, Bug Report, gnupg (gpg23)
gniibe added a comment to T4246: GnuPG master does not allow decryption with bad usage flags (regression).

Or this (don't allow anon keys for different usage):

diff --git a/g10/pubkey-enc.c b/g10/pubkey-enc.c
index 14cbdbb0f..b8d4059cd 100644
--- a/g10/pubkey-enc.c
+++ b/g10/pubkey-enc.c
@@ -91,9 +91,6 @@ get_session_key (ctrl_t ctrl, struct pubkey_enc_list *list, DEK *dek)
       if (err)
         break;
Jul 9 2020, 8:20 AM · Restricted Project, Bug Report, gnupg (gpg23)
gniibe added a comment to T4246: GnuPG master does not allow decryption with bad usage flags (regression).

Do you mean something like this?

Jul 9 2020, 8:11 AM · Restricted Project, Bug Report, gnupg (gpg23)
gniibe changed the status of T4915: Cannot compile on macOS Mojave (utf8.c) from Open to Testing.
Jul 9 2020, 7:07 AM · Restricted Project, gnupg (gpg23), Bug Report
gniibe added a parent task for T4160: ed488 support: T4417: Work needed for gnupg 2.3.
Jul 9 2020, 7:00 AM · gnupg24, gnupg (gpg23), Feature Request
gniibe added a subtask for T4417: Work needed for gnupg 2.3: T4160: ed488 support.
Jul 9 2020, 7:00 AM · gnupg (gpg23)
gniibe added a parent task for T4246: GnuPG master does not allow decryption with bad usage flags (regression): T4417: Work needed for gnupg 2.3.
Jul 9 2020, 6:55 AM · Restricted Project, Bug Report, gnupg (gpg23)
gniibe added a subtask for T4417: Work needed for gnupg 2.3: T4246: GnuPG master does not allow decryption with bad usage flags (regression).
Jul 9 2020, 6:55 AM · gnupg (gpg23)
gniibe changed the status of T4160: ed488 support from Open to Testing.

It's in master (to be gnupg 2.3).
Enjoy.

Jul 9 2020, 6:53 AM · gnupg24, gnupg (gpg23), Feature Request

Jul 8 2020

werner added a comment to T2103: Improve the pinentry password quality indication.

The qualitybar has now been removed from 2.2 and master.

Jul 8 2020, 4:18 PM · gnupg (gpg23), Feature Request

Jul 4 2020

yuuki76 added a watcher for gnupg (gpg23): yuuki76.
Jul 4 2020, 8:17 AM

Jun 9 2020

werner changed the status of T4735: Please provide an option to make --verify accept only signatures from specific trusted UID from Open to Testing.
Jun 9 2020, 6:31 PM · gnupg (gpg23), Feature Request
werner added a comment to T4735: Please provide an option to make --verify accept only signatures from specific trusted UID.

Shall we backport this to 2.2 which is our LTS release?

Jun 9 2020, 6:31 PM · gnupg (gpg23), Feature Request

Jun 8 2020

werner added a comment to T4735: Please provide an option to make --verify accept only signatures from specific trusted UID.

With the recent change the --sender option has an effect on the selection of the User ID used for the key validity check and the TRUST_ status lines:

Jun 8 2020, 8:43 PM · gnupg (gpg23), Feature Request

Jun 4 2020

werner triaged T4735: Please provide an option to make --verify accept only signatures from specific trusted UID as High priority.
Jun 4 2020, 12:20 PM · gnupg (gpg23), Feature Request
werner updated subscribers of T4735: Please provide an option to make --verify accept only signatures from specific trusted UID.
Jun 4 2020, 10:48 AM · gnupg (gpg23), Feature Request

Jun 3 2020

werner added a comment to T4735: Please provide an option to make --verify accept only signatures from specific trusted UID.

We already have the option --sender which does what @mgorny requests but only in the TOFU case. I need to revisit the system to see whether we can extend it to WoT and direct key signatures.

Jun 3 2020, 5:49 PM · gnupg (gpg23), Feature Request
werner claimed T4735: Please provide an option to make --verify accept only signatures from specific trusted UID.
Jun 3 2020, 5:45 PM · gnupg (gpg23), Feature Request

May 29 2020

werner added a comment to T4788: System wide configuration of the GnuPG system.
May 29 2020, 3:16 PM · gnupg (gpg23), Feature Request, gpg4win, g10code

May 27 2020

werner added a comment to T4098: GpgSM: Add ECC support.

GnuTLS seems to have some CMS support; see https://gitlab.com/gnutls/gnutls/-/issues/227 .

May 27 2020, 10:35 AM · gnupg (gpg23), Feature Request, S/MIME

May 20 2020

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

I had assumed that GnuPG prioritized the safety of its users over strict adherence to a particular view of a cryptographic protocol

May 20 2020, 4:12 AM · gnupg (gpg23), Feature Request

May 19 2020

werner closed T4920: Support ECDH in Libksba, a subtask of T4098: GpgSM: Add ECC support, as Resolved.
May 19 2020, 4:49 PM · gnupg (gpg23), Feature Request, S/MIME
werner added a comment to T4098: GpgSM: Add ECC support.

See rG6dc3846d78192e393be73c16c72750734a9174d1 for examples on how to create a cert

May 19 2020, 2:41 PM · gnupg (gpg23), Feature Request, S/MIME

May 14 2020

werner removed a subtask for T4098: GpgSM: Add ECC support: T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed.
May 14 2020, 10:50 AM · gnupg (gpg23), Feature Request, S/MIME
werner added a subtask for T4098: GpgSM: Add ECC support: T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed.
May 14 2020, 10:47 AM · gnupg (gpg23), Feature Request, S/MIME

May 11 2020

werner changed the status of T4098: GpgSM: Add ECC support from Open to Testing.

Signing using ECDSA does now also work. Tested with 3 in disk keys: nistp256, nistp384 and RSA and verified using gpgsm and Governikus Signer.

May 11 2020, 6:46 PM · gnupg (gpg23), Feature Request, S/MIME

May 8 2020

werner added a project to T4098: GpgSM: Add ECC support: gnupg (gpg23).
May 8 2020, 6:16 PM · gnupg (gpg23), Feature Request, S/MIME

Apr 27 2020

werner changed the status of T4921: Support import of PKCS#12 encoded ECC private keys. from Open to Testing.
Apr 27 2020, 8:09 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME
werner added a comment to T4921: Support import of PKCS#12 encoded ECC private keys..

Done for master

Apr 27 2020, 8:09 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME

Apr 21 2020

werner created T4921: Support import of PKCS#12 encoded ECC private keys..
Apr 21 2020, 5:01 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME

Apr 16 2020

werner closed T4898: auto import CA certs with authInfo.caIssuers as Resolved.

We do this now always if --auto-issuer-key-retrieve is set. Also backported to 2.2

Apr 16 2020, 6:02 PM · dirmngr, S/MIME, gnupg (gpg23)
werner closed T3786: Unexpectedly slow decryption for AEAD (and CFB) as Resolved.

I back ported @jukivili's changes back to 2.2 which gives a CFB decryption speedup of 25%. I also implemented AEAD _decryption_ in 2.2 to be prepared for mixed 2.2 and 2.3 version use. And AEAD is really fast compared to CFB. Willbe in 2.2.21.

Apr 16 2020, 9:46 AM · gnupg (gpg23), Bug Report
werner closed T4917: Add AEAD support to --show-session-key as Invalid.

Nope, I was wrong.

Apr 16 2020, 9:19 AM · Feature Request, gnupg (gpg23)
werner created T4917: Add AEAD support to --show-session-key.
Apr 16 2020, 9:16 AM · Feature Request, gnupg (gpg23)

Apr 15 2020

gniibe added a comment to T4915: Cannot compile on macOS Mojave (utf8.c).

Thanks for testing. It's actually an error of generating _unicode_mapping.c, which utf8.c includes.

Apr 15 2020, 7:13 AM · Restricted Project, gnupg (gpg23), Bug Report

Apr 14 2020

werner assigned T4915: Cannot compile on macOS Mojave (utf8.c) to gniibe.

Thanks for reporting; the code is really new and not yet fully tested.

Apr 14 2020, 6:33 PM · Restricted Project, gnupg (gpg23), Bug Report

Apr 8 2020

gniibe added a comment to T3763: ECDH - encryption with obfuscated size of the symmetric key.

It seems that the reference to PKCS#5 is correct. It is an issue of how to describe the case of more than 8-byte padding in OpenPGP.

Apr 8 2020, 3:48 AM · OpenPGP, gnupg (gpg23)
gniibe claimed T3763: ECDH - encryption with obfuscated size of the symmetric key.

Your example data is malformed, I suppose.

Apr 8 2020, 3:31 AM · OpenPGP, gnupg (gpg23)

Apr 7 2020

werner created T4910: Allow to add a no-mail notation to user-ids.
Apr 7 2020, 8:38 AM · gnupg24, gnupg (gpg23), Feature Request

Apr 6 2020

werner added a project to T3763: ECDH - encryption with obfuscated size of the symmetric key: OpenPGP.

I also don't think that key size obfuscation is useful, after all the preferences of the key demand a certain key size.

Apr 6 2020, 12:19 PM · OpenPGP, gnupg (gpg23)

Mar 31 2020

werner triaged T4898: auto import CA certs with authInfo.caIssuers as Normal priority.
Mar 31 2020, 12:04 PM · dirmngr, S/MIME, gnupg (gpg23)
werner created T4898: auto import CA certs with authInfo.caIssuers.
Mar 31 2020, 12:04 PM · dirmngr, S/MIME, gnupg (gpg23)

Mar 29 2020

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

Thanks for following up!

Mar 29 2020, 6:46 PM · gnupg (gpg23), Feature Request
werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

No, we always stated that the user id is a mandatory part of OpenPGP keyblocks and that non-compliant keyblocks are rejected. The only exception we made are for revocation signatures where we allow a standalone packet. That exception is done to allow typing in a printed out revocation signature.

Mar 29 2020, 6:30 PM · gnupg (gpg23), Feature Request
dkg updated subscribers of T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

To be clear: marking this ticket wontfix means (among other things) that it is the GnuPG project's upstream position that:

Mar 29 2020, 5:38 PM · gnupg (gpg23), Feature Request
werner closed T4393: GnuPG should always accept key updates even if the update does not contain UIDs as Wontfix.

With OpenPGP we made user ids mandatory to avoid problems we had with PGP2. I see no reason to revert this.

Mar 29 2020, 11:25 AM · gnupg (gpg23), Feature Request

Mar 28 2020

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

Nine months have passed since the patches for this problem have been available.

Mar 28 2020, 5:43 PM · gnupg (gpg23), Feature Request

Mar 18 2020

werner edited projects for T4667: "gpg: deleting secret key failed: No pinentry" when in --batch mode with --pinentry=loopback, added: gnupg (gpg23); removed gnupg (gpg22).

Okay, in 2.2 the output now looks like this:

Mar 18 2020, 3:32 PM · gnupg24, gnupg (gpg23), Bug Report
werner edited projects for T4612: Add spare space to the keybox to always allow the import of revocations., added: gnupg (gpg23); removed gnupg (gpg22).

Won't happen for 2.2

Mar 18 2020, 2:23 PM · gnupg24, gnupg (gpg23), Bug Report
werner edited projects for T4605: automatically upgrade from `pubring.gpg` to `pubring.kbx`, added: gnupg (gpg23); removed gnupg (gpg22).

Given that we may move to yet another format in 2.3 I now doubt that we should add such a feature to 2.2.

Mar 18 2020, 2:22 PM · gnupg24, gnupg (gpg23), Feature Request

Mar 12 2020

dkg added a comment to T4878: gpgsm's default for include-certs should include the signing cert if it is self-signed.

For reference, here's an error message from openssl smime when it is trying to verify an e-mail message with no embedded certificate at all (despite it knowing about the relevant certificate):

Mar 12 2020, 2:01 PM · gnupg24, gnupg (gpg23), S/MIME, Feature Request
werner changed the status of T4788: System wide configuration of the GnuPG system from Open to Testing.

There are likely some bugs in the new code and I also want to do some improvements; see rGb4f1159a5bd7. But things should basically work as before and thus I set this again to testing

Mar 12 2020, 10:36 AM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner triaged T4878: gpgsm's default for include-certs should include the signing cert if it is self-signed as Low priority.
Mar 12 2020, 9:59 AM · gnupg24, gnupg (gpg23), S/MIME, Feature Request
gniibe changed the status of T3300: scd: Support multiple readers by PC/SC driver from Open to Testing.
Mar 12 2020, 6:36 AM · Restricted Project, gnupg (gpg23), scd

Mar 11 2020

jcross added a watcher for gnupg (gpg23): jcross.
Mar 11 2020, 7:15 PM

Feb 28 2020

dkg added a comment to T4788: System wide configuration of the GnuPG system.

i'd be unlikely to ship anything as /etc/gnupg/gpg.conf or /etc/gnupg/dirmngr.conf just because of the mess that admins have to deal with when shipped config files change.

Feb 28 2020, 11:20 PM · gnupg (gpg23), Feature Request, gpg4win, g10code
werner changed the status of T4788: System wide configuration of the GnuPG system from Testing to Open.

Arggh, gpgconf uses its own option parser so adding the global config file there will require some extra work.

Feb 28 2020, 2:40 PM · gnupg (gpg23), Feature Request, gpg4win, g10code
aheinecke updated subscribers of T4788: System wide configuration of the GnuPG system.

@dkg You might find this interesting. Debian could do stuff in /etc/gnupg/gpg.conf or /etc/gnupg/dirmngr.conf without patching GnuPG to change some defaults.

Feb 28 2020, 11:31 AM · gnupg (gpg23), Feature Request, gpg4win, g10code

Feb 27 2020

werner changed the status of T4788: System wide configuration of the GnuPG system from Open to Testing.

All done in master with the latest libgpg-error (see T4859). There is always a global configure file in /etc/gnupg (or whatever "gpgconf --list-dirs sysconfdir" prints). The name of the configure file is the same as the user config file (gpg.conf, gpgsm.conf, gpg-agent.conf, ...) but for gpg.conf no versioned config names are used.

Feb 27 2020, 2:58 PM · gnupg (gpg23), Feature Request, gpg4win, g10code

Feb 21 2020

werner added a comment to T4788: System wide configuration of the GnuPG system.

Okay, we now have global conf files in master. The extra flags to ignore or force certain options will be added to libgpg-error.

Feb 21 2020, 9:50 PM · gnupg (gpg23), Feature Request, gpg4win, g10code

Dec 20 2019

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

It has now been over 6 months since the patches were available to fix this problem and they have not been adopted upstream.

Dec 20 2019, 6:56 PM · gnupg (gpg23), Feature Request
werner raised the priority of T4788: System wide configuration of the GnuPG system from Wishlist to High.
Dec 20 2019, 12:24 PM · gnupg (gpg23), Feature Request, gpg4win, g10code

Dec 17 2019

werner added a project to T4779: GpgSM: "Invalid Object" error when importing .p12 certs with wrong passphrase: gnupg (gpg23).
Dec 17 2019, 11:36 AM · gnupg24 (gnupg-2.4.3), Restricted Project, gnupg (gpg23), S/MIME

Dec 12 2019

werner added a project to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent: gnupg (gpg23).
Dec 12 2019, 1:08 PM · Not A Bug, workaround, gnupg24, Windows, ssh

Dec 10 2019

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

That sounds like you might have a different issue in mind?

Dec 10 2019, 11:51 AM · gnupg (gpg23), Feature Request
werner added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

Figuring out the matching user id for a new key signature. Right, --import-options repair-key is the the default and does the same. However, it was also the major cause for the recent trouble with the keyservers because it tried to verify all signatures. repair-keys was made the default (T2236) because it seemed to be nearly for free - which was a false assumption. We should not use this option by default and only consider properly placed signathures as valid. This of course also means that a userid is required.

Dec 10 2019, 8:33 AM · gnupg (gpg23), Feature Request

Dec 9 2019

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

@werner, i don't understand your last remark. what "required computations" do you think the proposed patches are "moving" from the server to the client?

Dec 9 2019, 6:07 PM · gnupg (gpg23), Feature Request

Dec 8 2019

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

I see no reason to move required computations from the server to the client.

Dec 8 2019, 7:58 PM · gnupg (gpg23), Feature Request
georg added a comment to T4393: GnuPG should always accept key updates even if the update does not contain UIDs.

@werner Could you please give an update on this? Is there any blocker? Is something missing, which prevents merging (and releasing) this?

Dec 8 2019, 3:23 PM · gnupg (gpg23), Feature Request

Dec 6 2019

gniibe added a subtask for T4713: Bug in get_best_pubkey_byname: T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 5:09 AM · Restricted Project, gnupg (gpg23)
gniibe removed a parent task for T4713: Bug in get_best_pubkey_byname: T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 5:09 AM · Restricted Project, gnupg (gpg23)
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

In 2.2.18, this fix is not included. (partial fix was reverted)

Dec 6 2019, 5:05 AM · Restricted Project, gnupg (gpg23)
gniibe added a parent task for T4713: Bug in get_best_pubkey_byname: T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 5:05 AM · Restricted Project, gnupg (gpg23)
gniibe closed T4362: Replace the exec funtions for photoids in gpg by our standard exec functions., a subtask of T4417: Work needed for gnupg 2.3, as Resolved.
Dec 6 2019, 3:38 AM · gnupg (gpg23)

Dec 4 2019

werner triaged T4769: gnupg:passphrase for new key asked three times as Normal priority.

That is actually a GnuPG thing. We originally did it this way to help people remember their passphrase before they start using the key. I agree it is annoying and I would like to remove it too. At the same time we should really think about making no-passphrase the default and require it only with certain compliance settings.

Dec 4 2019, 7:54 PM · gnupg24, gpgagent, gnupg (gpg23), Bug Report, gpg4win
werner triaged T4765: gpgsm --import should not try to invoke dirmngr if it is not necessary as Low priority.
Dec 4 2019, 8:47 AM · gnupg24, gnupg (gpg23), S/MIME, Bug Report

Nov 18 2019

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

it's been almost a quarter year since my last nudge on this supplied patch. It's not clear to me why it hasn't been merged in master. I'm trying to not be a nag, but:

Nov 18 2019, 4:03 AM · gnupg (gpg23), Feature Request

Nov 14 2019

gniibe closed T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate as Resolved.

I thought I close this after the release of 2.2.18.
Anway, it's done, so, closing.

Nov 14 2019, 12:00 AM · gnupg (gpg23), Bug Report

Nov 12 2019

aheinecke added a comment to T4592: gpg takes > 30s to list the keys from a 17MiB `pubring.gpg` that contains a single certificate.

Is this resolved?

Nov 12 2019, 10:45 AM · gnupg (gpg23), Bug Report

Nov 11 2019

werner edited projects for T4447: Fix addition of new GPG keys to LDAP, added: gnupg (gpg23); removed gnupg.
Nov 11 2019, 6:33 PM · gnupg (gpg23), patch, LDAP, dirmngr, Bug Report

Nov 7 2019

werner edited projects for T4619: Unable to decrypt symmetric-key encrypted data, added: gnupg (gpg23); removed gnupg (gpg22).
Nov 7 2019, 2:36 PM · gnupg24, gnupg (gpg23), Bug Report
werner edited projects for T4742: GnuPG, Kleopatra: Update --full-gen-key options for GnuPG-2.3, added: gnupg (gpg23); removed gnupg.
Nov 7 2019, 8:45 AM · gnupg24, gnupg (gpg23), kleopatra

Oct 25 2019

werner triaged T4729: WKD via http_proxy does not work if DNS is broken/unavailable as Normal priority.
Oct 25 2019, 11:01 AM · gnupg (gpg22), Restricted Project, dns, dirmngr
werner triaged T4728: GnuPG fails to connect to 127.0.0.1 when many domains are specified in /etc/hosts as Normal priority.
Oct 25 2019, 11:00 AM · gnupg24, gnupg (gpg23), dns, dirmngr

Oct 19 2019

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

On July, 19th, @werner wrote:

You need to wait a bit more.

Oct 19 2019, 8:21 PM · gnupg (gpg23), Feature Request

Oct 18 2019

gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

Or... it could be a feature, not bug, so that failure of -e -r someone can be examined by --locate-keys someone.

Oct 18 2019, 9:10 AM · Restricted Project, gnupg (gpg23)
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

Let me clarify the point.

Oct 18 2019, 12:11 AM · Restricted Project, gnupg (gpg23)

Oct 17 2019

gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

I think that we should apply further change:

diff --git a/g10/getkey.c b/g10/getkey.c
index 077209415..1c337149c 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1369,7 +1369,7 @@ get_best_pubkey_byname (ctrl_t ctrl, enum get_pubkey_modes mode,
     *retctx = NULL;
Oct 17 2019, 3:38 AM · Restricted Project, gnupg (gpg23)
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

I found more wrong cases of get_best_pubkey_byname.
For ranking results,
(1) It may return non-encryption primary key as the most relevant key, when its validity is higher.
(2) It may not select encryption primary key even if its creation time is newer.

Oct 17 2019, 2:32 AM · Restricted Project, gnupg (gpg23)

Oct 16 2019

werner added a comment to T4713: Bug in get_best_pubkey_byname.

I also think this makes the most sense.

Oct 16 2019, 10:52 AM · Restricted Project, gnupg (gpg23)
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

In my opinion, --locate-key should locate encryption key.

Oct 16 2019, 9:08 AM · Restricted Project, gnupg (gpg23)

Oct 15 2019

werner changed the status of T4713: Bug in get_best_pubkey_byname from Testing to Open.

There are some problems with the definition of --locate-key. Further discussion required.

Oct 15 2019, 2:47 PM · Restricted Project, gnupg (gpg23)

Oct 14 2019

npreining added a comment to T2760: Populate comment field when exporting authentication key for SSH.

@werner Yes, that sounds great, and would help already a lot, but extending it for card keys would be optimal. Thanks for your work.

Oct 14 2019, 12:58 PM · gnupg24, ssh, Feature Request
werner edited projects for T2760: Populate comment field when exporting authentication key for SSH, added: gnupg (gpg23), ssh; removed gnupg.

In master (to be 2.3) you can add a Label: line into the sub key file of on-disk keys. I use this for quite some time now to show me alabel for my on-disk ssh keys so that I known which one was requested. We can and should extend this to card keys.

Oct 14 2019, 9:28 AM · gnupg24, ssh, Feature Request

Oct 9 2019

gniibe added a project to T4713: Bug in get_best_pubkey_byname: Restricted Project.
Oct 9 2019, 4:15 AM · Restricted Project, gnupg (gpg23)
gniibe changed the status of T4713: Bug in get_best_pubkey_byname from Open to Testing.

I believe that constraint of ret_keyblock != NULL is OK.
Pushing the fix.
Perhaps, backport to 2.2 should be done, too.

Oct 9 2019, 2:44 AM · Restricted Project, gnupg (gpg23)

Oct 7 2019

gniibe added a comment to T4713: Bug in get_best_pubkey_byname.

If we can assume ret_keyblock != NULL (it is, in current implementation), it can be as simple as:

diff --git a/g10/getkey.c b/g10/getkey.c
index 6802026f6..27bbd354c 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1354,6 +1354,8 @@ get_best_pubkey_byname (ctrl_t ctrl, enum get_pubkey_modes mode,
   int is_mbox = is_valid_mailbox (name);
   int wkd_tried = 0;
Oct 7 2019, 3:58 AM · Restricted Project, gnupg (gpg23)

Oct 4 2019

gniibe added a comment to T4713: Bug in get_best_pubkey_byname.
diff --git a/g10/getkey.c b/g10/getkey.c
index de5024198..051b21203 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1272,6 +1272,48 @@ only_expired_enc_subkeys (kbnode_t keyblock)
   return any? 1 : 0;
 }
Oct 4 2019, 8:58 AM · Restricted Project, gnupg (gpg23)
gniibe added a comment to T4713: Bug in get_best_pubkey_byname.
Oct 4 2019, 8:56 AM · Restricted Project, gnupg (gpg23)

Sep 29 2019

gniibe created T4713: Bug in get_best_pubkey_byname.
Sep 29 2019, 10:44 AM · Restricted Project, gnupg (gpg23)