Page MenuHome GnuPG
Feed All Stories

Dec 18 2020

werner committed rE4b09c8c2023d: core: Fix the "ignore" meta command of the argparser. (authored by werner).
core: Fix the "ignore" meta command of the argparser.
Dec 18 2020, 6:00 PM
werner committed rG8a2e5025eb0f: gpg: Fix --trusted-key with fingerprint arg. (authored by werner).
gpg: Fix --trusted-key with fingerprint arg.
Dec 18 2020, 5:10 PM
aheinecke committed rW5a556906750a: Readd gpgwrap as non-console wrapper (authored by aheinecke).
Readd gpgwrap as non-console wrapper
Dec 18 2020, 4:13 PM
aheinecke committed rWbe397ff06858: Post release version bump (authored by aheinecke).
Post release version bump
Dec 18 2020, 4:13 PM
ikloecker closed T5188: gpg-card: "Unblock and set new a PIN" asks for Admin PIN instead of Reset Code as Invalid.

Ahh, there's a separate unblock command for the non-admin.

Dec 18 2020, 2:35 PM
werner added a comment to T5188: gpg-card: "Unblock and set new a PIN" asks for Admin PIN instead of Reset Code.

"unblock and set a new PIN" might not be the best description given that we have an "unblock" command to let the user unblock the own PIN using hist reset code. But yes, it is expected that it asks for the Admin PIN.

Dec 18 2020, 12:34 PM
ikloecker changed the status of T5138: Change Reset Code not working in Kleopatra from Open to Testing.

Werner, please retest. If "Change Reset Code" still doesn't work for you, then please answer the questions in the first comment.

Dec 18 2020, 12:19 PM · Restricted Project, Feature Request, Bug Report, kleopatra
ikloecker added a comment to T5138: Change Reset Code not working in Kleopatra.

Note: Officially, Kleopatra does not support OpenPGP v1 cards. At least, according to the text that is displayed if no card is found.

Dec 18 2020, 12:15 PM · Restricted Project, Feature Request, Bug Report, kleopatra
ikloecker created T5188: gpg-card: "Unblock and set new a PIN" asks for Admin PIN instead of Reset Code.
Dec 18 2020, 12:13 PM
werner committed rG15bfd189c07e: dirmngr: Do not block threads in LDAP keyserver calls. (authored by werner).
dirmngr: Do not block threads in LDAP keyserver calls.
Dec 18 2020, 12:01 PM
werner committed rG355e2992c043: dirmngr: Do not block threads in LDAP keyserver calls. (authored by werner).
dirmngr: Do not block threads in LDAP keyserver calls.
Dec 18 2020, 11:57 AM
werner committed rG9e8d299e183d: Merge branch 'wk/stable-2.2-global-options' into STABLE-BRANCH-2-2 (authored by werner).
Merge branch 'wk/stable-2.2-global-options' into STABLE-BRANCH-2-2
Dec 18 2020, 11:30 AM
werner committed rG9b886adba4f8: dirmngr: Fix backport of the new option parser from 2.3 (authored by werner).
dirmngr: Fix backport of the new option parser from 2.3
Dec 18 2020, 11:23 AM
ikloecker committed rKLEOPATRA7b3bc5596af7: Add support for unblocking the PIN/card with the reset code (authored by ikloecker).
Add support for unblocking the PIN/card with the reset code
Dec 18 2020, 11:12 AM
ikloecker committed rKLEOPATRA1020fcd76506: Fix typo and copy&paste bug, and improve tooltips (authored by ikloecker).
Fix typo and copy&paste bug, and improve tooltips
Dec 18 2020, 11:12 AM
ikloecker committed rKLEOPATRA4bb358ec2931: Add explicit reset mode for changing a PIN (authored by ikloecker).
Add explicit reset mode for changing a PIN
Dec 18 2020, 11:12 AM
ikloecker added a comment to T5138: Change Reset Code not working in Kleopatra.

