Page MenuHome GnuPG
Feed Advanced Search

Mar 25 2022

gniibe removed a project from T5531: dirmngr --validate broken for DER encoded files: Restricted Project.
Mar 25 2022, 11:45 PM · gnupg (gpg23), dirmngr, Bug Report
gniibe claimed T5701: Mismatch between enums and config table.

Thank you. Applied.

Mar 25 2022, 6:31 AM · gnupg (gpg23), Bug Report
gniibe committed rGcaba9df72665: tools:gpgconf: Fix gc_component table. (authored by gniibe).
tools:gpgconf: Fix gc_component table.
Mar 25 2022, 6:30 AM
gniibe added a project to T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows: Restricted Project.
Mar 25 2022, 6:17 AM · libksba, Bug Report
gniibe committed rGc795be79c14f: agent: Use "Created:" field for creation time. (authored by gniibe).
agent: Use "Created:" field for creation time.
Mar 25 2022, 6:16 AM
gniibe claimed T5538: gpg-agent's keytocard cmd should use a better default creation time..

Implemented.

Mar 25 2022, 6:16 AM · gpgagent, gnupg (gpg23)
gniibe closed T5439: Bug of t-keydb.c as Invalid.
Mar 25 2022, 5:13 AM · gnupg (gpg23)
gniibe committed rE8e67e8c3f21c: w32: Fix for MinGW which doesn't define EOPNOTSUPP. (authored by gniibe).
w32: Fix for MinGW which doesn't define EOPNOTSUPP.
Mar 25 2022, 3:52 AM
gniibe added a project to T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44: Restricted Project.

Thank you for the error output.

Mar 25 2022, 3:44 AM · gpgrt, Bug Report
gniibe added a project to T5893: Patches to compile pinentry-1.2.0 cleanly with mingw.org's MinGW: Restricted Project.
Mar 25 2022, 2:13 AM · Windows, pinentry, Bug Report
gniibe committed rG25d37a0a6a9c: dirmngr: Suppress error message on trial reading as PEM format. (authored by gniibe).
dirmngr: Suppress error message on trial reading as PEM format.
Mar 25 2022, 12:43 AM
gniibe added a comment to T5531: dirmngr --validate broken for DER encoded files.

it still shows the no certificate or invalid encoded error message:

Mar 25 2022, 12:42 AM · gnupg (gpg23), dirmngr, Bug Report

Mar 24 2022

gniibe committed rP41884436bec0: w32,curses: Supply simple replacement for nl_langinfo. (authored by gniibe).
w32,curses: Supply simple replacement for nl_langinfo.
Mar 24 2022, 8:45 AM
gniibe committed rP4612fd45f569: curses: Move pinentry_utf8_to_local/pinentry_local_to_utf8. (authored by gniibe).
curses: Move pinentry_utf8_to_local/pinentry_local_to_utf8.
Mar 24 2022, 8:45 AM
gniibe committed rP9a8a38d28d36: build,w32: Fix build on Windows. (authored by gniibe).
build,w32: Fix build on Windows.
Mar 24 2022, 8:45 AM
gniibe added a comment to T5893: Patches to compile pinentry-1.2.0 cleanly with mingw.org's MinGW.

And I move functions from pinentry.c to pinentry-curses.c, so that pinentry-w32.exe can be build with no libiconv (which is actually not used).

Mar 24 2022, 8:19 AM · Windows, pinentry, Bug Report
gniibe claimed T5893: Patches to compile pinentry-1.2.0 cleanly with mingw.org's MinGW.

Thank you for your report.

Mar 24 2022, 7:28 AM · Windows, pinentry, Bug Report
gniibe merged task T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful into T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .
Mar 24 2022, 6:02 AM · gnupg (gpg22), Bug Report
gniibe merged T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful into T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .
Mar 24 2022, 6:02 AM · gnupg24, Bug Report
gniibe added a comment to T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .

Merged into T5804.

