Page MenuHome GnuPG
Feed Advanced Search

Oct 28 2024

ebo moved T7329: Update about data of Kleopatra from Backlog to WiP on the vsd33 board.
Oct 28 2024, 11:34 AM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker claimed T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this.
Oct 28 2024, 10:39 AM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker claimed T7349: Kleopatra: inconsistent behavior of "Trust root certificate".
Oct 28 2024, 10:38 AM · gpd5x, kleopatra
ikloecker edited projects for T7347: Kleopatra: Require GpgME 1.23.2, added: gpd5x (gpd-5.0.0); removed gpd5x.
Oct 28 2024, 9:25 AM · gpd5x (gpd-5.0.0), kleopatra
ikloecker closed T7347: Kleopatra: Require GpgME 1.23.2 as Resolved.
Oct 28 2024, 9:17 AM · gpd5x (gpd-5.0.0), kleopatra

Oct 25 2024

ebo triaged T7349: Kleopatra: inconsistent behavior of "Trust root certificate" as Normal priority.
Oct 25 2024, 4:28 PM · gpd5x, kleopatra
ebo edited projects for T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this, added: gpd5x; removed gpd5x (gpd-5.0.0).
Oct 25 2024, 4:28 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ebo triaged T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this as Normal priority.
Oct 25 2024, 4:26 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this.

This bug exists since Kleopatra offers "Trust root certificate" (i.e. since 2010). allow-mark-trusted seems to be default since Gpg4win 2.1.0. If admins really want to prevent users from messing with the trustlist then they anyway have to use the no-user-trustlist option.

Oct 25 2024, 2:18 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

I can still reproduce case 2 with gnupg 2.4. I have to check how my local setup differs from gpg4win-Beta-64.

Oct 25 2024, 12:34 PM · gpd5x, kleopatra, Bug Report
werner added a comment to T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this.

If we fix this bug for 2.2 we need to have a configure way to revert to the old behaviour. That needs to be a kleopatra config. Or we just don't fix this bug for current vsd but only for gpg4win and the next generation vsd.

Oct 25 2024, 12:14 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7329: Update about data of Kleopatra.

If you use a tabbed layout you will always have the problem that some tabs have lots of whitespace and other tabs have little whitespace or even a scrollbar.

Oct 25 2024, 10:29 AM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7349: Kleopatra: inconsistent behavior of "Trust root certificate".

I just saw that gpg-agent has a MARKTRUSTED command which takes care of asking the question and of modifying the trustlist.txt. I guess it makes sense that Kleopatra uses this command for the "Trust root certificate" action.

Oct 25 2024, 10:11 AM · gpd5x, kleopatra
ikloecker added a comment to T7349: Kleopatra: inconsistent behavior of "Trust root certificate".

Kleopatra should also not offer to add a root CA if gpg-agent's mark-trusted feature has been disabled.

Oct 25 2024, 9:41 AM · gpd5x, kleopatra
ikloecker created T7350: Kleopatra: Don't offer "Trust root certificate" if users are not allowed to do this.
Oct 25 2024, 9:37 AM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ebo added a comment to T7329: Update about data of Kleopatra.

Saw it in a screenshot somewhere, can't find it now. I do not have a version with that commit.

Oct 25 2024, 9:11 AM · vsd33 (vsd-3.3.0), gpd5x, kleopatra

Oct 24 2024

ikloecker added a comment to T7329: Update about data of Kleopatra.
In T7329#192861, @ebo wrote:

Regarding the removal of the stretch: Now there seems to be no space at all before the description. Could we have a one-line space before it?

Oct 24 2024, 9:50 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ebo added a comment to T7329: Update about data of Kleopatra.

As this ticket is for vsd33, the nice design tweak has to go into another ticket, it will not be backported to kf5.

Oct 24 2024, 4:04 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
werner added a comment to T7349: Kleopatra: inconsistent behavior of "Trust root certificate".

iirc, Kleopatra modifies the trustlist.txt on its own. The import case is handled by gpgsm which pops up boths dialogs.
Kleopatra should also not offer to add a root CA if gpg-agent's mark-trusted feature has been disabled.

Oct 24 2024, 3:59 PM · gpd5x, kleopatra
ebo added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

When checking this out with gpg4win-Beta-64 I can reproduce case 1 (and of course 3) but not case 2:

