Page MenuHome GnuPG
Feed All Stories

Oct 16 2024

TobiasFella committed rKLEOPATRA4198be762ee8: Remove some unused files (authored by TobiasFella).
Remove some unused files
Oct 16 2024, 4:12 PM
CarlSchwan added a comment to T5957: Kleopatra: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
TobiasFella committed rKLEOPATRA24783d5468ab: Use custom texts for the notepad's result messages (authored by TobiasFella).
Use custom texts for the notepad's result messages
Oct 16 2024, 2:16 PM
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: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
TobiasFella committed rKLEOPATRA056442aada3a: Improve debug dialog (authored by TobiasFella).
Improve debug dialog
Oct 16 2024, 1:59 PM
ikloecker added a comment to T5957: Kleopatra: Usability improvement for Notepad.
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 · kleopatra, Restricted Project
mlaurent committed rMTP695e1c8f9d0f: Reduce list of files (authored by mlaurent).
Reduce list of files
Oct 16 2024, 1:29 PM
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: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
TobiasFella committed rKLEOPATRA09d1d72b8323: Use custom texts for the notepad's result messages (authored by TobiasFella).
Use custom texts for the notepad's result messages
Oct 16 2024, 11:21 AM
TobiasFella committed rKLEOPATRA6063fe1bef1a: Use custom texts for the notepad's result messages (authored by TobiasFella).
Use custom texts for the notepad's result messages
Oct 16 2024, 11:20 AM
CarlSchwan committed rKLEOPATRAab8e027fc54f: notepad: Remove large Protocol: label (authored by CarlSchwan).
notepad: Remove large Protocol: label
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRA173f1e439342: notepad: Improve accessibility of KMessageWidget (authored by CarlSchwan).
notepad: Improve accessibility of KMessageWidget
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRAe4b63337cf5a: notepad: Stretch text editor (authored by CarlSchwan).
notepad: Stretch text editor
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRA1eea2b831d60: notepad: Use KSeparator (authored by CarlSchwan).
notepad: Use KSeparator
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRA3279ac9eb494: notepad: Move message widget to the top (authored by CarlSchwan).
notepad: Move message widget to the top
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRAbf540d077515: notepad: Move encrypt button to the bottom of the recipients widget (authored by CarlSchwan).
notepad: Move encrypt button to the bottom of the recipients widget
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRA36ca1174afe9: notepad: Move recipients to the right of the notepad (authored by CarlSchwan).
notepad: Move recipients to the right of the notepad
Oct 16 2024, 10:48 AM
CarlSchwan committed rKLEOPATRA6384e668384c: Use KSeparator (authored by CarlSchwan).
Use KSeparator
Oct 16 2024, 10:31 AM
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: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
ikloecker added a comment to T5957: Kleopatra: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
ebo added a comment to T5957: Kleopatra: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
gniibe added a comment to T7340: Introduced a context with thread local storage.

Autoconf archive has AX_TLS: https://www.gnu.org/software/autoconf-archive/ax_tls.html
Also, AX_GCC_VAR_ATTRIBUTE(tls_model) could be used: https://www.gnu.org/software/autoconf-archive/ax_gcc_var_attribute.html

