Page MenuHome GnuPG
Feed Advanced Search

May 28 2020

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

Is there a blogpost or similar where the use of several smartcards following this improvement is explained to n00bs like me? :) For now all I find is this thread and some SE answers saying it does not work yet (https://security.stackexchange.com/questions/154702/gpg-encryption-subkey-on-multiple-smart-cards-issue) . If somebody could post a new answer on SE / write a small blog post or similar that would be great. Useful would be to have 1) from which versions and over is that available 2) how this works / how to use.

May 28 2020, 10:18 PM · Restricted Project, gnupg, Feature Request

May 21 2020

gniibe changed the status of T4934: Returning automatic variable buffer from a function from Open to Testing.

Fixed in master and applied to 2.2 branch too.

May 21 2020, 7:39 AM · dirmngr, Restricted Project, Bug Report

May 19 2020

werner changed the status of T4104: gpgsm/ksba removes leading zeros from signature byte array from Open to Testing.

Seems to be fixed now.

May 19 2020, 3:13 PM · Restricted Project, libksba, S/MIME, Bug Report
werner closed T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed, a subtask of T4888: GpgSM: Support ECC key generation by gpgsm_genkey, as Resolved.
May 19 2020, 2:43 PM · Restricted Project, Feature Request, S/MIME
werner closed T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed as Resolved.
May 19 2020, 2:43 PM · Restricted Project, Feature Request, S/MIME
werner added a comment to T4888: GpgSM: Support ECC key generation by gpgsm_genkey.

Finished if an existing key is used. See rG6dc3846d78192e393be73c16c72750734a9174d1 for examples.

May 19 2020, 2:42 PM · Restricted Project, Feature Request, S/MIME

May 14 2020

werner removed a parent task for T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed: T4098: GpgSM: Add ECC support.
May 14 2020, 10:50 AM · Restricted Project, Feature Request, S/MIME
werner added a parent task for T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed: T4888: GpgSM: Support ECC key generation by gpgsm_genkey.
May 14 2020, 10:50 AM · Restricted Project, Feature Request, S/MIME
werner added a subtask for T4888: GpgSM: Support ECC key generation by gpgsm_genkey: T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed.
May 14 2020, 10:50 AM · Restricted Project, Feature Request, S/MIME
werner added a parent task for T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed: T4098: GpgSM: Add ECC support.
May 14 2020, 10:47 AM · Restricted Project, Feature Request, S/MIME

Apr 28 2020

gniibe added a comment to T4869: constant-time mpi_invm.

I tested with this patch (which changes use of constant-time routine when it's secure memory):

Apr 28 2020, 5:57 AM · libgcrypt

Apr 14 2020

gniibe updated the task description for T4914: libgcrypt ECC regression for the use case in GNUNET.
Apr 14 2020, 8:03 AM · Restricted Project, libgcrypt
gniibe changed the status of T4914: libgcrypt ECC regression for the use case in GNUNET from Open to Testing.

Fixed in rC0ff36e04f7cd: ecc: Remove hard-coded value for ECC_DIALECT_ED25519..

Apr 14 2020, 8:02 AM · Restricted Project, libgcrypt

Apr 9 2020

werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

There are no betas; either you apply the patch mentioned above ( rG2f08a4f25df7) to a stock 2.2.20 or you build from the Git repo (STABLE-BRANCH-2-2, see https://gnupg.org/download/git.html).

Apr 9 2020, 6:44 PM · Restricted Project, gnupg (gpg22), Bug Report
Broccoli added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

Could you guide me to where I find the beta or snapshot, so I could test it and give you feedback? I seem to be unable to find it on my own.

Apr 9 2020, 12:25 PM · Restricted Project, gnupg (gpg22), Bug Report
gniibe changed the status of T4774: Cross compilation friendly libgpg-error from Open to Testing.

Push the change to master.

Apr 9 2020, 9:03 AM · Restricted Project, gpgrt

Apr 8 2020

Broccoli added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

That's odd. :-)

Apr 8 2020, 4:20 PM · Restricted Project, gnupg (gpg22), Bug Report
werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

FWIW, the code was written by the author of the specs and he note in his original patch (rGe0972d3d96) :

Apr 8 2020, 4:07 PM · Restricted Project, gnupg (gpg22), Bug Report
gniibe changed the status of T4908: ECDH with AES-128 decryption failure when fully padded from Open to Testing.

Thanks for your report. The problem of GnuPG was that it mandated padding length < 16 bytes, which is wrong.

Apr 8 2020, 2:44 AM · Restricted Project, gnupg (gpg22), Bug Report

Apr 7 2020

gniibe added a project to T4906: error: call to 'vec_vsx_ld' is ambiguous: Restricted Project.
Apr 7 2020, 2:57 AM · Restricted Project, libgcrypt, Bug Report

Apr 6 2020

gniibe changed the status of T4888: GpgSM: Support ECC key generation by gpgsm_genkey from Open to Testing.
Apr 6 2020, 6:49 AM · Restricted Project, Feature Request, S/MIME

Apr 3 2020

gniibe changed the status of T4843: REGEXP support for all systems from Open to Testing.

Pushed the changes.

Apr 3 2020, 8:50 AM · Restricted Project, gnupg

Apr 2 2020

gniibe added a comment to T4864: New scdaemon command to watch device removal.

It runs like:

$ gpg-connect-agent "scd devinfo --watch" /bye
S DEVINFO_START
S DEVINFO_END
S DEVINFO_STATUS new
S DEVINFO_START
S DEVICE generic D276000124010200F517000000010000 openpgp
S DEVINFO_END
S DEVINFO_STATUS removal
S DEVINFO_START
S DEVINFO_END
OK
$ 
Apr 2 2020, 8:49 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe changed the status of T4864: New scdaemon command to watch device removal from Open to Testing.

Push the change to master.

Apr 2 2020, 8:46 AM · Restricted Project, Feature Request, scd, Bug Report

Mar 24 2020

gniibe changed the status of T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix from Open to Testing.

This should work well with libksba master and gnupg/sm master.

Mar 24 2020, 3:35 AM · S/MIME, Feature Request, libksba
gniibe changed the status of T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed from Open to Testing.

The commits in 2019 (for libksba and gnupg/sm) handles the problem (of key generation using card).

Mar 24 2020, 3:32 AM · Restricted Project, Feature Request, S/MIME

Mar 20 2020

werner closed T4810: A key with only "C" capability cannot be selected as default key. as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22)
werner closed T4832: card: when KDF is enabled, use of pinpad input should be disabled as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner closed T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed as Resolved.
Mar 20 2020, 5:59 PM · Restricted Project, gnupg (gpg22)

Mar 19 2020

gniibe added a subtask for T4869: constant-time mpi_invm: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:22 AM · libgcrypt
gniibe added a subtask for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:21 AM · Restricted Project, libgcrypt
gniibe removed a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt
gniibe added a subtask for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe removed a parent task for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:14 AM · Restricted Project, libgcrypt
gniibe removed subtasks for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0, T4702: Deadline for the GnuPG 2.3.0 release.
Mar 19 2020, 5:13 AM · Restricted Project, libgcrypt
gniibe changed the status of T4869: constant-time mpi_invm from Open to Testing.
Mar 19 2020, 5:10 AM · libgcrypt

Mar 18 2020

werner moved T4810: A key with only "C" capability cannot be selected as default key. from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 4:08 PM · Restricted Project, gnupg (gpg22)
werner moved T4832: card: when KDF is enabled, use of pinpad input should be disabled from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 4:06 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner added a comment to T4832: card: when KDF is enabled, use of pinpad input should be disabled.

Backported to 2.2

Mar 18 2020, 4:06 PM · Restricted Project, gnupg (gpg22), scd, Bug Report
werner moved T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed from Backlog to For next release on the gnupg (gpg22) board.
Mar 18 2020, 3:50 PM · Restricted Project, gnupg (gpg22)

Mar 13 2020

werner added a comment to T4872: Support opaque MPI with gcry_mpi_print.

I am not sure whether this is related but when using Libgcrypt master and verifying a signature created with an ed25519 key, I get the error below with valgrind. Both with 2.2. current and 2.3. It does not happen with the current Libgcrypt 1.8.

Mar 13 2020, 5:25 PM · Restricted Project, Feature Request, libgcrypt

Mar 12 2020

gniibe added a project to T4624: libassuan-config and libassuan.pc both put -lws2_32 before -lgpg-error, which fails during static linking: Restricted Project.
Mar 12 2020, 6:46 AM · Restricted Project, Windows, libassuan, Bug Report
gniibe added a project to T4623: pkg-config for mingw needs to emit -lws2_32: Restricted Project.
Mar 12 2020, 6:46 AM · Restricted Project, Windows, gpgrt, Bug Report
gniibe added a project to T4301: Handling multiple subkeys on two SmartCards: Restricted Project.
Mar 12 2020, 6:45 AM · Restricted Project, gnupg, scd, Bug Report
gniibe changed the status of T4810: A key with only "C" capability cannot be selected as default key. from Open to Testing.
Mar 12 2020, 6:43 AM · Restricted Project, gnupg (gpg22)
gniibe changed the status of T4244: Better enum_secret_keys by asking gpg-agent KEYINFO --list from Open to Testing.
Mar 12 2020, 6:40 AM · Restricted Project, gnupg
gniibe added a project to T4491: Compile error in nPth's t-fork.c on Solaris 11.3 i86pc: Restricted Project.
Mar 12 2020, 6:39 AM · npth, Bug Report
gniibe added projects to T4583: pinentry-tty should accept backspace, delete, and ctrl-U: Restricted Project, pinentry.
Mar 12 2020, 6:39 AM · pinentry, Restricted Project, Bug Report
gniibe added a project to T4585: pinentry-tty mishandles ctrl-C: Restricted Project.
Mar 12 2020, 6:38 AM · Restricted Project, Bug Report
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
gniibe added a project to T3207: FASTWIPE_T undefined: Restricted Project.
Mar 12 2020, 6:34 AM · Restricted Project, ntbtls, Bug Report
gniibe changed the status of T4597: Support GCM modes for ntbtls. from Open to Testing.
Mar 12 2020, 6:33 AM · Restricted Project, Feature Request, ntbtls
gniibe changed the status of T4641: Libassuan: enable the environment to set compiler and linker flags for helper tools from Open to Testing.
Mar 12 2020, 6:32 AM · Restricted Project, libassuan, Feature Request
gniibe changed the status of T4673: 2.3-only: Don't fallback to PC/SC on failure by the internal CCID driver, only use PC/SC when --disable-ccid is specified from Open to Testing.
Mar 12 2020, 6:31 AM · gnupg (gpg23), Restricted Project, scd, Feature Request
gniibe added a project to T4678: libassuan.pc missing include dir directive in cflags: Restricted Project.
Mar 12 2020, 6:30 AM · Restricted Project, libassuan

Mar 11 2020

gniibe changed the status of T4872: Support opaque MPI with gcry_mpi_print from Open to Testing.

Fixed in master.

Mar 11 2020, 8:13 AM · Restricted Project, Feature Request, libgcrypt

Feb 28 2020

gniibe added a project to T4832: card: when KDF is enabled, use of pinpad input should be disabled: Restricted Project.
Feb 28 2020, 8:39 AM · Restricted Project, gnupg (gpg22), scd, Bug Report
gniibe changed the status of T3891: kdf-setup does not set admin and user PIN codes from Open to Testing.

I pushed the change to master.

Feb 28 2020, 8:34 AM · Restricted Project, scd, Bug Report

Feb 19 2020

sanmai added a comment to T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed.

I can confirm that the problem is gone from a build from the master branch. It indeed retries the search.

Feb 19 2020, 6:44 AM · Restricted Project, gnupg (gpg22)
gniibe changed the status of T4850: GnuPG fails to find default key to sign when using a smart card, but recovers once card is removed from Open to Testing.
Feb 19 2020, 3:07 AM · Restricted Project, gnupg (gpg22)

Jan 17 2020

gniibe changed the status of T3416: gpg should select available signing key on card (even with -u option), a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Jan 17 2020, 8:12 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T3416: gpg should select available signing key on card (even with -u option) from Open to Testing.

Implemented in master.

Jan 17 2020, 8:12 AM · Restricted Project, Feature Request, gnupg

Jan 16 2020

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

BTW, I just pushed some new features to maste for the gpg-card tool. You can now do

Jan 16 2020, 9:37 PM · Restricted Project, gnupg, Feature Request
gniibe added a project to T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)): Restricted Project.
Jan 16 2020, 5:29 AM · Restricted Project, gnupg, Feature Request
gniibe changed the status of T4695: Remove SERIALNO as an identifier to select keys from Open to Testing.
Jan 16 2020, 5:25 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

