Page MenuHome GnuPG
Feed Advanced Search

Aug 17 2022

gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

@ikloecker Thank you. You're right. Please go ahead.

Aug 17 2022, 1:44 AM · gpgrt, gpgme, Bug Report

Aug 15 2022

gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Note that gpgrt-config supports the PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR environment variables.

Aug 15 2022, 10:12 AM · gpgrt, gpgme, Bug Report
gniibe closed T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS as Resolved.

It's in 1.18.0.

Aug 15 2022, 2:57 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report
gniibe closed T5825: [gpgme] [python] possible dangling reference to passphrase as Resolved.

It's in 1.18.0.

Aug 15 2022, 2:56 AM · patch, gpgme, Bug Report
gniibe committed rE0b47de9c719b: build: Only install gpg-error-config when enabled. (authored by gniibe).
build: Only install gpg-error-config when enabled.
Aug 15 2022, 2:50 AM
gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

Please note that with newer libgpg-error releases, you can safely not install or can safely remove installed gpg-error-config. For GnuPG and its friends (including gpgme), gpgrt-config with gpg-error.pc are used instead (when no gpg-error-config).

Aug 15 2022, 2:37 AM · gpgrt, gpgme, Bug Report
gniibe added a project to T5683: Deprecation of gpg-error-config: Restricted Project.

Push the change.

Aug 15 2022, 2:32 AM · gpgrt
gniibe added a comment to T6136: build failure with slibtool - error: undefined symbol: QGpgME::RevokeKeyJob::staticMetaObject.

gpg-error-config (which is old shell script to offer functionality of pkg-config) gives -L/usr/lib64 when it is configured at the build time.
gpg-error-config hasn't got improved, but kept its behavior (for backward compatibility and lesser surprise), while we are moving to the support of gpg-error.pc (by pkg-config and/or gpgrt-config).

Aug 15 2022, 1:48 AM · gpgrt, gpgme, Bug Report

Aug 9 2022

gniibe committed rMf8d99bb9e4a7: python: Don't call __del__ from __exit__ method. (authored by gniibe).
python: Don't call __del__ from __exit__ method.
Aug 9 2022, 3:01 AM
gniibe added a comment to T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python).

Indeed, you are right. The object created by with can be valid even after the context (when referenced by another object).

Aug 9 2022, 1:52 AM · Python, gpgme, Bug Report

Aug 8 2022

gniibe added a comment to T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python).

I think the fix should be something like this:

diff --git a/lang/python/src/core.py b/lang/python/src/core.py
index 81f961d9..95fd0cba 100644
--- a/lang/python/src/core.py
+++ b/lang/python/src/core.py
@@ -1189,8 +1189,9 @@ class Context(GpgmeWrapper):
     def __enter__(self):
         return self
Aug 8 2022, 10:54 AM · Python, gpgme, Bug Report
gniibe added a comment to T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python).

@jap Thank you.

Aug 8 2022, 10:04 AM · Python, gpgme, Bug Report

Aug 5 2022

gniibe moved T5438: gpgme_op_keylist_from_data_start ignores GPGME_KEYLIST_MODE_SIGS from For a future release to QA for next release on the gpgme board.
Aug 5 2022, 8:12 AM · gpgme (gpgme 1.23.x), OpenPGP, Bug Report
gniibe moved T5825: [gpgme] [python] possible dangling reference to passphrase from Backlog to Python stuff on the gpgme board.
Aug 5 2022, 8:10 AM · patch, gpgme, Bug Report
gniibe moved T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python) from Backlog to Python stuff on the gpgme board.
Aug 5 2022, 8:10 AM · Python, gpgme, Bug Report
gniibe claimed T6060: segfault (NULL-pointer) when inspecting gpg Context after exception (python).

The SEGV was due to access to gpgme library after self.wrapped is set to None in the __del__ function.

Aug 5 2022, 8:04 AM · Python, gpgme, Bug Report
gniibe added a comment to T5825: [gpgme] [python] possible dangling reference to passphrase.

The commit is: rMb2f224a471fe: python: Reset passphrase callback correctly..