"Change Reset Code" should work in Kleopatra. At least for OpenPGP v2+ cards. Kleopatra simply does "SCD PASSWD --reset OPENPGP.2", i.e. the same as gpg-card. I have verified that it works with a Yubikey.

Dec 18 2020, 11:11 AM · Restricted Project, Feature Request, Bug Report, kleopatra
werner edited projects for T5187: i am not able to key pair, added: Support; removed Bug Report, gpg4win.
Dec 18 2020, 10:22 AM · Support
werner closed T5187: i am not able to key pair as Invalid.

For support please use one of the community resources (see gpg4win.org) and read the manula (compedium) or one of the hundreds of HOWTO floating in the net.

Dec 18 2020, 10:21 AM · Support
vsiril created T5187: i am not able to key pair.
Dec 18 2020, 9:58 AM · Support
aheinecke created T5186: SCD: Stable branch "Invalid ID" when attempting to sign with bp384 yubikey.
Dec 18 2020, 9:30 AM · gnupg, scd
ikloecker added a comment to T5184: scd: Generating CSR for NetKey card key fails.

Yes, makes sense. Although, you should use datalen = indatalen; in the last line (to prevent typos in the numbers).

Dec 18 2020, 9:19 AM · scd
gniibe added a comment to T5184: scd: Generating CSR for NetKey card key fails.

IIUC, for completeness, it would be good to add the lines like:

Dec 18 2020, 7:54 AM · scd
Laurent Montel <montel@kde.org> committed rLIBKLEO21335d07f825: GIT_SILENT: prepare 5.16.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.16.1
Dec 18 2020, 7:26 AM
gniibe committed rCc90fb0d8fb7a: Reorganize self-tests for HMAC. (authored by gniibe).
Reorganize self-tests for HMAC.
Dec 18 2020, 7:22 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA2958bbdb019e: GIT_SILENT: prepare 5.16.1 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.16.1
Dec 18 2020, 7:16 AM

Dec 17 2020

stig124 created T5185: Language change issue, wrong locale is used and mess everything.
Dec 17 2020, 8:59 PM · Bug Report, gpg4win
werner committed rG4a3836e2b2f9: gpg: New AKL method "ntds" (authored by werner).
gpg: New AKL method "ntds"
Dec 17 2020, 6:26 PM
werner committed rG1194e4f7e2df: dirmngr: Support "ldap:///" for the current AD user. (authored by werner).
dirmngr: Support "ldap:///" for the current AD user.
Dec 17 2020, 6:26 PM
werner committed rG559efd23e936: gpg: New AKL method "ntds" (authored by werner).
gpg: New AKL method "ntds"
Dec 17 2020, 6:23 PM
werner committed rG776bef74c778: dirmngr: Support "ldap:///" for the current AD user. (authored by werner).
dirmngr: Support "ldap:///" for the current AD user.
Dec 17 2020, 6:23 PM
ikloecker committed rKLEOPATRA5e480a78c3e0: Allow creation of CSRs for card keys of NetKey cards (authored by ikloecker).
Allow creation of CSRs for card keys of NetKey cards
Dec 17 2020, 3:28 PM
ikloecker committed rKLEOPATRA8932a36c13e6: Trigger a full update of the card status after the NullPIN was set (authored by ikloecker).
Trigger a full update of the card status after the NullPIN was set
Dec 17 2020, 3:28 PM
ikloecker committed rKLEOPATRA66c0a62e2045: Use ChangePinCommand for changing PINs of NetKey cards (authored by ikloecker).
Use ChangePinCommand for changing PINs of NetKey cards
Dec 17 2020, 3:28 PM
ikloecker committed rKLEOPATRA9abbbddba509: Make sure that status information is updated after UI setup (authored by ikloecker).
Make sure that status information is updated after UI setup
Dec 17 2020, 3:28 PM
ikloecker created T5184: scd: Generating CSR for NetKey card key fails.
Dec 17 2020, 3:08 PM · scd
werner committed rGc75fd7553290: dirmngr: Allow LDAP searches via fingerprint. (authored by werner).
dirmngr: Allow LDAP searches via fingerprint.
Dec 17 2020, 11:20 AM
werner committed rGc28cb5282b14: dirmngr: Store all version 2 schema attributes. (authored by werner).
dirmngr: Store all version 2 schema attributes.
Dec 17 2020, 11:20 AM
werner committed rGac8ece92662d: dirmngr: Support the new Active Directory schema (authored by werner).
dirmngr: Support the new Active Directory schema
Dec 17 2020, 11:20 AM
werner committed rG0e88c73bc94f: dirmngr: Do not store the useless pgpSignerID in the LDAP. (authored by werner).
dirmngr: Do not store the useless pgpSignerID in the LDAP.
Dec 17 2020, 11:20 AM
werner committed rGe47de8538200: dirmngr: Fix adding keys to an LDAP server. (authored by werner).
dirmngr: Fix adding keys to an LDAP server.
Dec 17 2020, 11:20 AM
werner committed rG2cadcce3e877: dirmngr: Allow LDAP searches via fingerprint. (authored by werner).
dirmngr: Allow LDAP searches via fingerprint.
Dec 17 2020, 10:23 AM
werner committed rG2b06afbf260f: dirmngr: Finalize Active Directory LDAP Schema (authored by werner).
dirmngr: Finalize Active Directory LDAP Schema
Dec 17 2020, 10:23 AM

