Page MenuHome GnuPG
Feed Advanced Search

Jan 28 2020

gniibe added a comment to T3891: kdf-setup does not set admin and user PIN codes.

Or, #5 would be:

Jan 28 2020, 1:59 AM · Restricted Project, scd, Bug Report

Jan 27 2020

gniibe added a comment to T3891: kdf-setup does not set admin and user PIN codes.

@Amaud, I read your code in Python. IIUC, it asks users PW1, Reset Code, and PW3 to setup, just before registering KDF DO (as you describe in https://dev.gnupg.org/T3891#114950).

Jan 27 2020, 5:30 AM · Restricted Project, scd, Bug Report

Jan 24 2020

gniibe added a comment to T4818: libgcrypt build failures on several platforms.

For Cygwin, I can't find how its libgcrypt package is built.
I found this for MSYS2: https://github.com/msys2/MSYS2-packages/tree/master/libgcrypt
This for Mingw-w64: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-libgcrypt

Jan 24 2020, 2:53 AM · Solaris, libgcrypt, Bug Report
gniibe created T4822: mlock requires privilege.
Jan 24 2020, 2:21 AM · FAQ, Solaris, libgcrypt
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

I tested on FreeBSD. Same errors (t-secmen and t-sexp) are reproducible when we set:

Jan 24 2020, 2:05 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T3891: kdf-setup does not set admin and user PIN codes.

Thanks for concrete cases. Sorry, not responding earlier. It was an experimental feature, firstly only available in Gnuk Token.

Jan 24 2020, 12:19 AM · Restricted Project, scd, Bug Report

Jan 23 2020

gniibe committed rEd1e4b4b001b3: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Jan 23 2020, 6:13 AM
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

On Solaris, the test errors are because of:

USAGE
       Because of the impact on system resources, the use of mlock() and
       munlock() is restricted to users with the {PRIV_PROC_LOCK_MEMORY}
       privilege.
Jan 23 2020, 3:45 AM · Solaris, libgcrypt, Bug Report
gniibe committed rC03e6d6597198: random: Fix include of config.h. (authored by gniibe).
random: Fix include of config.h.
Jan 23 2020, 2:31 AM
gniibe committed rCe0898d062878: random: Fix include of config.h. (authored by gniibe).
random: Fix include of config.h.
Jan 23 2020, 2:30 AM
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

OK, I identified the problem on OpenIndiana. The inclusion of <unistd.h> causes inclusion of <sys/types.h> before config.h. I'm going to fix this.

Jan 23 2020, 2:24 AM · Solaris, libgcrypt, Bug Report

Jan 21 2020

gniibe committed rCaa9c78afa1d8: tests: Add basic test cases for sm2 (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
tests: Add basic test cases for sm2
Jan 21 2020, 6:19 AM
gniibe committed rC6b55246c7708: Add elliptic curve SM2 implementation. (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
Add elliptic curve SM2 implementation.
Jan 21 2020, 6:19 AM
gniibe committed rC8d9958910e54: ecc: Simplify signature code (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
ecc: Simplify signature code
Jan 21 2020, 5:38 AM
gniibe committed rC95e9cee80241: tests: Fix check_pubkey. (authored by gniibe).
tests: Fix check_pubkey.
Jan 21 2020, 5:19 AM
gniibe committed rC4997139b3e83: Avoid use of ulong in internal code. (authored by gniibe).
Avoid use of ulong in internal code.
Jan 21 2020, 4:09 AM
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

For GNU/Linux or GNU/kFreeBSD system, libgcrypt 1.8 with libgpg-error 1.36 has no problem in Debian build:
https://buildd.debian.org/status/package.php?p=libgcrypt20

Jan 21 2020, 1:48 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

In solaris11openindiana-log2, we have two errors: one for ulong, and another for ushort.
I fixed the former. It is because of our mistake of using ulong before it is handled by libgcrypt/src/types.h. In the first place, it is implemented by "unsigned long", so, there is no need to use ulong here.

Jan 21 2020, 1:41 AM · Solaris, libgcrypt, Bug Report
gniibe committed rCa29e058ff114: Fix declaration of internal function _gcry_mpi_get_ui. (authored by gniibe).
Fix declaration of internal function _gcry_mpi_get_ui.
Jan 21 2020, 1:02 AM

Jan 20 2020

gniibe claimed T4818: libgcrypt build failures on several platforms.

Thanks. I see the situation for Solaris 11 Openindiana. In master (will be 1.9.0), it has no problem.
We need to fix in 1.8. I will.

Jan 20 2020, 11:02 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T4818: libgcrypt build failures on several platforms.

Please give us log for Solaris 11 Openindiana.

Jan 20 2020, 5:24 AM · Solaris, libgcrypt, Bug Report
gniibe added a comment to T1983: gpg2 prefers missing secret key to available key on card.

I think that this ticket and https://bugs.debian.org/346241 handle different things, although both do key selection.

Jan 20 2020, 3:32 AM · Bug Report, gnupg

Jan 17 2020

gniibe committed rG8748c50bfaa8: gpg: Prefer card key on use in multiple subkeys situation. (authored by gniibe).
gpg: Prefer card key on use in multiple subkeys situation.
Jan 17 2020, 8:12 AM
gniibe committed rG853d5b7677ea: gpg: Prepare enhancement of agent_probe_secret_key. (authored by gniibe).
gpg: Prepare enhancement of agent_probe_secret_key.
Jan 17 2020, 8:12 AM
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
gniibe updated subscribers of D497: Set vZZ.16b register to zero before use in armv8 gcm implementation.

It looks good.

Jan 17 2020, 12:27 AM · libgcrypt

Jan 16 2020

lopter awarded T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) a 100 token.
Jan 16 2020, 6:48 PM · Restricted Project, gnupg, Feature Request
gniibe committed rCd154c1e9e110: Add new curve named sm2p256v1. (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
Add new curve named sm2p256v1.
Jan 16 2020, 9:16 AM
gniibe committed rCf34de41b9db5: Register DCO for Tianjia Zhang. (authored by gniibe).
Register DCO for Tianjia Zhang.
Jan 16 2020, 9:16 AM
gniibe raised the priority of T3416: gpg should select available signing key on card (even with -u option) from Normal to High.
Jan 16 2020, 5:43 AM · Restricted Project, Feature Request, gnupg
gniibe added a comment to T3416: gpg should select available signing key on card (even with -u option).

With new "KEYINFO" command of scdaemon, finally, we can move on to support better selection of signing key.
(Note: having a private key on multiple cards had already been solved in T4301: Handling multiple subkeys on two SmartCards.)

Jan 16 2020, 5:40 AM · Restricted Project, Feature Request, gnupg
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 T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) from Open to Testing.

In master, it has been implemented.

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, a subtask of T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)), from Open to Testing.
Jan 16 2020, 5:25 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 as Resolved.
Jan 16 2020, 5:17 AM · scd, 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
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

There is no use cases for $SIGNKEYID.

Jan 16 2020, 5:16 AM · scd, Feature Request, gnupg
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$ENCRKEYID use case have been removed.

Jan 16 2020, 5:14 AM · scd, Feature Request, gnupg
gniibe committed rG8edd4b8b8cdc: gpg: Use "SCD KEYINFO" to get available card keys. (authored by gniibe).
gpg: Use "SCD KEYINFO" to get available card keys.
Jan 16 2020, 5:10 AM
gniibe committed rG8240a70c31a8: gpg: Add agent_scd_keyinfo to retrieve available card keys. (authored by gniibe).
gpg: Add agent_scd_keyinfo to retrieve available card keys.
Jan 16 2020, 5:10 AM
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

Fixed and backported.

Jan 16 2020, 5:04 AM · Restricted Project, gnupg (gpg22)
gniibe committed rGa7840777e427: gpg: default-key: Simply don't limit by capability. (authored by gniibe).
gpg: default-key: Simply don't limit by capability.
Jan 16 2020, 2:32 AM
gniibe committed rG1aa2a0a46dc1: gpg: default-key: Simply don't limit by capability. (authored by gniibe).
gpg: default-key: Simply don't limit by capability.
Jan 16 2020, 2:31 AM

Jan 15 2020

gniibe committed rG6e4f7fe26ea9: po: Update Japanese Translation. (authored by gniibe).
po: Update Japanese Translation.
Jan 15 2020, 7:52 AM
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

Err.. Just removing the check may be the correct fix; It doesn't make sense to limit capability here.

Jan 15 2020, 7:41 AM · Restricted Project, gnupg (gpg22)
gniibe committed rG9287f9e87b21: gpg: Cert only key should be usable with --default-key. (authored by gniibe).
gpg: Cert only key should be usable with --default-key.
Jan 15 2020, 6:33 AM

Jan 14 2020

gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

I think rGe573e6188dad: gpg: Fix --default-key checks. should be fixed as:

diff --git a/g10/getkey.c b/g10/getkey.c
index ad5dd8e01..cc908964e 100644
--- a/g10/getkey.c
+++ b/g10/getkey.c
@@ -1860,7 +1860,8 @@ parse_def_secret_key (ctrl_t ctrl)
           PKT_public_key *pk = node->pkt->pkt.public_key;
Jan 14 2020, 8:28 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..
$ export GNUPGHOME=<somewhere>
# Create a key with "C"-only capability
$ gpg --quick-gen-key "test-user <chuji@gniibe.org>" ed25519 cert
# Create another key (or get/import it)
$ gpg --quick-gen-key "2020-user <chuji2020@gniibe.org>" ed25519
# Sign with the first key to the second key with --default-key
$ gpg --default-key 7694AB44DED1154CEB981059B0B36418AF85C918 --lsign 72FF31542DB059A507BAF81BE05523DEB4B018E6

(where 7694AB...85C918 is the first key and 72FF31..B018E6 is the second key)

Jan 14 2020, 8:03 AM · Restricted Project, gnupg (gpg22)
gniibe added a comment to T4810: A key with only "C" capability cannot be selected as default key..

rGe573e6188dad: gpg: Fix --default-key checks. is suspicious.

Jan 14 2020, 7:39 AM · Restricted Project, gnupg (gpg22)
gniibe created T4810: A key with only "C" capability cannot be selected as default key..
Jan 14 2020, 7:38 AM · Restricted Project, gnupg (gpg22)

Jan 13 2020

gniibe committed rGc31266716dd6: agent: Extend agent_card_getattr with KEYGRIP. (authored by gniibe).
agent: Extend agent_card_getattr with KEYGRIP.
Jan 13 2020, 9:09 AM
gniibe committed rG15028627a165: agent: handle SSH operation by KEYGRIP. (authored by gniibe).
agent: handle SSH operation by KEYGRIP.
Jan 13 2020, 9:09 AM
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

$AUTHKEYID use cases have been removed.

Jan 13 2020, 8:53 AM · scd, Feature Request, gnupg

Jan 10 2020

gniibe committed rG0cfded4bb148: scd: Implement direct access by KEYGRIP for GETATTR and READKEY. (authored by gniibe).
scd: Implement direct access by KEYGRIP for GETATTR and READKEY.
Jan 10 2020, 8:02 AM

Jan 9 2020

gniibe committed rG57b8ed61ab93: agent: SSH: SCD KEYINFO to list available keys. (authored by gniibe).
agent: SSH: SCD KEYINFO to list available keys.
Jan 9 2020, 4:01 AM

Jan 8 2020

gniibe added a comment to rEa2674207f7fe: build: Don't use -O0 which is not portable..

The particular part of mkheader compilation with -O0 was introduced by dkg for cross build support.
I believe that -O<number> (where <number> is not zero) is common but -O<something-other> is dependent.
Requesting non-optimization by -O0 seems GCC specific.
(I grep-ped autoconf-archive and observed the use cases of -O0.)

Jan 8 2020, 1:28 AM

Jan 7 2020

gniibe committed rEa2674207f7fe: build: Don't use -O0 which is not portable. (authored by gniibe).
build: Don't use -O0 which is not portable.
Jan 7 2020, 9:27 AM

Dec 27 2019

jheeb awarded T2291: Smartcard interaction improvement (was: Shadowed private key design (for smartcard)) a Love token.
Dec 27 2019, 5:54 PM · Restricted Project, gnupg, Feature Request

Dec 19 2019

gniibe committed rGb2a2df174b21: scd: Enhance KEYINFO command to limit listing with capability. (authored by gniibe).
scd: Enhance KEYINFO command to limit listing with capability.
Dec 19 2019, 10:07 AM
gniibe added a comment to T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.

Considering the concrete use case(s), it is more rational to support listing by capability.

NOTE: exposing capability is orthogonal issue
Dec 19 2019, 12:23 AM · scd, Feature Request, gnupg

Dec 18 2019

gniibe renamed T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID from Remove referring by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID to Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.
Dec 18 2019, 2:36 AM · scd, Feature Request, gnupg
gniibe lowered the priority of T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID from Unbreak Now! to Normal.
Dec 18 2019, 2:30 AM · scd, Feature Request, gnupg
gniibe created T4784: Remove referring a key by $AUTHKEYID, $ENCRKEYID, and $SIGNKEYID.
Dec 18 2019, 2:22 AM · scd, Feature Request, gnupg
gniibe added a subtask for T4695: Remove SERIALNO as an identifier to select keys: Unknown Object (Maniphest Task).
Dec 18 2019, 1:36 AM · Restricted Project, Feature Request, gnupg
gniibe added a parent task for T4301: Handling multiple subkeys on two SmartCards: T4695: Remove SERIALNO as an identifier to select keys.
Dec 18 2019, 1:35 AM · Restricted Project, gnupg, scd, Bug Report
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 16 2019

gniibe committed rPTH09a12a679ec0: Fix how we expose rwlock API. (authored by gniibe).
Fix how we expose rwlock API.
Dec 16 2019, 6:02 AM

Dec 9 2019

gniibe committed rE9280ce104efd: po: Update Japanese Translations. (authored by gniibe).
po: Update Japanese Translations.
Dec 9 2019, 10:35 AM
gniibe created T4774: Cross compilation friendly libgpg-error.
Dec 9 2019, 7:58 AM · Restricted Project, gpgrt

Dec 6 2019

gniibe changed the status of T4678: libassuan.pc missing include dir directive in cflags from Open to Testing.
Dec 6 2019, 5:31 AM · Restricted Project, libassuan
gniibe added a parent task for T4772: Release libgpg-error 1.37: T4498: Asan findings in tests/t-logging.c.
Dec 6 2019, 5:28 AM · Release Info, gpgrt
gniibe added a subtask for T4498: Asan findings in tests/t-logging.c: T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:28 AM · gpgrt
gniibe changed the status of T4498: Asan findings in tests/t-logging.c from Open to Testing.
Dec 6 2019, 5:28 AM · gpgrt
gniibe changed the status of T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools from Open to Testing.
Dec 6 2019, 5:27 AM · gpgrt, Feature Request
gniibe added a subtask for T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools: T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:26 AM · gpgrt, Feature Request
gniibe added a parent task for T4772: Release libgpg-error 1.37: T4643: gpgrt: enable the environment to set compiler and linker flags for helper tools.
Dec 6 2019, 5:26 AM · Release Info, gpgrt
gniibe added a subtask for T4539: libgpg-error on Windows: strerror_s can be used instead of strerror_r: T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:25 AM · gpgrt, Feature Request
gniibe added a subtask for T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh: T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:25 AM · Bug Report
gniibe added a subtask for T4459: libgpg-error build issue with gawk 5.0.0: T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:25 AM · Gentoo, gpgrt, MacOS, Bug Report
gniibe added parent tasks for T4772: Release libgpg-error 1.37: T4574: Change #!/bin/sh to #!/bin/bash in libgpg-error-1.36/src/gpg-error-config-test.sh, T4459: libgpg-error build issue with gawk 5.0.0, T4539: libgpg-error on Windows: strerror_s can be used instead of strerror_r.
Dec 6 2019, 5:25 AM · Release Info, gpgrt
gniibe added a project to T4772: Release libgpg-error 1.37: Release Info.
Dec 6 2019, 5:23 AM · Release Info, gpgrt
gniibe created T4772: Release libgpg-error 1.37.
Dec 6 2019, 5:23 AM · Release Info, gpgrt
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 added a parent task for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Dec 6 2019, 5:22 AM · Release Info, 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 removed a subtask for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Dec 6 2019, 5:21 AM · Release Info, 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 parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4293: Add dedicated X25519 function to Libcgrypt .
Dec 6 2019, 5:20 AM · Restricted Project, gpg4win, gnupg
gniibe added a project to T4293: Add dedicated X25519 function to Libcgrypt : Restricted Project.
Dec 6 2019, 5:20 AM · Restricted Project, libgcrypt
gniibe closed T4698: Results from clang analyzer as Resolved.
Dec 6 2019, 5:11 AM · gpgrt, Bug Report
gniibe added a parent task for T4702: Deadline for the GnuPG 2.3.0 release: T4713: Bug in get_best_pubkey_byname.
Dec 6 2019, 5:09 AM · Restricted Project, gpg4win, gnupg
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 removed a subtask for T4702: Deadline for the GnuPG 2.3.0 release: T4713: Bug in get_best_pubkey_byname.
Dec 6 2019, 5:09 AM · Restricted Project, gpg4win, gnupg
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)