Oct 16 2024, 7:31 AM · libgcrypt, FIPS, Feature Request
gniibe updated the task description for T7340: Introduced a context with thread local storage.
Oct 16 2024, 7:28 AM · libgcrypt, FIPS, Feature Request
gniibe updated the task description for T7340: Introduced a context with thread local storage.
Oct 16 2024, 7:22 AM · libgcrypt, FIPS, Feature Request
gniibe triaged T7340: Introduced a context with thread local storage as Normal priority.
Oct 16 2024, 7:21 AM · libgcrypt, FIPS, Feature Request
gniibe committed rE1bca948594d9: spawn: Shorter identifier gpgrt_spawn_actions_set_env_rev. (authored by gniibe).
spawn: Shorter identifier gpgrt_spawn_actions_set_env_rev.
Oct 16 2024, 7:12 AM
gniibe committed rG347ab07c6245: build: Don't remove --disable-endian-check. (authored by gniibe).
build: Don't remove --disable-endian-check.
Oct 16 2024, 4:46 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAfb8ac1a7d9b0: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Oct 16 2024, 4:35 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO43ae2b43108d: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Oct 16 2024, 3:34 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAb8e591373a42: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Oct 16 2024, 3:33 AM
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
gniibe committed rG71840b57f486: common: Fix a race condition in creating socketdir. (authored by gniibe).
common: Fix a race condition in creating socketdir.
Oct 16 2024, 3:06 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA2ca3791172c3: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Oct 16 2024, 2:41 AM

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: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
ikloecker committed rLIBKLEOe1c79959b723: Create the socket directory before initializing the key cache (authored by ikloecker).
Create the socket directory before initializing the key cache
Oct 15 2024, 5:11 PM
ikloecker added a reverting change for rLIBKLEO55206cfabebd: Serialize listing of OpenPGP and S/MIME keys: rLIBKLEO85c065c707b2: Revert "Serialize listing of OpenPGP and S/MIME keys".
Oct 15 2024, 5:11 PM
ikloecker committed rLIBKLEO85c065c707b2: Revert "Serialize listing of OpenPGP and S/MIME keys" (authored by ikloecker).
Revert "Serialize listing of OpenPGP and S/MIME keys"
Oct 15 2024, 5:11 PM
TobiasFella committed rKLEOPATRA70ff366f6bce: Use custom texts for the notepad's result messages (authored by TobiasFella).
Use custom texts for the notepad's result messages
Oct 15 2024, 4:57 PM
TobiasFella committed rKLEOPATRA5082069855f9: Use custom texts for the notepad's result messages (authored by TobiasFella).
Use custom texts for the notepad's result messages
Oct 15 2024, 4:28 PM
TobiasFella committed rKLEOPATRA11f8d6dbf27b: Remove unused overloads of Input::createFromProcessStdOut (authored by TobiasFella).
Remove unused overloads of Input::createFromProcessStdOut
Oct 15 2024, 3:46 PM
TobiasFella committed rKLEOPATRAabd2b8f6ed20: Remove unused constructors of SignEncryptFilesResult (authored by TobiasFella).
Remove unused constructors of SignEncryptFilesResult
Oct 15 2024, 3:46 PM
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, Restricted Project, kleopatra
TobiasFella committed rLIBKLEO8a383b02c2bc: Groups: Also show warning icon for groups that contain expired/revoked keys (authored by TobiasFella).
Groups: Also show warning icon for groups that contain expired/revoked keys
Oct 15 2024, 3:06 PM
TobiasFella committed rLIBKLEOc8a4db8798f4: Groups: Also show warning icon for groups that contain expired/revoked keys (authored by TobiasFella).
Groups: Also show warning icon for groups that contain expired/revoked keys
Oct 15 2024, 3:05 PM
TobiasFella committed rLIBKLEO1f1fac569c2d: Add debug commands to libkleopatrarc (authored by TobiasFella).
Add debug commands to libkleopatrarc
Oct 15 2024, 2:48 PM
TobiasFella committed rKLEOPATRAb16c1bd025aa: Use libkleopatrarc for commands (authored by TobiasFella).
Use libkleopatrarc for commands
Oct 15 2024, 2:45 PM
TobiasFella committed rKLEOPATRA330efa5b8951: Improve debug dialog (authored by TobiasFella).
Improve debug dialog
Oct 15 2024, 2:45 PM
werner committed rW8f688386fb67: Update to latest component snapshots (authored by werner).
Update to latest component snapshots
Oct 15 2024, 2:20 PM
ikloecker added a comment to T5957: Kleopatra: Usability improvement for Notepad.

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 · kleopatra, Restricted Project
werner committed rG4728d7f0df33: po: Update German translation (authored by werner).
po: Update German translation
Oct 15 2024, 1:40 PM
werner committed rGafe87ffc08e1: speedo: Enable additional runtime protections on Windows. (authored by werner).
speedo: Enable additional runtime protections on Windows.
Oct 15 2024, 1:40 PM
CarlSchwan committed rKLEOPATRAd4670eee9c83: notepad: Move notepad import action to a KMessageWidget (authored by CarlSchwan).
notepad: Move notepad import action to a KMessageWidget
Oct 15 2024, 12:27 PM
CarlSchwan committed rKLEOPATRA6d351a412d8d: notepad: Move message widget to the top (authored by CarlSchwan).
notepad: Move message widget to the top
Oct 15 2024, 12:27 PM
CarlSchwan committed rKLEOPATRAe5a1916f3b2b: Move encrypt button to the bottom of the recipients widget (authored by CarlSchwan).
Move encrypt button to the bottom of the recipients widget
Oct 15 2024, 12:27 PM
CarlSchwan committed rKLEOPATRAe2b20b642c21: Move recipients to the left of the notepad (authored by CarlSchwan).
Move recipients to the left of the notepad
Oct 15 2024, 12:27 PM
CarlSchwan claimed T5957: Kleopatra: Usability improvement for Notepad.
Oct 15 2024, 12:19 PM · kleopatra, Restricted Project
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
CarlSchwan committed rKLEOPATRAcd0a65026d05: notepad: Move notepad import action to a KMessageWidget (authored by CarlSchwan).
notepad: Move notepad import action to a KMessageWidget
Oct 15 2024, 12:11 PM
CarlSchwan committed rKLEOPATRA83dc53080299: fixup! Move recipients to the left of the notepad (authored by CarlSchwan).
fixup! Move recipients to the left of the notepad
Oct 15 2024, 12:11 PM
CarlSchwan committed rKLEOPATRA817751e19441: notepad: Move message widget to the top (authored by CarlSchwan).
notepad: Move message widget to the top
Oct 15 2024, 12:11 PM
CarlSchwan committed rKLEOPATRAb3e730f3aa4e: Move encrypt button to the bottom of the recipients widget (authored by CarlSchwan).
Move encrypt button to the bottom of the recipients widget
Oct 15 2024, 12:11 PM
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
TobiasFella reopened T7335: S/MIME keys are not listed correctly as "Open".