Mar 24 2022, 5:59 AM · gnupg (gpg22), Bug Report
gniibe claimed T5531: dirmngr --validate broken for DER encoded files.

Thank you. Confirmed.

Mar 24 2022, 5:57 AM · gnupg (gpg23), dirmngr, Bug Report
gniibe committed rG4d19759ce5fb: dirmngr: Clear the error count to try certificate as binary. (authored by gniibe).
dirmngr: Clear the error count to try certificate as binary.
Mar 24 2022, 5:57 AM
gniibe closed T5573: kbxutil shows [bad] checksum as Resolved.
Mar 24 2022, 5:47 AM · gnupg (gpg23)
gniibe claimed T5809: Expire subkey violates assertion "! sig->hashed".
Mar 24 2022, 5:38 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe added a project to T5809: Expire subkey violates assertion "! sig->hashed": Restricted Project.
Mar 24 2022, 5:38 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rG01329da8a778: kbx: Fix searching for FPR20 in version 2 blob. (authored by gniibe).
kbx: Fix searching for FPR20 in version 2 blob.
Mar 24 2022, 5:24 AM
gniibe added a project to T5888: uid changed from [ultimate] to [ unknown]: Restricted Project.

Thank you for the reproducible test case. Confirmed.

Mar 24 2022, 5:23 AM · gnupg (gpg23), Bug Report
gniibe claimed T5888: uid changed from [ultimate] to [ unknown].
Mar 24 2022, 5:11 AM · gnupg (gpg23), Bug Report
gniibe changed the status of T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW from Open to Testing.
Mar 24 2022, 2:11 AM · npth, Bug Report
gniibe added a comment to T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW.

Pushed the change removing the definition.

Mar 24 2022, 2:09 AM · npth, Bug Report
gniibe committed rPTHebdc0da1fc41: w32: Remove fallback definition of struct timespec. (authored by gniibe).
w32: Remove fallback definition of struct timespec.
Mar 24 2022, 1:57 AM
gniibe added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

GetNativeSystemInfo. Would you like me to submit a patch that used that in jent_ncpu?

Mar 24 2022, 12:57 AM · backport, libgcrypt, Bug Report

Mar 23 2022

gniibe removed a project from T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : Info Needed.

Thank you. Confirmed.

Mar 23 2022, 9:41 AM · gnupg (gpg22), Bug Report
gniibe removed a project from T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : Info Needed.
Mar 23 2022, 9:09 AM · gnupg24, Bug Report
gniibe added a comment to T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .

Thank you.

Mar 23 2022, 7:11 AM · gnupg24, Bug Report
gniibe committed rPTH7e83227e18a4: build: Don't include src/npth.h in the distribution. (authored by gniibe).
build: Don't include src/npth.h in the distribution.
Mar 23 2022, 6:42 AM
gniibe added a comment to T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW.

Considering again, I think that just removing the definition of the struct timespec in npth.h is the best approach, given the situation, it's been there for MINGW64 and it's now in original MinGW.

Mar 23 2022, 6:36 AM · npth, Bug Report
gniibe added a comment to T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW.

Thank you. I understand the situation by looking at mingwrt-5.4.2-mingw32-src.tar.xz.

Mar 23 2022, 4:05 AM · npth, Bug Report
gniibe added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

In libgcrypt (1.10), we have a copy of the jitterentropy 3.3.0 from:
http://www.chronox.de/jent.html
or https://github.com/smuellerDD/jitterentropy-library

Mar 23 2022, 1:02 AM · backport, libgcrypt, Bug Report

Mar 22 2022

gniibe added a comment to T5870: libgcrypt: AEAD API for FIPS 140 (in future).

I had thought that we need to combine hkdf so that key and iv can generate within libgcrypt internally.
Probably, this assumption of mine may be wrong.