Oct 24 2024, 3:52 PM · gpd5x, kleopatra, Bug Report
ebo created T7349: Kleopatra: inconsistent behavior of "Trust root certificate".
Oct 24 2024, 3:09 PM · gpd5x, kleopatra
ebo triaged T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase as Normal priority.

Regarding triage: This is not widely encountered and a workaround exists

Oct 24 2024, 12:19 PM · gpd5x, kleopatra, Bug Report
ikloecker reassigned T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds from ikloecker to werner.

Passing ticket to werner to consider backports.

Oct 24 2024, 10:03 AM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report

Oct 23 2024

CarlSchwan added a comment to T7329: Update about data of Kleopatra.

A bunch of related merge requests:

Oct 23 2024, 4:07 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
CarlSchwan changed the status of T6354: All VSD and GPD binaries need a proper product name on Windows. from Open to Testing.

This is now merged into master

Oct 23 2024, 3:12 PM · gpd5x, vsd, kleopatra, gpd

Oct 22 2024

CarlSchwan added a comment to T7329: Update about data of Kleopatra.

I like this patch, I created a MR based on it (with some additional simplication) https://invent.kde.org/pim/kleopatra/-/merge_requests/299

Oct 22 2024, 5:25 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
werner added a comment to T7329: Update about data of Kleopatra.

What about the simplification below. Add more authors and sort-lines as you like. There is no legal necessary to show a full list of copyright holders. Authors are not a legal term in the context of software because software is not considered a piece or art. From the GNU coding standards related to the version/about output:

Oct 22 2024, 4:39 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7329: Update about data of Kleopatra.

The line

Please use https://bugs.kde.org to report bugs.

seems to be hard-coded into the Authors tab. I see it in all KDE applications. Maybe it can be customized.

Oct 22 2024, 2:57 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker added a comment to T7329: Update about data of Kleopatra.

We could simplify the copyright lines to (if we make sure that the current names are listed as authors)

Copyright 2002-2024 The Kleopatra authors
Copyright 2002, 2004, 2007-2009 Klarälvdalens Datakonsult AB
Copyright 2016-2018 Intevation GmbH
Copyright 2010-2024 g10 Code GmbH

alternatively using © instead of "Copyright". (Using both as in KMail is nonsense because © is the official abbreviation of the word "Copyright".)

Oct 22 2024, 2:54 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ebo renamed T6666: Draft: Kleopatra: revise certificate list filters from Kleopatra: revise certificate list filters to Draft: Kleopatra: revise certificate list filters.
Oct 22 2024, 2:05 PM · gpd5x, kleopatra
ebo added a comment to T7329: Update about data of Kleopatra.

and why is the link to the bug tracker in the authors tab?
We could also discuss it the KDE Bugtracker is the best place to link to for that…

Oct 22 2024, 1:33 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ebo added a comment to T7329: Update about data of Kleopatra.

When we change the About-dialog we should change some other things there, too, not only the author information.

Oct 22 2024, 1:31 PM · vsd33 (vsd-3.3.0), gpd5x, kleopatra
ikloecker triaged T7347: Kleopatra: Require GpgME 1.23.2 as Normal priority.
Oct 22 2024, 11:03 AM · gpd5x (gpd-5.0.0), kleopatra
ikloecker added a comment to T6491: Pinentry-Qt: Password prompt for each subkey if password change is cancelled.

Making pinentry issue "fully canceled" if the user clicks Cancel breaks decryption of data that is encrypted with multiple keys of the owner. The user woudn't be asked for the password of their second key if they canceled the pinentry for the password of the first key.

Oct 22 2024, 10:56 AM · gpd5x, kleopatra, pinentry, gnupg24 (gnupg-2.4.2)
ikloecker moved T7345: Kleopatra: Handle beta compliance from Backlog to WIP on the gpd5x board.
Oct 22 2024, 10:36 AM · gpd5x, kleopatra
ikloecker closed T7346: gpgmepp: Add support for beta compliance, a subtask of T7345: Kleopatra: Handle beta compliance, as Resolved.
Oct 22 2024, 10:35 AM · gpd5x, kleopatra
ikloecker updated the task description for T7345: Kleopatra: Handle beta compliance.
Oct 22 2024, 10:25 AM · gpd5x, kleopatra
ikloecker changed the status of T7345: Kleopatra: Handle beta compliance from Open to Testing.