The first "SCD SERIALNO" command let scdaemon re-scan smartcards/tokens.

Jan 16 2020, 5:24 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T4695: Remove SERIALNO as an identifier to select keys.

With new "KEYINFO" command in scdaemon, a list of card keys can be retrieved by:

Jan 16 2020, 5:22 AM · Restricted Project, Feature Request, gnupg
gniibe closed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID, a subtask of T4695: Remove SERIALNO as an identifier to select keys, as Resolved.
Jan 16 2020, 5:17 AM · Restricted Project, Feature Request, gnupg

Dec 23 2019

werner removed a subtask for T4695: Remove SERIALNO as an identifier to select keys: Restricted Maniphest Task.
Dec 23 2019, 11:02 AM · Restricted Project, Feature Request, gnupg

Dec 18 2019

gniibe added a subtask for T4695: Remove SERIALNO as an identifier to select keys: Restricted Maniphest Task.
Dec 18 2019, 1:36 AM · Restricted Project, Feature Request, gnupg
gniibe added a subtask for T4695: Remove SERIALNO as an identifier to select keys: T4301: Handling multiple subkeys on two SmartCards.
Dec 18 2019, 1:35 AM · Restricted Project, Feature Request, gnupg

Dec 17 2019

werner added a comment to T4695: Remove SERIALNO as an identifier to select keys.