I'm still seeing the same problems both with current master and 2.2

Oct 15 2024, 11:43 AM · gnupg, Bug Report
gniibe claimed T7338: Revamp the FIPS service indicator.
Oct 15 2024, 11:25 AM · libgcrypt, FIPS, Feature Request
werner created T7338: Revamp the FIPS service indicator.
Oct 15 2024, 11:24 AM · libgcrypt, FIPS, Feature Request
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
werner closed T7335: S/MIME keys are not listed correctly as Resolved.

FWIW, the cache has not been implemented in 2.4 (which will be used for the next gpg4win) and thus there is no need for a fix there.

Oct 15 2024, 9:46 AM · gnupg, Bug Report
werner committed rG374195e741cf: gpgsm: Fix cached istrusted lookup. (authored by werner).
gpgsm: Fix cached istrusted lookup.
Oct 15 2024, 9:46 AM
werner added a comment to T7335: S/MIME keys are not listed correctly.

Was fixed last Thursday with commit rG69a8aefa5bf77136b77383b94e34ba784c1cce89 for 2.2 and will soon make it to master.

Oct 15 2024, 9:43 AM · gnupg, Bug Report
casagrande added a watcher for gnupg22: casagrande.
Oct 15 2024, 4:36 AM
casagrande updated casagrande.
Oct 15 2024, 1:39 AM

Oct 14 2024

ikloecker committed rKLEOPATRA7502abdb0ff5: Do not create RevokersWidget when gpgme is too old (authored by TobiasFella).
Do not create RevokersWidget when gpgme is too old
Oct 14 2024, 11:22 PM
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 committed rGcb5f4aba57dc: dirmngr: Print a brief list of URLs with LISTCRLS. (authored by werner).
dirmngr: Print a brief list of URLs with LISTCRLS.
Oct 14 2024, 5:06 PM
werner committed rGf8b1b7b4df86: dirmngr: Print a brief list of URLs with LISTCRLS. (authored by werner).
dirmngr: Print a brief list of URLs with LISTCRLS.
Oct 14 2024, 5:06 PM
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
werner added inline comments to rGf8bf5e01f766: build: Use AC_C_BIGENDIAN for detecting endian..
Oct 14 2024, 4:55 PM
werner triaged T7337: Show a summary of all URLs with dirmngr's LISTCRL command as Normal priority.
Oct 14 2024, 4:41 PM · Feature Request, gnupg22
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
TobiasFella committed rLIBKLEOd312a78daeb1: Don't add ADSKs to keycache subkey indices (authored by TobiasFella).
Don't add ADSKs to keycache subkey indices
Oct 14 2024, 2:25 PM
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 committed rLIBKLEO252592c918bf: Don't add ADSKs to keycache subkey indices (authored by TobiasFella).
Don't add ADSKs to keycache subkey indices
Oct 14 2024, 2:15 PM
TobiasFella claimed T7334: Kleopatra: ADSK shown as "unknown recipient".
Oct 14 2024, 2:15 PM · gpd5x, kleopatra
ikloecker added a comment to T7334: Kleopatra: ADSK shown as "unknown recipient".

Is this R-flag part of the status logging, i.e. do we need to add handling for this in gpgme?

Oct 14 2024, 12:15 PM · gpd5x, kleopatra
TobiasFella triaged T7335: S/MIME keys are not listed correctly as High priority.
Oct 14 2024, 12:00 PM · gnupg, Bug Report
TobiasFella updated the task description for T7335: S/MIME keys are not listed correctly.
Oct 14 2024, 12:00 PM · gnupg, Bug Report
TobiasFella created T7335: S/MIME keys are not listed correctly.
Oct 14 2024, 11:59 AM · gnupg, Bug Report