Aug 5 2022, 7:59 AM · patch, gpgme, Bug Report
gniibe committed rM180899c7c313: python: Don't access gpgme with wrapped=None. (authored by gniibe).
python: Don't access gpgme with wrapped=None.
Aug 5 2022, 7:59 AM
gniibe committed rMb2f224a471fe: python: Reset passphrase callback correctly. (authored by jap).
python: Reset passphrase callback correctly.
Aug 5 2022, 4:10 AM
gniibe claimed T5825: [gpgme] [python] possible dangling reference to passphrase.

Thank you for the patch. You are right.

Aug 5 2022, 4:09 AM · patch, gpgme, Bug Report

Aug 4 2022

gniibe committed rS40c50f8d8291: Support ECC, step 5 (fixing a bug). (authored by gniibe).
Support ECC, step 5 (fixing a bug).
Aug 4 2022, 8:48 AM
gniibe committed rS10795acc8daa: Support ECC, step 4. (authored by gniibe).
Support ECC, step 4.
Aug 4 2022, 8:48 AM
gniibe committed rSc6972c490b9f: Support ECC, step 3. (authored by gniibe).
Support ECC, step 3.
Aug 4 2022, 5:58 AM
gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

For the firmware 5.4.3, I confirmed that it works well with the changes:
https://dev.gnupg.org/T6070#160150

Aug 4 2022, 1:40 AM · gnupg (gpg23), scd, Bug Report

Aug 3 2022

gniibe committed rSd87da7d1c0a6: Support ECC, step 2. (authored by gniibe).
Support ECC, step 2.
Aug 3 2022, 9:32 AM
gniibe committed rSd3b1ea8387f5: Support ECC, step 1. (authored by gniibe).
Support ECC, step 1.
Aug 3 2022, 9:12 AM
gniibe committed rS6be00e5447ef: locate the places to support ECC. (authored by gniibe).
locate the places to support ECC.
Aug 3 2022, 6:29 AM
gniibe committed rSb704864cf72b: Add constants in pkcs11.h. (authored by gniibe).
Add constants in pkcs11.h.
Aug 3 2022, 3:42 AM

Aug 2 2022

gniibe committed rSf5cf61ccb127: Don't use SCD READCERT, but just use gpgsm. (authored by gniibe).
Don't use SCD READCERT, but just use gpgsm.
Aug 2 2022, 7:17 AM
gniibe committed rS00198cb67064: Fix wrong fix of off-by-one error. (authored by gniibe).
Fix wrong fix of off-by-one error.
Aug 2 2022, 7:17 AM

Jul 28 2022

gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Probably, PIPE_REJECT_REMOTE_CLIENTS mode and lpSecurityAttributes=NULL is OK.

Jul 28 2022, 9:00 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Here is the parser output:

$ python3 sd.py --type=pipe "D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;0x12019b;;;AU)"
D:P(A;;GA;;;SY)(A;;GA;;;BA)(A;;0x12019b;;;AU)
    Discretionary ACL: P(A;;GA;;;SY)(A;;GA;;;BA)(A;;0x12019b;;;AU)
        Flags: P: SE_DACL_PROTECTED (Blocks inheritance of parent's ACEs)
Jul 28 2022, 8:39 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

I think that the last argument of CreateNamedPipeA can limit the access to the named pipe.

Jul 28 2022, 8:20 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Here is a patch to implement the functionality with --enable-win32-openssh-support.

Jul 28 2022, 6:30 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe added a project to T6112: libgpg-error,w32: bidirectional Pipe support for estream: Restricted Project.

Fixed in master.

Jul 28 2022, 6:27 AM · Windows, gpgrt, Bug Report
gniibe committed rE25701f105b94: w32: Fix for bidirectional pipe. (authored by gniibe).
w32: Fix for bidirectional pipe.
Jul 28 2022, 6:23 AM
gniibe triaged T6112: libgpg-error,w32: bidirectional Pipe support for estream as Normal priority.
Jul 28 2022, 6:20 AM · Windows, gpgrt, Bug Report
gniibe created T6112: libgpg-error,w32: bidirectional Pipe support for estream.
Jul 28 2022, 6:20 AM · Windows, gpgrt, Bug Report

Jul 27 2022

gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

I just confirmed that firmware 5.4.3 works fine with the changes (to be 2.2.37 and 2.3.8).

Jul 27 2022, 7:58 AM · gnupg (gpg23), scd, Bug Report
gniibe removed a project from T5977: Smartcard PIN stays in clear in memory: Restricted Project.

New release of libassuan is expected to make sure it's cleared off.

Jul 27 2022, 2:39 AM · backport, libassuan, pinentry, scd, gnupg (gpg22), Bug Report
gniibe added a comment to T6092: Minor typo in documentation.

What I found: When the page is served by the server, it omits "charset=utf-8" part. This is the issue.

Jul 27 2022, 2:36 AM · patch, Documentation, Bug Report

Jul 25 2022

gniibe triaged T6097: SC-HSM 4K Compatibility as Low priority.

Please ask your card vendor.

Jul 25 2022, 7:14 AM · Bug Report

Jul 22 2022

gniibe committed rE1e7d0d3ef627: doc: Update gpgrt.texi for old gpg-error-config script. (authored by gniibe).
doc: Update gpgrt.texi for old gpg-error-config script.
Jul 22 2022, 6:36 AM
gniibe committed rG2791169aa9dd: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Jul 22 2022, 6:32 AM
gniibe closed T6078: File `config.guess` is a little out of date as Resolved.

In the repo, for all related software, it's done.

Jul 22 2022, 3:42 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe added a comment to T6078: File `config.guess` is a little out of date.

Note that versions since 2020-11-07 to 2021-07-03 have major problem with non-POSIX shell, which doesn't support $(..) construct.

Jul 22 2022, 3:40 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe committed rS4f40ab3132fc: build: Update gpg-error.m4 and fix for modern Autoconf. (authored by gniibe).
build: Update gpg-error.m4 and fix for modern Autoconf.
Jul 22 2022, 3:20 AM
gniibe committed rS81b0d2c7a5e8: build: Update config.guess and config.sub. (authored by gniibe).
build: Update config.guess and config.sub.
Jul 22 2022, 3:17 AM

Jul 21 2022

gniibe committed rP34709975debd: Fix for modern Autoconf. (authored by gniibe).
Fix for modern Autoconf.
Jul 21 2022, 9:57 AM
gniibe committed rP55353112cdc7: build: Fix for internal secmem. (authored by gniibe).
build: Fix for internal secmem.
Jul 21 2022, 9:57 AM
gniibe committed rP4f26b1fa994c: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Jul 21 2022, 9:57 AM
gniibe committed rPe1cdfc733757: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 21 2022, 9:57 AM
gniibe committed rMcc37447b625b: build: Update config.guess and config.sub. (authored by gniibe).
build: Update config.guess and config.sub.
Jul 21 2022, 7:19 AM
gniibe committed rM16020c5fd964: build: Fix for modern Autoconf. (authored by gniibe).
build: Fix for modern Autoconf.
Jul 21 2022, 7:19 AM
gniibe committed rC3494140847cb: Cleanup for type definitions of byte, ushort, u32, and u64. (authored by gniibe).
Cleanup for type definitions of byte, ushort, u32, and u64.
Jul 21 2022, 6:10 AM
gniibe committed rT656c28c6d7c8: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 21 2022, 4:30 AM
gniibe committed rTd18f06132738: build: Update configure.ac for modern Autoconf. (authored by gniibe).
build: Update configure.ac for modern Autoconf.
Jul 21 2022, 4:30 AM

Jul 19 2022

gniibe committed rPTH70fb608c3bf7: build: Update config.guess and config.sub. (authored by gniibe).
build: Update config.guess and config.sub.
Jul 19 2022, 2:15 PM
gniibe committed rE64bcee3c467d: build: Fix configure script. (authored by gniibe).
build: Fix configure script.
Jul 19 2022, 11:44 AM
gniibe committed rEb1b808f30f83: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 19 2022, 11:44 AM
gniibe committed rA6da6a3df3c98: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 19 2022, 11:31 AM
gniibe committed rK466837db84fb: build: Update config.guess and config.sub. (authored by gniibe).
build: Update config.guess and config.sub.
Jul 19 2022, 11:21 AM
gniibe committed rKca9a04569020: build: Support cross compile. (authored by gniibe).
build: Support cross compile.
Jul 19 2022, 11:21 AM
gniibe committed rC9a134fb7f286: cipher: Add buildhelp.h to source to be distributed. (authored by gniibe).
cipher: Add buildhelp.h to source to be distributed.
Jul 19 2022, 10:23 AM
gniibe committed rC2efb90104591: build: Fix configure script. (authored by gniibe).
build: Fix configure script.
Jul 19 2022, 10:12 AM
gniibe committed rCe633cc3315aa: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 19 2022, 10:12 AM

Jul 18 2022

gniibe committed rG7e44f883664e: build: Update config.guess, config.sub, and config.rpath. (authored by gniibe).
build: Update config.guess, config.sub, and config.rpath.
Jul 18 2022, 11:19 AM
gniibe triaged T6078: File `config.guess` is a little out of date as Normal priority.

Thank you.

Jul 18 2022, 10:56 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe added projects to T6074: gpg v2.3.6 doesnt work with ssh: ssh, gnupg (gpg23), Info Needed.

Please give us more information.

  • Do you change SSH program?
  • Do you mean, reinstalling gpg 2.3.4 fixes your issue?
  • Are you using with smartcard/token? Which one (Yubikey/Zeitcontrol/Gnuk), if it's the case?
Jul 18 2022, 10:31 AM · Info Needed, gnupg (gpg23), ssh, Bug Report
gniibe claimed T6074: gpg v2.3.6 doesnt work with ssh.
Jul 18 2022, 10:20 AM · Info Needed, gnupg (gpg23), ssh, Bug Report
gniibe claimed T6078: File `config.guess` is a little out of date.
Jul 18 2022, 10:20 AM · gpgme, pinentry, scute, ntbtls, libksba, libassuan, npth, libgcrypt, gpgrt, gnupg, Bug Report
gniibe closed T6035: Portability issue: ftruncate as Resolved.
Jul 18 2022, 9:58 AM · backport, gpgagent, gnupg
gniibe edited projects for T6035: Portability issue: ftruncate, added: backport; removed Restricted Project.

It's in 2.3.7 and 2.2.36.

Jul 18 2022, 9:58 AM · backport, gpgagent, gnupg

Jul 15 2022

gniibe updated subscribers of T6082: Failed to decrypt with YubiKey on m1 mac.

Thanks to @mistydemeo
The patch was quickly applied to homebrew.
https://github.com/Homebrew/homebrew-core/commits/9f1ab1ce5c5d2edbe954644a52dc9ef60df5bfa2/Formula/gnupg.rb

Jul 15 2022, 2:58 AM · Bug Report
gniibe merged T6082: Failed to decrypt with YubiKey on m1 mac into T6070: Yubikey 5C 'not available: card error' regression.
Jul 15 2022, 2:50 AM · gnupg (gpg23), scd, Bug Report
gniibe merged task T6082: Failed to decrypt with YubiKey on m1 mac into T6070: Yubikey 5C 'not available: card error' regression.
Jul 15 2022, 2:50 AM · Bug Report
gniibe added a comment to T6082: Failed to decrypt with YubiKey on m1 mac.

Thank you for your report.

Jul 15 2022, 2:48 AM · Bug Report
gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

Does Yubico furnish you with devices for test...

Jul 15 2022, 2:06 AM · gnupg (gpg23), scd, Bug Report

Jul 14 2022

gniibe added projects to T6070: Yubikey 5C 'not available: card error' regression: Restricted Project, scd, gnupg (gpg23), backport.
Jul 14 2022, 9:05 AM · gnupg (gpg23), scd, Bug Report
gniibe raised the priority of T6070: Yubikey 5C 'not available: card error' regression from Normal to High.
Jul 14 2022, 9:00 AM · gnupg (gpg23), scd, Bug Report
gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

Thank you all for your quick feedback.

Jul 14 2022, 6:32 AM · gnupg (gpg23), scd, Bug Report

Jul 13 2022

gniibe closed T5286: Calculate Z hash for sm2 as Resolved.

Reading through the report, the spec., and current implementation, I concluded that this is not a bug, thus, I'm closing this.

Jul 13 2022, 6:57 AM · Not A Bug, Info Needed, libgcrypt, Feature Request
gniibe added a project to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF: Restricted Project.
Jul 13 2022, 6:18 AM · backport, libgcrypt, FIPS
gniibe added a comment to T5933: libgcrypt: Simply use BSS (not secure heap) for DRBG instance.

It will be in 1.10.2.

Jul 13 2022, 4:37 AM · backport, FIPS, libgcrypt
gniibe added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

It will be in 1.10.2.

Jul 13 2022, 4:36 AM · backport, FIPS, libgcrypt, Bug Report
gniibe added a comment to T5918: Disable RSA PKCS #1.5 encryption in FIPS mode.

It will be in 1.10.2.

Jul 13 2022, 4:36 AM · backport, libgcrypt, FIPS, Bug Report
gniibe added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

Applied to 1.10.

Jul 13 2022, 4:31 AM · backport, libgcrypt, Bug Report
gniibe added a comment to T6070: Yubikey 5C 'not available: card error' regression.

Thank you for your confirmation.

Jul 13 2022, 3:58 AM · gnupg (gpg23), scd, Bug Report
gniibe committed rG8c9f879d4aa0: scd:openpgp: Fix workaround for Yubikey heuristics. (authored by gniibe).
scd:openpgp: Fix workaround for Yubikey heuristics.
Jul 13 2022, 3:54 AM
gniibe committed rG225c66f13b87: scd: Fail when no good algorithm attribute. (authored by gniibe).
scd: Fail when no good algorithm attribute.
Jul 13 2022, 3:54 AM
gniibe committed rGf34b9147eb30: scd:openpgp: Fix workaround for Yubikey heuristics. (authored by gniibe).
scd:openpgp: Fix workaround for Yubikey heuristics.
Jul 13 2022, 3:45 AM

Jul 12 2022

gniibe moved T6048: Test suite fixes with --enable-pubkey-ciphers=ecc from Backlog to Next on the FIPS board.
Jul 12 2022, 12:18 PM · FIPS, libgcrypt
gniibe committed rS42ca61f6ab37: Allow no device at the initialization time. (authored by gniibe).
Allow no device at the initialization time.
Jul 12 2022, 10:40 AM
gniibe added a project to T5973: libgcrypt: Minor test issues reported by coverity: backport.
Jul 12 2022, 10:31 AM · backport, patch, libgcrypt, Bug Report
gniibe added a project to T5976: libgcrypt build failure on HPPA 1.1 (./.libs/libgcrypt.so: undefined reference to `__udiv_qrnnd'): backport.
Jul 12 2022, 10:30 AM · backport, hppa, libgcrypt, Gentoo, Bug Report
gniibe added a project to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0: backport.
Jul 12 2022, 10:27 AM · backport, libgcrypt, Bug Report
gniibe added a project to T5975: Allow signature verification using specific RSA keys <2k in FIPS mode: backport.
Jul 12 2022, 10:21 AM · backport, patch, libgcrypt, FIPS, Feature Request
gniibe closed T5331: Possibly incompatible Ed25519 signature between other implementations and 2.3-bata as Resolved.
Jul 12 2022, 9:14 AM · gnupg (gpg23), Bug Report
gniibe closed T5331: Possibly incompatible Ed25519 signature between other implementations and 2.3-bata, a subtask of T5120: Incompatible Ed25519 secret key (no-encryption), as Resolved.
Jul 12 2022, 9:14 AM · gnupg (gpg22), Bug Report
gniibe committed rG07e43eda8dc6: scd: Don't inhibit SSH authentication for larger data if it can. (authored by gniibe).
scd: Don't inhibit SSH authentication for larger data if it can.
Jul 12 2022, 9:12 AM