Note for testing:
If the environment variable GNUPG_ASSUME_COMPLIANCE is set to "de-vs" and de-vs compliance is enabled then Kleopatra should show "VS-NfD compliant (beta)" instead of "VS-NfD compliant" everywhere. ("Not VS-NfD compliant" doesn't get the (beta) suffix.)

Oct 22 2024, 10:24 AM · gpd5x, kleopatra

Oct 21 2024

ikloecker triaged T7345: Kleopatra: Handle beta compliance as Normal priority.
Oct 21 2024, 1:52 PM · gpd5x, kleopatra

Oct 18 2024

gniibe added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

For the second case, I think that gcry_kdf_defive should not be called with pw="". The result of FAILURE gpg-exit 33554433 comes from the log_error after failure of gcry_kdf_derive.

Oct 18 2024, 8:41 AM · gpd5x, kleopatra, Bug Report

Oct 17 2024

CarlSchwan added a comment to T6354: All VSD and GPD binaries need a proper product name on Windows..

After recompiling, it works!

Oct 17 2024, 6:40 PM · gpd5x, vsd, kleopatra, gpd
TobiasFella changed the status of T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog from Open to Testing.
Oct 17 2024, 4:06 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
CarlSchwan added a comment to T6354: All VSD and GPD binaries need a proper product name on Windows..

I backported the work of Andre for qt6 to master/kf5. It's in the branch work/carl/product-name-kf5

Oct 17 2024, 3:32 PM · gpd5x, vsd, kleopatra, gpd
TobiasFella moved T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 2:46 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
TobiasFella set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/296 on T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog.
Oct 17 2024, 2:46 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
TobiasFella updated the task description for T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog.
Oct 17 2024, 2:44 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
TobiasFella updated subscribers of T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog.
Oct 17 2024, 2:41 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
TobiasFella claimed T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog.
Oct 17 2024, 2:40 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
TobiasFella created T7343: Kleopatra: Error formatted incorrectly in certificate creation result dialog.
Oct 17 2024, 2:39 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra, Bug Report
ebo edited projects for T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds, added: gnupg22, gnupg24; removed gnupg.
Oct 17 2024, 1:49 PM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report
ebo triaged T7342: Kleopatra: Expired key selected for encryption is changed to other key when opening certificate details as Low priority.
Oct 17 2024, 1:35 PM · gpd5x, kleopatra, Bug Report
ikloecker added a comment to T7342: Kleopatra: Expired key selected for encryption is changed to other key when opening certificate details.

The technical background is that opening the certificate details triggers an update of the certificate and this triggers an update of the drop-down. The drop-down should still keep the currently selected certificate even if it is not offered by default.

Oct 17 2024, 10:54 AM · gpd5x, kleopatra, Bug Report
ikloecker created T7342: Kleopatra: Expired key selected for encryption is changed to other key when opening certificate details.
Oct 17 2024, 10:51 AM · gpd5x, kleopatra, Bug Report
ebo moved T6354: All VSD and GPD binaries need a proper product name on Windows. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:46 AM · gpd5x, vsd, kleopatra, gpd
ebo moved T6893: Kleopatra: Drag & Drop certificates to somewhere to export them from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · Linux, gpd5x, kleopatra
ebo moved T6879: Kleopatra: Add support for adding an ADSK from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ebo moved T6073: Kleopatra: Fix issues with high contrast resp. inverted color scheme from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ebo moved T7299: Kleopatra: improve readability of highlighted text from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ebo moved T7295: Kleopatra: Add explanation for message "no secret key" from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ebo moved T7296: Kleopatra: Change filters "All certificates" etc. so that they do not include disabled ones from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), Feature Request, kleopatra, Restricted Project
ebo moved T7306: Kleopatra: Decryption aborts without error message to user from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
ebo moved T7320: Kleopatra: Decrypting and verifying a pgp-encrypted archive fails with "no data" from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · gpgme (gpgme 1.24.x), vsd33 (vsd-3.3.0), kleopatra, Restricted Project, Bug Report
ebo moved T7311: Kleopatra: Values for ValidityPeriodInDays ignored from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra
ebo moved T6354: All VSD and GPD binaries need a proper product name on Windows. from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Oct 17 2024, 9:28 AM · gpd5x, vsd, kleopatra, gpd

Oct 16 2024

ikloecker added a project to T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds: gnupg.

The fix should probably be backported to gnupg 2.2 and 2.4.