Mar 22 2022, 10:53 AM · Feature Request, FIPS, libgcrypt
gniibe committed rPTHed674b9eb218: w32: Don't allocate attribute internally. (authored by gniibe).
w32: Don't allocate attribute internally.
Mar 22 2022, 6:12 AM
gniibe committed rKe751d1fa01bd: Fix test of t-cms-parser. (authored by gniibe).
Fix test of t-cms-parser.
Mar 22 2022, 5:26 AM
gniibe triaged T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows as Normal priority.
Mar 22 2022, 3:22 AM · libksba, Bug Report
gniibe changed the status of T5892: t-cms-parser test program in libksba-1.6.0 needs to open files in binary mode for MS-Windows from Open to Testing.

Thank you. Confirmed and applied.

Mar 22 2022, 3:21 AM · libksba, Bug Report
gniibe claimed T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

Thank you for your report.

Mar 22 2022, 3:11 AM · backport, libgcrypt, Bug Report
gniibe claimed T5890: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgpg-error-1.44.

Please specify your MinGW version.

Mar 22 2022, 3:01 AM · gpgrt, Bug Report
gniibe added a project to T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW: npth.
Mar 22 2022, 2:23 AM · npth, Bug Report
gniibe claimed T5889: Declaration of 'struct timespec' in npth-1.6 conflicts with some versions of MinGW.

Please specify the version of MinGW, which you are using. (We use Mingw-w64 for GnuPG Project.)

Mar 22 2022, 2:23 AM · npth, Bug Report

Mar 21 2022

gniibe added a comment to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).

Now, the problem is not about the case of pid == getpid () any more.

Mar 21 2022, 9:56 AM · Bug Report, gnupg (gpg23)
gniibe added a comment to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).

Note that there is a race condition still (after a fix of one race condition which may be somewhat likely and reproducible, and another fix of race condition when there is a stale lockfile).

Mar 21 2022, 5:16 AM · Bug Report, gnupg (gpg23)
gniibe added a comment to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).

Fixed another race in commit: rG2f1afc129662: common: Fix another race condition, and address the other one.

Mar 21 2022, 5:09 AM · Bug Report, gnupg (gpg23)

Mar 19 2022

gniibe committed rG2f1afc129662: common: Fix another race condition, and address the other one. (authored by gniibe).
common: Fix another race condition, and address the other one.
Mar 19 2022, 6:55 AM
gniibe committed rG0ba69e558191: gpg: Always use version >= 4 to generate signature. (authored by gniibe).
gpg: Always use version >= 4 to generate signature.
Mar 19 2022, 5:41 AM

Mar 18 2022

gniibe added a comment to rGd94b411f129f: common: Fix a race condition removing stale lockfile..

For the logic of detecting unlocking, it should work when h->use_o_excl == 1.

Mar 18 2022, 10:18 AM
gniibe added a comment to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).

Before the fix above, https://bugs.debian.org/972525 can be explained by the following scenario:

Mar 18 2022, 7:59 AM · Bug Report, gnupg (gpg23)
gniibe added a project to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile): Restricted Project.

Fixed in master. Should be backported when found stable.

Mar 18 2022, 6:59 AM · Bug Report, gnupg (gpg23)
gniibe committed rGd94b411f129f: common: Fix a race condition removing stale lockfile. (authored by gniibe).
common: Fix a race condition removing stale lockfile.
Mar 18 2022, 6:57 AM
gniibe added a comment to T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).

I pushed a change for t-dotlock.c for testing.

Mar 18 2022, 4:41 AM · Bug Report, gnupg (gpg23)
gniibe committed rGa30359cecb5b: common: More heavy test condition for t-dotlock.c. (authored by gniibe).
common: More heavy test condition for t-dotlock.c.
Mar 18 2022, 4:36 AM
gniibe updated the task description for T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).
Mar 18 2022, 2:22 AM · Bug Report, gnupg (gpg23)
gniibe updated the task description for T5884: dotlock is not perfect (errornously remove .lock as stale lockfile).
Mar 18 2022, 2:21 AM · Bug Report, gnupg (gpg23)
gniibe triaged T5884: dotlock is not perfect (errornously remove .lock as stale lockfile) as High priority.
Mar 18 2022, 2:19 AM · Bug Report, gnupg (gpg23)

