Page MenuHome GnuPG
Feed All Stories

Feb 22 2023

l10n daemon script <scripty@kde.org> committed rKLEOPATRAe28344966fb3: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 22 2023, 4:14 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAb8e82122d166: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 22 2023, 3:14 AM

Feb 21 2023

gbschenkel created T6383: GnuPG 2.4.0 not working with Yubikey NEO.
Feb 21 2023, 11:51 PM · Support
ebourg added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

The application probably doesn't support this curve, the changelog only mentions Curve25519 and NIST P-256. Also Kleopatra lists only these two curves when generating a key from the card. Upon further inspection, the 0xFA DO listing the supported algorithms only has RSA 2048, RSA 4096, nistp256, ed255519 and cv25519

Feb 21 2023, 5:33 PM · yubikey, scd, Bug Report
ebourg added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

This is a Nitrokey 3A with the firmware 1.2.2-alpha.20221130. I'll check with the vendor.

Feb 21 2023, 5:12 PM · yubikey, scd, Bug Report
werner added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

Sure that you specific card/implementation of Nitrokey supports this curve? The card application uses a vendor from the test card range - this it is likely that it is some Javacard implementaion or it is an old gnuk firmware on the nitrokey basic.

Feb 21 2023, 4:32 PM · yubikey, scd, Bug Report
ebourg added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

Changing the key attributes didn't help unfortunately:

Feb 21 2023, 3:32 PM · yubikey, scd, Bug Report
werner added a subtask for T6378: keytocard: invalid value: T6382: keytocard fails to import a nistp384 ECDSA key.
Feb 21 2023, 3:09 PM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner added a parent task for T6382: keytocard fails to import a nistp384 ECDSA key: T6378: keytocard: invalid value.
Feb 21 2023, 3:09 PM · yubikey, scd, Bug Report
werner added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

There must be some regression in the code which changes the key attributes. Please try
"gpg --card-edit" admin, key-attr
and switch to nistp384.

Feb 21 2023, 3:08 PM · yubikey, scd, Bug Report
ebourg added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

I also tried to import the key with the gpg-card writekey command and I got the same error.

Feb 21 2023, 2:59 PM · yubikey, scd, Bug Report
ebourg added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

Same error message but probably a different cause, in this case the card was factory reset before importing.

Feb 21 2023, 2:55 PM · yubikey, scd, Bug Report
werner triaged T6382: keytocard fails to import a nistp384 ECDSA key as High priority.
Feb 21 2023, 2:46 PM · yubikey, scd, Bug Report
werner added a comment to T6382: keytocard fails to import a nistp384 ECDSA key.

Looks similar to T6378. Can you provide the output of

Feb 21 2023, 2:45 PM · yubikey, scd, Bug Report
tennox added a comment to T6381: Option to set default encryption subkey.

Thanks for the reply :)

Feb 21 2023, 2:44 PM · gnupg
werner committed rG71c11c20f41d: gpg: Prepare to accept shorter OIDs for ed25519 and cv25519. (authored by werner).
gpg: Prepare to accept shorter OIDs for ed25519 and cv25519.
Feb 21 2023, 12:15 PM
ebourg created T6382: keytocard fails to import a nistp384 ECDSA key.
Feb 21 2023, 11:26 AM · yubikey, scd, Bug Report
werner added a project to T6381: Option to set default encryption subkey: gnupg.

Sorry, I think you have to fix the other tools. The ! suffix has virtually been supported forever and any new option to do the same complicates the code and the documentation.

Feb 21 2023, 8:05 AM · gnupg
l10n daemon script <scripty@kde.org> committed rKLEOPATRAa4b2d169e1d8: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 21 2023, 4:32 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAa3d964a9f6f3: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 21 2023, 3:25 AM

Feb 20 2023

ikloecker committed rKLEOPATRA6b914b164729: Double-check that we can use basic ranges features (authored by ikloecker).
Double-check that we can use basic ranges features
Feb 20 2023, 9:32 PM
ikloecker committed rKLEOPATRAb9bec26ae7bf: Double-check that we can use basic ranges features (authored by ikloecker).
Double-check that we can use basic ranges features
Feb 20 2023, 9:27 PM
tennox created T6381: Option to set default encryption subkey.
Feb 20 2023, 2:10 PM · gnupg
l10n daemon script <scripty@kde.org> committed rKLEOPATRAe60fad1d663f: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 20 2023, 3:27 AM

Feb 19 2023