Oct 16 2024, 4:22 PM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report
ebo updated the task description for T7334: Kleopatra: ADSK shown as "unknown recipient".
Oct 16 2024, 4:22 PM · gpd5x, kleopatra
ebo updated the task description for T7334: Kleopatra: ADSK shown as "unknown recipient".
Oct 16 2024, 4:21 PM · gpd5x, kleopatra
CarlSchwan added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

The only thing that's a bit ugly is that there's no checkbox in front of "Encrypt for others" because it's mostly superfluous/redundant to the presence or absence of "other" certificates.

Oct 16 2024, 4:09 PM · gpd5x, kleopatra
TobiasFella triaged T7341: Kleopatra: Improve notepad result messages as Normal priority.
Oct 16 2024, 2:15 PM · gpd5x, kleopatra
ikloecker added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

I'm wondering if/how we can get rid of the checkbox before "Encrypt for me". Do we even need to distinguish between "for me" and "for others"? It has always felt wrong to me that we have completely different UI for selecting my single (!) key and multiple other keys. What if I want to encrypt to two keys of me? Makes no sense to enter my second key under "Encrypt for others". What if somebody always wants to encrypt everything to two of their keys, e.g. because they use different keys on different devices? But that also applies to the file encryption dialog so maybe that's a different discussion.

Oct 16 2024, 2:11 PM · gpd5x, kleopatra
ikloecker added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .
In T5957#192598, @ebo wrote:

But what I don't understand is: why do we need the buttons? For other encryption actions in Kleo you can choose from all available keys, regardless of their protocol.

Oct 16 2024, 1:53 PM · gpd5x, kleopatra
ikloecker added a comment to T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds.

I confirm the fix. Using gnupg master the unit test ran 544 times without any failures or suspiciously long run time.

Oct 16 2024, 12:18 PM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report
CarlSchwan added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

I played a bit with the right pane to make it less wide. Here is how it looks (still WIP)

Oct 16 2024, 11:56 AM · gpd5x, kleopatra
ikloecker added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

My last comment makes things look more complicated than they are.

Oct 16 2024, 10:19 AM · gpd5x, kleopatra
ebo added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

I'd have no objections against making it less prominent.
Instead of the "Protocol" label we could then maybe add a tooltip/info to the buttons with something like "the protocol to be used".
I know, tooltips are not popular with you ;-)

Oct 16 2024, 10:14 AM · gpd5x, kleopatra
ikloecker added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

Okay, then we keep the protocol radio buttons for now, but I guess there's no reason not to make it less prominent. I would even argue that the label "Protocol:" isn't really helpful and could be removed.

Oct 16 2024, 9:46 AM · gpd5x, kleopatra
ebo added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

Does the notepad really need to support S/MIME? People might want to use inline PGP with Kleopatra, but S/MIME???

Agree

Oct 16 2024, 9:15 AM · gpd5x, kleopatra
gniibe added a comment to T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds.

Good catch, @ikloecker !
I located the bug in GnuPG, and the fix is: rG71840b57f486: common: Fix a race condition in creating socketdir.

Oct 16 2024, 3:08 AM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report

Oct 15 2024

ikloecker added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

In the second case, gpg emits a FAILURE gpg-exit 33554433 status at the end. I think this makes gpgme consider the operation failed. I think this is a bug in gpg because gpg does not emit a FAILURE status if a wrong symmetric passphrase is entered.

Oct 15 2024, 10:45 PM · gpd5x, kleopatra, Bug Report
ikloecker added a comment to T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.

In the first case, gpg emits a CANCELED_BY_USER status. This makes gpgme abort the operation. We may have to wait/watch for BEGIN_DECRYPTION / END_DECRYPTION.

Oct 15 2024, 10:39 PM · gpd5x, kleopatra, Bug Report
ikloecker created T7339: Kleopatra: Cannot decrypt packets with hybrid cipher without using symmetric passphrase.
Oct 15 2024, 10:36 PM · gpd5x, kleopatra, Bug Report
CarlSchwan added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

Does the notepad really need to support S/MIME? People might want to use inline PGP with Kleopatra, but S/MIME???

Oct 15 2024, 6:06 PM · gpd5x, kleopatra
TobiasFella changed the status of T7321: Kleopatra: add warning symbol to all unusable groups from Open to Testing.
Oct 15 2024, 3:13 PM · vsd33 (vsd-3.3.0), Restricted Project, kleopatra
ikloecker added a comment to T5957: Kleopatra: Show recipient information in the Notepad next to the input field .