Many cards have some printed information and I consider them important to avoid testing one by one all the cards from my pocket.
This I am really in favor of beeing asked to insert the respective card. The new text format private key files make it much easier to maintain this info

Dec 17 2019, 4:36 PM · Restricted Project, Feature Request, gnupg

Dec 6 2019

gniibe added a subtask for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Dec 6 2019, 5:22 AM · Restricted Project, libgcrypt
gniibe removed a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Dec 6 2019, 5:21 AM · Restricted Project, libgcrypt
gniibe added a subtask for T4293: Add dedicated X25519 function to Libcgrypt : T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 5:20 AM · Restricted Project, libgcrypt
gniibe added a project to T4293: Add dedicated X25519 function to Libcgrypt : Restricted Project.
Dec 6 2019, 5:20 AM · Restricted Project, libgcrypt
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 added a subtask for T4620: no support for multiple (yubikey) smartcards plugged in at the same time: T4702: Deadline for the GnuPG 2.3.0 release.
Dec 6 2019, 3:08 AM · Restricted Project, Bug Report

Nov 25 2019

werner closed T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="' as Resolved.
Nov 25 2019, 10:12 PM · Restricted Project, gnupg (gpg22), Bug Report

Nov 18 2019

gniibe closed T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7 as Resolved.

This will be in 2.2.18, closing.