Nicolas Fella <nicolas.fella@gmx.de> committed rKLEOPATRA8d4be132d307: Remove unused keys from kcm plugin metadata (authored by Nicolas Fella <nicolas.fella@gmx.de>).
Remove unused keys from kcm plugin metadata
Feb 19 2023, 3:06 PM
mlaurent committed rLIBKLEOa34e3ee041f4: Add FreeBSD Qt6 CI support (authored by mlaurent).
Add FreeBSD Qt6 CI support
Feb 19 2023, 1:44 PM
l10n daemon script <scripty@kde.org> committed rLIBKLEOe115b4793ad9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 19 2023, 3:32 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA43513d52a973: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 19 2023, 3:30 AM
Nicolas Fella <nicolas.fella@gmx.de> committed rKLEOPATRA797ec06b8b00: Remove unused keys from kcm plugin metadata (authored by Nicolas Fella <nicolas.fella@gmx.de>).
Remove unused keys from kcm plugin metadata
Feb 19 2023, 3:14 AM

Feb 18 2023

l10n daemon script <scripty@kde.org> committed rLIBKLEO154f670cfe58: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 18 2023, 4:39 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA7e2caa43116e: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 18 2023, 4:37 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO52dff49aeeae: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 18 2023, 3:28 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA91b1b64df100: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 18 2023, 3:26 AM

Feb 17 2023

ebo added a comment to T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.

well, this user made a backup and it went wrong anyway ;-) See T6377

Feb 17 2023, 3:49 PM · Bug Report, kleopatra, Restricted Project
aheinecke added a comment to T6116: Draft: Kleopatra: Card personalization workflow.

Oh this issue was in the wrong project. Related to T5836

Feb 17 2023, 3:26 PM · gpd5x, kleopatra
aheinecke edited projects for T6116: Draft: Kleopatra: Card personalization workflow, added: Restricted Project; removed g10code.
Feb 17 2023, 3:25 PM · gpd5x, kleopatra
aheinecke triaged T6380: Kleopatra: SignEncryptWidget::isDeVsAndValid does not skip revoked UIds as High priority.
Feb 17 2023, 3:21 PM · gpgol, Restricted Project, kleopatra
aheinecke added a reverting change for rO503ee571f092: Return E_FAIL when cancelling write event: rOce8fb558b277: Revert "Return E_FAIL when cancelling write event".
Feb 17 2023, 12:39 PM
aheinecke committed rOce8fb558b277: Revert "Return E_FAIL when cancelling write event" (authored by aheinecke).
Revert "Return E_FAIL when cancelling write event"
Feb 17 2023, 12:39 PM
aheinecke committed rO6c682d6d67e9: Remove FORTIFY_SOURCE flag (authored by aheinecke).
Remove FORTIFY_SOURCE flag
Feb 17 2023, 12:39 PM
werner committed rG1915b95ffd12: scd:p15: Add pre-check for ascii-numeric PINs. (authored by werner).
scd:p15: Add pre-check for ascii-numeric PINs.
Feb 17 2023, 12:19 PM
werner committed rG326f6fa1664d: scd:p15: Use APP_CARD macro at some other places. (authored by werner).
scd:p15: Use APP_CARD macro at some other places.
Feb 17 2023, 12:19 PM
werner committed rGadf387b3f1eb: scd: Improve reading of binary records. (authored by werner).
scd: Improve reading of binary records.
Feb 17 2023, 12:19 PM
werner committed rG88606cc484e4: scd:p15: Handle cards with bad encoded path objects. (authored by werner).
scd:p15: Handle cards with bad encoded path objects.
Feb 17 2023, 12:19 PM
aheinecke committed rO9fa68e3e91f9: Ignore a warning for stringop-truncation (authored by aheinecke).
Ignore a warning for stringop-truncation
Feb 17 2023, 11:51 AM
ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

If 3.1.26 only offers RSA algos, then Kleopatra obviously assumes that the smart card only supports RSA and therefore doesn't offer the transfer of Brainpool keys.

Feb 17 2023, 11:24 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ebo added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

I'm sorry, I got a bit confused, it works in Kleopatra on 3.2.0, but not in 3.2.26

Feb 17 2023, 9:47 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner triaged T6377: Kleopatra: gpgsk file contains shadowed private key as High priority.
Feb 17 2023, 7:55 AM · kleopatra
werner triaged T6378: keytocard: invalid value as Normal priority.
Feb 17 2023, 7:54 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner triaged T6379: Kleopatra: Brainpool key can not be moved to smart card as High priority.
Feb 17 2023, 7:54 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner added projects to T6378: keytocard: invalid value: gnupg22, Bug Report.
Feb 17 2023, 7:53 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
l10n daemon script <scripty@kde.org> committed rKLEOPATRAe350b56631b9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 17 2023, 4:21 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAfb5130c4ffc9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 17 2023, 3:20 AM

Feb 16 2023

ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

Which algorithms are offered when you use "Regenerate Key"? What's the output of gpg -K --with-colon <key_id>?