When looking at Carl's first MR I had a few ideas/thoughts:

  • Does the notepad really need to support S/MIME? People might want to use inline PGP with Kleopatra, but S/MIME???
  • I wondering whether we should move the checkboxes to the group box titles and get rid of the group boxes and instead use KSeparators to separate the different sections, i.e.
[ ] Prove authenticity (sign)
Sign as:
------------------------------
[ ] Encrypt
Encrypt for me:
Encrypt for others:
------------------------------
[ ] Encrypt with password
Anyone ...
------------------------------
[Sign and Encrypt]
Oct 15 2024, 1:57 PM · gpd5x, kleopatra
CarlSchwan claimed T5957: Kleopatra: Show recipient information in the Notepad next to the input field .
Oct 15 2024, 12:19 PM · gpd5x, kleopatra
ikloecker added a comment to T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds.

I found one reason for the intermittently failing concurrent initial keylisting. gpgsm sometimes uses the wrong socket file to (try to) connect to gpg-agent.

Oct 15 2024, 12:11 PM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report
ikloecker added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

I don't think gpg/gpgsm tell gpgme "the keyblock used for decryption". They simply log all public keys used for encryption via STATUS_ENC_TO in the order the packets appear in the encrypted file.

Oct 15 2024, 12:09 PM · gpd5x, kleopatra
werner triaged T7334: Kleopatra: ADSK shown as "unknown recipient" as Normal priority.
Oct 15 2024, 9:52 AM · gpd5x, kleopatra
werner added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

There is no such concept of a primary keyblock for a subkey. Using the same subkey for several primary keys is non frequent but nevertheless seen use-case. Thus this behaviour is not ADSK specific. I would suggest to first search the keyblock used for decryption to get the name of another subkey - only if that is not found search the keyring for that subkey and thus the primary key and its user id.

Oct 15 2024, 9:51 AM · gpd5x, kleopatra

Oct 14 2024

ikloecker added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

For a subkey the user id of its primary should always been show.

Oct 14 2024, 5:32 PM · gpd5x, kleopatra
TobiasFella added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

Summarizing out-of-band discussion (please correct where i remember things wrong):

Oct 14 2024, 5:31 PM · gpd5x, kleopatra
werner added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

It is not of the recipient's business to know which certificate also uses a subkey. For all the user needs to know that it is a subkey which belongs to a primary key. In this regard this is not different from a shared encryption subkey as used by many sites for role addresses. For a subkey the user id of its primary should always been show.

Oct 14 2024, 5:00 PM · gpd5x, kleopatra
ikloecker added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

In case of an unknown encryption subkey we could check if it's the ADSK of a known recipient and then display something like

Unknown ADSK for "Some key with ADSK <with-adsk@example.net>"

instead of

unknown recipient

Oct 14 2024, 4:38 PM · gpd5x, kleopatra
TobiasFella added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

Thinking about this some more, I don't think we can anything different from what's done in my patch:

Oct 14 2024, 3:49 PM · gpd5x, kleopatra
TobiasFella set External Link to https://invent.kde.org/pim/libkleo/-/merge_requests/150 on T7334: Kleopatra: ADSK shown as "unknown recipient".
Oct 14 2024, 3:12 PM · gpd5x, kleopatra
TobiasFella added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

Both subkeys belong to Alice from gpg's point of view

Oct 14 2024, 2:45 PM · gpd5x, kleopatra
ebo added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

What is wrong in your opinion?

Oct 14 2024, 2:34 PM · gpd5x, kleopatra
ikloecker added a comment to T7332: Kleopatra: Initial keylisting sometimes fails or hangs for some seconds.

I can reproduce this with gnupg 2.2.45-beta27 (STABLE-BRANCH-2-2 69a8aefa) on openSUSE Tumbleweed.

Oct 14 2024, 2:19 PM · gnupg24, gnupg22, gpd5x, kleopatra, Bug Report
TobiasFella added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

We have this data already. The problem on kleopatra's side is that in the key cache, we add the ADSK subkey for each key that has it as an ADSK, causing a somewhat broken index and ultimately the problem seen here.

Oct 14 2024, 2:19 PM · gpd5x, kleopatra
TobiasFella claimed T7334: Kleopatra: ADSK shown as "unknown recipient".
Oct 14 2024, 2:15 PM · gpd5x, kleopatra