Mar 17 2022

gniibe added projects to T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : gnupg (gpg22), Info Needed.
Mar 17 2022, 3:33 AM · gnupg (gpg22), Bug Report
gniibe triaged T5673: Using empty passphrase key pair, gpg2.2.9 fails to decrypt with error "No secret key" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful as Normal priority.

I can't replicate this symptom when I use gnupg1 for creating keys with no passphrase.

Mar 17 2022, 3:31 AM · gnupg (gpg22), Bug Report
gniibe added a project to T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : Info Needed.
Mar 17 2022, 1:53 AM · gnupg24, Bug Report
gniibe added a comment to T5639: dirmngr uses the wrong Let's encrypt chain.

I think that the particular issue of Let's Encrypt Certificate was handled correctly already.

Mar 17 2022, 1:15 AM · gnupg (gpg22), dirmngr
gniibe added subtasks for T5882: Cross signing certificate in X.509 support: T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present, T2972: GPGSM: Chain too long on cross signed certificate.
Mar 17 2022, 12:48 AM
gniibe added a parent task for T5445: gpgsm fails to find path to valid X.509 root when cross-signed intermediate certificate is present: T5882: Cross signing certificate in X.509 support.
Mar 17 2022, 12:48 AM · S/MIME, Bug Report
gniibe added a parent task for T2972: GPGSM: Chain too long on cross signed certificate: T5882: Cross signing certificate in X.509 support.
Mar 17 2022, 12:48 AM · Bug Report, gnupg, KDE, S/MIME
gniibe added a subtask for T5882: Cross signing certificate in X.509 support: T5639: dirmngr uses the wrong Let's encrypt chain.
Mar 17 2022, 12:46 AM
gniibe added a parent task for T5639: dirmngr uses the wrong Let's encrypt chain: T5882: Cross signing certificate in X.509 support.
Mar 17 2022, 12:46 AM · gnupg (gpg22), dirmngr
gniibe triaged T5882: Cross signing certificate in X.509 support as Normal priority.
Mar 17 2022, 12:45 AM

Mar 16 2022

gniibe closed T5157: libgcrypt: ARM64 Builds on macOS fail as Resolved.
Mar 16 2022, 3:09 PM · toolchain, MacOS, libgcrypt, Bug Report
gniibe closed T5157: libgcrypt: ARM64 Builds on macOS fail, a subtask of T5159: make check fails for libgcrypt on Apple Silicon / ARM Mac, as Resolved.
Mar 16 2022, 3:09 PM · Restricted Project, MacOS, libgcrypt, Bug Report
gniibe closed T5120: Incompatible Ed25519 secret key (no-encryption), a subtask of T5114: GnuPG fails to import back generated and exported EdDSA secret key., as Resolved.
Mar 16 2022, 3:07 PM · gnupg, Restricted Project, gpgagent, Bug Report
gniibe closed T5120: Incompatible Ed25519 secret key (no-encryption) as Resolved.
Mar 16 2022, 3:07 PM · gnupg (gpg22), Bug Report
gniibe closed T4931: gnupg unusable with a long path to $HOME as Resolved.
Mar 16 2022, 3:03 PM · Not A Bug, FAQ, gnupg
gniibe closed T4900: OS X 10.12 and dyld: Library not loaded: /usr/local/lib/libgcrypt.20.dylib as Resolved.
Mar 16 2022, 2:55 PM · MacOS, libgcrypt, Bug Report
gniibe added a comment to T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful .

I can't replicate this symptom (gpg1 generated key, no problem after migration).
Could you share the *.key file under private-keys-v1.d?

Mar 16 2022, 10:15 AM · gnupg24, Bug Report
gniibe committed rMb2a2158384a9: core: Support keylist mode for op_keylist_from_data. (authored by gniibe).
core: Support keylist mode for op_keylist_from_data.
Mar 16 2022, 8:56 AM
gniibe added a project to T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS: Restricted Project.
Mar 16 2022, 8:24 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report
gniibe claimed T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS.
Mar 16 2022, 8:20 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report
gniibe added a comment to T5809: Expire subkey violates assertion "! sig->hashed".