Feb 16 2023, 6:18 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner triaged T6369: gpgme: add a faster variant of gpgme_get_key() as High priority.
Feb 16 2023, 6:12 PM · gpgme, Feature Request
werner claimed T6375: gpg-agent race-condition with parallel clients.

Thanks. please give a few days.

Feb 16 2023, 6:11 PM · gnupg24, gpgagent, Bug Report
werner committed rG3d094e2bcf6c: gpg: New option --add-desig-revoker (authored by werner).
gpg: New option --add-desig-revoker
Feb 16 2023, 6:10 PM
werner committed rG49fe6a2821f3: doc: Put the Unattended Usage of GPG section also into the man page. (authored by werner).
doc: Put the Unattended Usage of GPG section also into the man page.
Feb 16 2023, 6:10 PM
dmlary added a comment to T6375: gpg-agent race-condition with parallel clients.

created ~/.gnupg/gpg-agent.conf containing:

debug ipc,cache
debug-pinentry
log-file socket://
Feb 16 2023, 5:06 PM · gnupg24, gpgagent, Bug Report
aheinecke committed rO503ee571f092: Return E_FAIL when cancelling write event (authored by aheinecke).
Return E_FAIL when cancelling write event
Feb 16 2023, 4:36 PM
aheinecke committed rO9f798b2e0612: Remove -O0 from hardening flags (authored by aheinecke).
Remove -O0 from hardening flags
Feb 16 2023, 4:36 PM
werner committed rGf118e3b101ca: gpg: --gen-random code cleanup by using es_set_binary. (authored by werner).
gpg: --gen-random code cleanup by using es_set_binary.
Feb 16 2023, 1:46 PM
werner committed rG1d6ed0a1b4e1: gpg: --gen-random code cleanup by using es_set_binary. (authored by werner).
gpg: --gen-random code cleanup by using es_set_binary.
Feb 16 2023, 1:46 PM
werner committed rGaf9a1b5599f9: agent: Do not consider --min-passphrase-len for the magic wand. (authored by werner).
agent: Do not consider --min-passphrase-len for the magic wand.
Feb 16 2023, 1:46 PM
werner committed rG1d8191faee59: gpg: Add level 16 to --gen-random (authored by werner).
gpg: Add level 16 to --gen-random
Feb 16 2023, 1:46 PM
ebo created T6379: Kleopatra: Brainpool key can not be moved to smart card.
Feb 16 2023, 1:40 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ebo created T6378: keytocard: invalid value.
Feb 16 2023, 11:59 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner added a comment to T6375: gpg-agent race-condition with parallel clients.

Okay, I see. The commands above are a real reproducer and not standalone examples. Then yes, you should get a pinentry only for the first gpg -d (as long as the keys are still in the cache). I am lacking macOS/homebrew stuff to replicate this. What you can do is to put

Feb 16 2023, 11:54 AM · gnupg24, gpgagent, Bug Report
werner triaged T6376: FIPS 140-3: add explicit indicators for md and mac to unblock MD5 in apt as Low priority.
Feb 16 2023, 11:43 AM · libgcrypt, Feature Request, Ubuntu, Debian, FIPS
ikloecker updated subscribers of T6377: Kleopatra: gpgsk file contains shadowed private key.
Feb 16 2023, 10:13 AM · kleopatra
ikloecker added a project to T6377: Kleopatra: gpgsk file contains shadowed private key: gnupg.

Kleopatra simply copies the content of the corresponding *.key file in the private-keys-v1.d folder. If the *.key file contains a shadowed key after issuing a KEYTOCARD --force [...] command followed by a SCD LEARN --force command (note the SCD!), then gpg-agent is to blame.

Feb 16 2023, 10:08 AM · kleopatra
ikloecker committed rKLEOPATRAd80112e08257: Defer instantiation of ReaderStatus (authored by ikloecker).
Defer instantiation of ReaderStatus
Feb 16 2023, 9:57 AM
ikloecker committed rKLEOPATRA436e124a414c: Set application attributes before constructing KleopatraApplication (authored by ikloecker).
Set application attributes before constructing KleopatraApplication
Feb 16 2023, 9:57 AM
ebo created T6377: Kleopatra: gpgsk file contains shadowed private key.
Feb 16 2023, 9:08 AM · kleopatra
gniibe committed rS316a7bb9eb80: Add CKA_EC_POINT attribute to CKO_PRIVATE_KEY object. (authored by gniibe).
Add CKA_EC_POINT attribute to CKO_PRIVATE_KEY object.
Feb 16 2023, 8:08 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO2395c92df5d9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 6:38 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAc772044fcaa6: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 6:26 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO80bc0f8d5f57: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 4:30 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAd6137619e4ca: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 4:23 AM
tobhe created T6376: FIPS 140-3: add explicit indicators for md and mac to unblock MD5 in apt.
Feb 16 2023, 3:41 AM · libgcrypt, Feature Request, Ubuntu, Debian, FIPS