Nov 18 2019, 9:37 AM · scd, Restricted Project, Bug Report

Oct 29 2019

gniibe added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Sorry, it was simply my confusion (between GEMPC_PINPAD and GEMPC_EZIO).
Fixed now.

Oct 29 2019, 12:01 AM · scd, Restricted Project, Bug Report

Oct 28 2019

martin.von.wittich added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

Please test. When I can confirm that it is stable, I'll backport it to 2.2.

Oct 28 2019, 2:22 PM · scd, Restricted Project, Bug Report

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

pow added a comment to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7.

@gniibe oh, I see thanks for pointing out precisely main the problem. I will check the hardware supply chain RoHS 2002/95/EC

Oct 15 2019, 6:14 PM · scd, Restricted Project, Bug Report
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)
gniibe added projects to T4654: Gemalto Ezio Shield (CT710): CCID command failed: Parameter error at offset 7: Restricted Project, scd.

@pow, thanks for a reference. But problem here is that there are multiple products with same name.

Oct 15 2019, 2:44 AM · scd, Restricted Project, Bug Report

Oct 9 2019

gniibe added a project to T4158: UIF (User Interaction Flag) DO support: Restricted Project.
Oct 9 2019, 4:17 AM · Restricted Project, Feature Request, scd, gnupg
gniibe added a project to T4633: gpg argument "--passphrase=" yields 'missing argument for option "--passphrase="': Restricted Project.
Oct 9 2019, 4:16 AM · Restricted Project, gnupg (gpg22), Bug Report
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 added a project to T4695: Remove SERIALNO as an identifier to select keys: Restricted Project.
Oct 9 2019, 4:15 AM · Restricted Project, Feature Request, gnupg

Oct 2 2019

gniibe added a project to T4712: Keygrip broken in master for cv25519: Restricted Project.

I modified _gcry_ecc_fill_in_curve so that g_y has new value in eid4730.

Oct 2 2019, 8:29 AM · Restricted Project, Bug Report, libgcrypt