Dec 16 2020

ikloecker changed the status of T5183: Kleopatra: Generate S/MIME CSR for OpenPGP card key from Open to Testing.

Ready for testing.

Dec 16 2020, 12:19 PM · Restricted Project, kleopatra
ikloecker changed the status of T5183: Kleopatra: Generate S/MIME CSR for OpenPGP card key, a subtask of T5123: Kleopatra: Generate OpenPGP pubkey S/MIME CSR from existing card, from Open to Testing.
Dec 16 2020, 12:19 PM · kleopatra
ikloecker committed rKLEOPATRA0b12d7705e81: Allow creation of CSRs for card keys of OpenPGP cards (authored by ikloecker).
Allow creation of CSRs for card keys of OpenPGP cards
Dec 16 2020, 12:15 PM
ikloecker committed rKLEOPATRA6106b1f87514: Refactor OpenPGPCard and PGPCardWidget (authored by ikloecker).
Refactor OpenPGPCard and PGPCardWidget
Dec 16 2020, 12:15 PM
ikloecker created T5183: Kleopatra: Generate S/MIME CSR for OpenPGP card key.
Dec 16 2020, 9:25 AM · Restricted Project, kleopatra
gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

I cannot find good test vectors for PBKDF2 with HMAC-SHA-2.

Dec 16 2020, 6:53 AM · Restricted Project, libgcrypt
gniibe added a comment to T5167: GnuPG 2.25 still have problems related to Yubikey NEO..

Nice, I gonna apply the patch and see if resolves for me!

Dec 16 2020, 3:55 AM · gnupg (gpg22), yubikey, ssh, scd, Bug Report
gbschenkel added a comment to T5167: GnuPG 2.25 still have problems related to Yubikey NEO..

Nice, I gonna apply the patch and see if resolves for me!

Dec 16 2020, 3:25 AM · gnupg (gpg22), yubikey, ssh, scd, Bug Report
gniibe committed rG3c55e15cee4b: scd:ccid: Call libusb_clear_halt in ccid_vendor_specific_setup. (authored by gniibe).
scd:ccid: Call libusb_clear_halt in ccid_vendor_specific_setup.
Dec 16 2020, 2:18 AM
gniibe committed rG585cfca0a60b: scd:ccid: Revert the addition of libusb_clear_halt for EP_INTR. (authored by gniibe).
scd:ccid: Revert the addition of libusb_clear_halt for EP_INTR.
Dec 16 2020, 2:18 AM
gniibe reopened T4563: gpg-agent fails to sign request of PKISSH as "Open".
Dec 16 2020, 1:43 AM · Feature Request, gpgagent
gniibe closed T4563: gpg-agent fails to sign request of PKISSH as Wontfix.
Dec 16 2020, 1:42 AM · Feature Request, gpgagent
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