Feb 15 2023

dmlary added a comment to T6375: gpg-agent race-condition with parallel clients.

I may be reading your comment wrong, but the problem here is not multiple pinentry prompts, or multiple gpg-agents present.

Feb 15 2023, 7:15 PM · gnupg24, gpgagent, Bug Report
werner added a comment to T6375: gpg-agent race-condition with parallel clients.

Although gpg-agent launching is protected by a file system lock, there is indeed a small race related to the pinentry. The invocation of the pinentries is serialized but if a second pinentry is requested while the first pinentry has not yet returned and put the passphrase into the cache, the second pinentry will be called anyway. Fixing this not easy and should rarely be a problem. The mitigation is to do a dummy decryption to seed the cache or use a custom pinentry.

Feb 15 2023, 6:54 PM · gnupg24, gpgagent, Bug Report
dmlary created T6375: gpg-agent race-condition with parallel clients.
Feb 15 2023, 3:13 PM · gnupg24, gpgagent, Bug Report
cklassen added a comment to T6374: EML files: Body is empty.

Hier is a log file from GpgOL (+Code verfolgung)

Feb 15 2023, 11:51 AM · gpgol, Bug Report
cklassen created T6374: EML files: Body is empty.
Feb 15 2023, 11:22 AM · gpgol, Bug Report
aheinecke committed rKLEOPATRA66ca829d42bc: Update copyright year in aboutdata to 2023 (authored by aheinecke).
Update copyright year in aboutdata to 2023
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRAa5cb659e5a74: Only run selftest once on Windows (authored by aheinecke).
Only run selftest once on Windows
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRAe1ee19493a8f: Make startup timer global and add Macro (authored by aheinecke).
Make startup timer global and add Macro
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRA63b8ff130a53: Start KUniqueService ASAP (authored by aheinecke).
Start KUniqueService ASAP
Feb 15 2023, 10:50 AM
ikloecker moved T6372: Kleopatra: Allow users to change name of sign/encryption result if (archive) file already exists from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 15 2023, 8:18 AM · Restricted Project, kleopatra
ikloecker closed T6348: gpgtar: Error when using --status-fd, a subtask of T6342: GPGME/Kleopatra: Extend gpgme to use gpgtar, as Resolved.
Feb 15 2023, 8:18 AM · Restricted Project, gpgme, kleopatra
ikloecker closed T6348: gpgtar: Error when using --status-fd as Resolved.

Works now for gpgme. Thanks!

Feb 15 2023, 8:18 AM · gnupg, Restricted Project
ikloecker removed a project from T6355: gpgtar: Does not allow decryption from stdin: gpgme.

Works for me with gpgtar (GnuPG) 2.4.1-beta21. I haven't verified this with 2.2.x.

Feb 15 2023, 8:15 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
l10n daemon script <scripty@kde.org> committed rKLEOPATRA8e4aefb4a8cc: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 15 2023, 3:24 AM

Feb 14 2023

positron added a comment to T6370: Print diagnostics to explain certain expiration cases.

Understood. I appreciate the time you took to analyse the issue. Thanks.

Feb 14 2023, 6:27 PM · Feature Request, gnupg
werner renamed T6370: Print diagnostics to explain certain expiration cases from Impossible to change expiration date for some keys to Print diagnostics to explain certain expiration cases.
Feb 14 2023, 5:20 PM · Feature Request, gnupg
werner added a comment to T6370: Print diagnostics to explain certain expiration cases.

I guess this is the first time such a key was reported. Printing diagnostics would be a bit of work because the code to compute th. expiration time is deep in gpg's guts.

Feb 14 2023, 5:19 PM · Feature Request, gnupg
aheinecke added a comment to T6373: Kleopatra: Show progress dialog when moving decrypted archive to final destination.

Oh, yes this makes sense in the copy/delete path of utils/path-helper.cpp Kleo::moveDir on Windows src and dest are usually on the same device so this might not have been noticed as much by our users as then it is just a rename.

Feb 14 2023, 10:42 AM · Restricted Project, kleopatra
positron added a comment to T6370: Print diagnostics to explain certain expiration cases.

The first signature is a direct key signature (class 0x1f) and this determines the expiration time. The usual case is to have the expiration time in the user id signatures. Our code does not allow to chnage the expiration time of direct key signature. This is because direct key signature are used by PGP and GnuPG only to add designated revokers. Gpg has no means to create a direct key signature like you have in your key.

Feb 14 2023, 10:39 AM · Feature Request, gnupg
ikloecker triaged T6373: Kleopatra: Show progress dialog when moving decrypted archive to final destination as High priority.
Feb 14 2023, 10:36 AM · Restricted Project, kleopatra