I think that this commit rG8fd150b05b74: gpg: Remove all support for v3 keys and always create v4-signatures. matters.

Mar 16 2022, 7:37 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe moved T5835: libgcrypt: More robust/portable integrity check from Next to Ready for release on the FIPS board.
Mar 16 2022, 6:16 AM · Bug Report, libgcrypt, FIPS

Mar 15 2022

gniibe committed rGc6dd9ff92904: scd: Fix DEVINFO with no --watch. (authored by gniibe).
scd: Fix DEVINFO with no --watch.
Mar 15 2022, 7:39 AM

Mar 14 2022

gniibe added a comment to T5862: authentication with USB token.

And updated scd_validate2.py:

Mar 14 2022, 10:57 AM · gpgagent, Feature Request, scd
gniibe added a comment to T5862: authentication with USB token.

Wrote a pam module which interacts a user for auth:

Mar 14 2022, 10:55 AM · gpgagent, Feature Request, scd

Mar 11 2022

gniibe committed rG665b59a0663d: Fix previous commit. (authored by gniibe).
Fix previous commit.
Mar 11 2022, 6:11 AM
gniibe added a comment to rG934864d399bb: scd: Enhance PASSWD command to accept KEYGRIP optionally..

Thank you for your comment.

Mar 11 2022, 6:07 AM

Mar 10 2022

gniibe added a comment to T5862: authentication with USB token.

I write a prototype in Python using pyassuan:

Mar 10 2022, 3:35 AM · gpgagent, Feature Request, scd
gniibe committed rGd577ed295637: scd: Use same idiom for same work. (authored by gniibe).
scd: Use same idiom for same work.
Mar 10 2022, 3:14 AM
gniibe committed rG934864d399bb: scd: Enhance PASSWD command to accept KEYGRIP optionally. (authored by gniibe).
scd: Enhance PASSWD command to accept KEYGRIP optionally.
Mar 10 2022, 3:14 AM

Mar 9 2022

gniibe changed the status of T5856: Forcing aead when creating sign & encrypted files creates inconsistent results from Open to Testing.
Mar 9 2022, 3:13 AM · gnupg (gpg23), Bug Report
gniibe committed rGeadf12a52c2e: sign: Construct valid AEAD packets. (authored by Jakuje).
sign: Construct valid AEAD packets.
Mar 9 2022, 3:12 AM
gniibe added a comment to T5856: Forcing aead when creating sign & encrypted files creates inconsistent results.

Sorry. While v5 things in the specification is still in flux, from the viewpoint of the implementation, this patch is 100% valid and it makes sense.

Mar 9 2022, 3:12 AM · gnupg (gpg23), Bug Report
gniibe added a project to T5793: gpgsm: Wrong length when parsing octetstring in constructed encoding + definite length: Restricted Project.

Fixed in master and 2.2 branch.

Mar 9 2022, 2:58 AM · Restricted Project, S/MIME, gnupg (gpg22)
gniibe committed rG0c7dffe99d3f: sm: Fix parsing encrypted data. (authored by gniibe).
sm: Fix parsing encrypted data.
Mar 9 2022, 2:58 AM
gniibe committed rG6c50834c0905: sm: Fix parsing encrypted data. (authored by gniibe).
sm: Fix parsing encrypted data.
Mar 9 2022, 2:52 AM
gniibe added a project to T4873: Enable AES GCM in FIPS mode: FIPS.
Mar 9 2022, 12:58 AM · FIPS, libgcrypt, Feature Request

Mar 8 2022

gniibe added a comment to T5856: Forcing aead when creating sign & encrypted files creates inconsistent results.

Thank you for the report.

Mar 8 2022, 10:40 AM · gnupg (gpg23), Bug Report