If your problem is the incompatibility between standard OpenSSH (server) and PKIXSSH (client) for use of ssh-agent emulation of gpg-agent with ECDSA key, I'd suggest to apply following patch to your PKIXSSH:

diff --git a/compat.c b/compat.c
index fe71951..0c9b1ef 100644
--- a/compat.c
+++ b/compat.c
@@ -245,7 +245,6 @@ xkey_compatibility(const char *remote_version) {
 {	static sshx_compatibility info[] = {
 		{ 0, "OpenSSH*PKIX[??.*" /* 10.+ first correct */ },
 		{ 0, "OpenSSH*PKIX[X.*" /* developlement */ },
-		{ 1, "OpenSSH*" /* PKIX pre 10.0 */ },
 		{ 1, "SecureNetTerm-3.1" /* same as PKIX pre 10.0 */},
 		{ 0, NULL } };
 	p = xkey_compatibility_find(remote_version, info);
Dec 16 2020, 12:58 AM · Feature Request, gpgagent
ikloecker committed rLIBKLEO1f76573e275f: Merge branch 'work/static-analysis' into 'master' (authored by ikloecker).
Merge branch 'work/static-analysis' into 'master'
Dec 16 2020, 12:22 AM

Dec 15 2020

ikloecker changed the status of T5127: Kleopatra: Generate S/MIME CSR for PIV card key from Open to Testing.

Ready for testing

Dec 15 2020, 6:33 PM · kleopatra
ikloecker changed the status of T5127: Kleopatra: Generate S/MIME CSR for PIV card key, a subtask of T5123: Kleopatra: Generate OpenPGP pubkey S/MIME CSR from existing card, from Open to Testing.
Dec 15 2020, 6:33 PM · kleopatra
ikloecker committed rKLEOPATRAfb1ef2181f59: Improve/simplify layout of PIV card widget (authored by ikloecker).
Improve/simplify layout of PIV card widget
Dec 15 2020, 6:32 PM
ikloecker committed rKLEOPATRA86b349a947e8: Improve usability of CSR creation (authored by ikloecker).
Improve usability of CSR creation
Dec 15 2020, 5:51 PM
ikloecker committed rKLEOPATRA4385c4db475e: Connect signals after UI setup is complete to prevent a crash (authored by ikloecker).
Connect signals after UI setup is complete to prevent a crash
Dec 15 2020, 5:51 PM
ikloecker committed rKLEOPATRA9dfd273c9bae: After creating the CSR write it to disk asking the user for a location (authored by ikloecker).
After creating the CSR write it to disk asking the user for a location
Dec 15 2020, 5:51 PM
werner committed rG2c6bb03cfb56: dirmngr: Remove superfluous attribute from the LDAP schema. (authored by werner).
dirmngr: Remove superfluous attribute from the LDAP schema.
Dec 15 2020, 3:50 PM
werner committed rGa2434ccabdd1: dirmngr: Store all version 2 schema attributes. (authored by werner).
dirmngr: Store all version 2 schema attributes.
Dec 15 2020, 3:50 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOf29bb83638fd: GIT_SILENT: Fix typo (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Fix typo
Dec 15 2020, 1:53 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA40b9a421b964: GIT_SILENT: Fix typo (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Fix typo
Dec 15 2020, 1:51 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRAe0236c45a948: Allow to use UNITY build see https://cmake. (authored by Laurent Montel <montel@kde.org>).
Allow to use UNITY build see https://cmake.
Dec 15 2020, 7:48 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO17042deb161a: Allow to use UNITY build see https://cmake. (authored by Laurent Montel <montel@kde.org>).
Allow to use UNITY build see https://cmake.
Dec 15 2020, 7:47 AM
gniibe renamed T5182: libgcrypt self tests for FIPS 140 from libgcrypt tests for FIPS 140 to libgcrypt self tests for FIPS 140.
Dec 15 2020, 6:50 AM · Restricted Project, libgcrypt
gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

Our tests are now in tests/basic.c.

Dec 15 2020, 6:36 AM · Restricted Project, libgcrypt
gniibe added a comment to T5182: libgcrypt self tests for FIPS 140.

For CMAC tests, we would need to use newer test vectors.

Dec 15 2020, 6:35 AM · Restricted Project, libgcrypt
gniibe created T5182: libgcrypt self tests for FIPS 140.
Dec 15 2020, 6:30 AM · Restricted Project, libgcrypt

Dec 14 2020

werner committed rGe9ddd61fe979: dirmngr: Support the new Active Directory schema (authored by werner).
dirmngr: Support the new Active Directory schema
Dec 14 2020, 7:48 PM
werner committed rGcc056eb534c1: dirmngr: Do not store the useless pgpSignerID in the LDAP. (authored by werner).
dirmngr: Do not store the useless pgpSignerID in the LDAP.
Dec 14 2020, 7:48 PM
werner committed rG37a899d0e4fd: dirmngr: Fix adding keys to an LDAP server. (authored by werner).
dirmngr: Fix adding keys to an LDAP server.
Dec 14 2020, 7:48 PM
werner set Due Date to Mar 31 2021, 12:00 AM on T4294: Release Libgcrypt 1.9.0.
Dec 14 2020, 1:21 PM · Release Info, libgcrypt
aheinecke created T5181: Kleopatra: Simplify newkey generation.
Dec 14 2020, 12:56 PM · kleopatra
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Unfortunately and confusingly, PKISSH returns "OpenSSH" when asked by "ssh -V".
Please install real OpenSSH, if this is the case for you.

Dec 14 2020, 10:52 AM · Feature Request, gpgagent
idl0r added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Quote from IRC:
hey, i've some problems with my smartcard since quite some time. i'm not sure whether it's openssh related or gnupg. it's a openpgpcard v2.0 and i have to workaround ssh logins by using "SSH_AUTH_SOCK=0 ssh ...". .gnupg/gpg-agent.conf -

the debug log: esp. "ssh sign request failed: Unknown option <GPG Agent>" and ssh says "sign_and_send_pubkey: signing failed: agent refused operation"
gpg --edit-card and --card-status works fine and sign/encrypt works fine as well. only ssh auth fails
openssh 8.1_p1, gnupg 2.2.20

Dec 14 2020, 10:31 AM · Feature Request, gpgagent
idl0r added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Yeah but it seems to be the same issue / reason. I wasn't aware that PKISSH is something else. I thought it was an extension/protocol or something

Dec 14 2020, 10:26 AM · Feature Request, gpgagent
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.

I added "Feature Request", because this is a request to support:

  • A feature of bug compatibility, which is implemented wrongly in PKISSH
  • for a specific algo of key, which is not considered so useful (== ECDSA)
  • PKISSH, which is variant of OpenSSH
Dec 14 2020, 10:23 AM · Feature Request, gpgagent
gniibe added a comment to T4563: gpg-agent fails to sign request of PKISSH.
In T4563#140184, @idl0r wrote:

I was and I am using OpenSSH on both sides, client and server.

Dec 14 2020, 10:20 AM · Feature Request, gpgagent
idl0r added a comment to T4563: gpg-agent fails to sign request of PKISSH.

I was and I am using OpenSSH on both sides, client and server.

Dec 14 2020, 10:16 AM · Feature Request, gpgagent
werner added a comment to T4563: gpg-agent fails to sign request of PKISSH.

I do not think that we should support a fork of openssh right now. If we would support it we are bound to maintain that for years - this is not a good idea.

Dec 14 2020, 10:09 AM · Feature Request, gpgagent
idl0r added a comment to T4563: gpg-agent fails to sign request of PKISSH.

Well, I have no idea about the technical background to be honest but without this patch it doesn't work at all for me, unless I stop using the agent or workaround it by using SSH_AUTH_SOCK=0. With this patch, I can use the agent again. I don't know how many others are affected by this but it made it usable again, which wasn't the case for months already.

Dec 14 2020, 9:04 AM · Feature Request, gpgagent
gniibe changed the status of T5170: card: Allow use cases with no corresponding *.key file under private-keys-v1.d from Open to Testing.
Dec 14 2020, 6:58 AM · Restricted Project, gnupg (gpg23)
gniibe lowered the priority of T4563: gpg-agent fails to sign request of PKISSH from Normal to Low.

In theory, I don't think the patch gnupg.patch works. It just ignore the flag.

Dec 14 2020, 3:19 AM · Feature Request, gpgagent
lopter added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

Thank you for testing.
For the issue #1, I think it is the probelm of rG1cd615afe301: gpg,card: Allow no version information of Yubikey.. This was introduced by the support of PIV feature of Yubikey.

Dec 14 2020, 2:05 AM · Restricted Project, gnupg, Feature Request
gniibe added a comment to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)).

Thank you for testing.
For the issue #1, I think it is the probelm of rG1cd615afe301: gpg,card: Allow no version information of Yubikey., which is fixed already. This was introduced by the support of PIV feature of Yubikey.

Dec 14 2020, 1:05 AM · Restricted Project, gnupg, Feature Request

Dec 13 2020

Laurent Montel <montel@kde.org> committed rLIBKLEO7e95286bbe2d: GIT_SILENT: increase version about compile without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: increase version about compile without deprecated method
Dec 13 2020, 2:12 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA714cf24a2f1c: GIT_SILENT: increase version about compile without deprecated method (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: increase version about compile without deprecated method
Dec 13 2020, 2:11 PM
Laurent Montel <montel@kde.org> committed rLIBKLEOa9cf6af1033a: GIT_SILENT: Time to create version. (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to create version.
Dec 13 2020, 9:53 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA17ed2fa042e7: GIT_SILENT: Time to create version. (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Time to create version.
Dec 13 2020, 9:51 AM

Dec 12 2020

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

Report on some testing using master:

Dec 12 2020, 9:33 PM · Restricted Project, gnupg, Feature Request
martinralbrecht closed T4800: python-gpgme signature revokation assertion error: `gpg->cmd.code' failed as Resolved.

You're right. Thank you.

Dec 12 2020, 8:28 PM · gpgme, Bug Report
TaaviE added a comment to T5180: PKA export uses algorithm number for "ECDSA Curve P-384 with SHA-384" instead of "Ed25519" for "Ed25519/Ec25519" keys.

Oh, any chance GPG could inform the user when using export-pka that it is dead/deprecated? Also thanks for the quick reply.

Dec 12 2020, 1:36 PM · Bug Report
werner closed T5180: PKA export uses algorithm number for "ECDSA Curve P-384 with SHA-384" instead of "Ed25519" for "Ed25519/Ec25519" keys as Invalid.

PKA is dead but anyway: What you see is a record from a DNS zone file which has a specific semantic. The 14 for example means that 20 bytes follow.

Dec 12 2020, 1:28 PM · Bug Report
werner triaged T5179: add export-filter based on user ID calculated validity as Normal priority.
Dec 12 2020, 1:26 PM · gnupg24, gnupg (gpg23), Feature Request
TaaviE created T5180: PKA export uses algorithm number for "ECDSA Curve P-384 with SHA-384" instead of "Ed25519" for "Ed25519/Ec25519" keys.
Dec 12 2020, 1:08 PM · Bug Report