Page MenuHome GnuPG
Feed Advanced Search

Nov 2 2022

gniibe added a comment to T6245: GpgOL: build: Update for new gpgrt-config and *.pc.

For *.m4 scripts, I pushed changes to prefer gpgrt-config with *.pc files than *-config scripts (T5034).
Before the change, it was not coherent; gpgrt-config gpg-error is preferred to gpg-error-config (if available), but libassuan-config was used if available.
After the change, gpgrt-config is used to configure gpg-error and libassuan, etc.

Nov 2 2022, 3:59 AM · Windows, gpgol, Feature Request
gniibe triaged T6264: gpgrt-config: Support multilib MinGW-w64 as High priority.
Nov 2 2022, 3:57 AM · toolchain, gpgrt
gniibe committed rPd8ca98aec634: build: Update libassuan.m4. (authored by gniibe).
build: Update libassuan.m4.
Nov 2 2022, 3:05 AM
gniibe committed rXc8458936de6e: build: Update libassuan.m4. (authored by gniibe).
build: Update libassuan.m4.
Nov 2 2022, 2:56 AM
gniibe committed rM9f55dceca0cf: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 2 2022, 2:55 AM
gniibe committed rM9f5e11729260: build: Update libassuan.m4. (authored by gniibe).
build: Update libassuan.m4.
Nov 2 2022, 2:55 AM
gniibe committed rSc73a4c2885a4: build: Update libassuan.m4. (authored by gniibe).
build: Update libassuan.m4.
Nov 2 2022, 2:44 AM
gniibe committed rG2c1aaed62191: build: Update m4 files. (authored by gniibe).
build: Update m4 files.
Nov 2 2022, 2:25 AM
gniibe committed rT6c26d9e245d7: build: Update ksba.m4 and libgcrypt.m4. (authored by gniibe).
build: Update ksba.m4 and libgcrypt.m4.
Nov 2 2022, 2:20 AM
gniibe committed rK4076b60f7cef: build: Update m4/libgcrypt.m4. (authored by gniibe).
build: Update m4/libgcrypt.m4.
Nov 2 2022, 2:17 AM

Nov 1 2022

gniibe committed rPTH3939b86b20d1: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 1 2022, 6:40 AM
gniibe committed rK13307b22882a: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 1 2022, 6:32 AM
gniibe committed rT01a563cd1b8d: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 1 2022, 6:30 AM
gniibe committed rE6c20e8393eba: spawn: Fix spawn_cb of gpgrt_spawn_process_fd. (authored by gniibe).
spawn: Fix spawn_cb of gpgrt_spawn_process_fd.
Nov 1 2022, 6:28 AM
gniibe committed rC0dcb7e05c9e1: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 1 2022, 6:02 AM
gniibe committed rAd769ec2db2e0: build: Prefer gpgrt-config when available. (authored by gniibe).
build: Prefer gpgrt-config when available.
Nov 1 2022, 6:01 AM
gniibe added a comment to T5034: dev: Deprecate libassuan-config, libgcrypt-config, ksba-config, ntbtls-config, npth-config, and gpg-error-config.

For the migration, preferring gpgrt-config than *-config is better.
So, I decided to change *.m4 to do that.

Nov 1 2022, 5:59 AM
gniibe edited projects for T6250: GPG-Agent doesn't work properly with smart cards and ed25519 keys and SSH Agent, added: Documentation; removed Bug Report.

The problem here is how large the data to be signed is. It is an issue of protocol design. The protocols are explained in openssh/PROTOCOL.certkeys and openssh/PROTOCOL. Unfortunately, it seems that it was designed with not much consideration for smartcard use case, so, data to be signed may be longer (than the capability of smartcard).

Nov 1 2022, 12:59 AM · gnupg, Documentation, ssh

Oct 31 2022

gniibe added a comment to T6250: GPG-Agent doesn't work properly with smart cards and ed25519 keys and SSH Agent.

I managed to find a way to minimize the data (less than the one on Oct 25).
And it somehow works for me.

Oct 31 2022, 7:52 AM · gnupg, Documentation, ssh
gniibe added a comment to T6249: gpgrt: spawn functions.

Another thing when we define a type which represents process.
For pid_t, MinGW-w64 has a bug: https://bugzilla.redhat.com/show_bug.cgi?id=1397787 (or https://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/1456671365-21759-1-git-send-email-sw%40weilnetz.de/).
(1) GetCurrentProcessId always returns 32-bit (DWORD), so, it can be represented in 32-bit (although DWORD is unsigned).
(2) POSIX requires pid_t should be signed integer https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
(3) Original MinGW defines pid_t as int (in include/sys/type.h by _pid_t). (checked in mingwrt-5.4.2)

Oct 31 2022, 5:56 AM · gnupg, libassuan, gpgrt

Oct 28 2022

gniibe committed rGed6eb9019248: agent: Automatically convert to extended key format by KEYATTR. (authored by gniibe).
agent: Automatically convert to extended key format by KEYATTR.
Oct 28 2022, 7:53 AM
gniibe committed rAf85726db8568: fdpassing using pipe works on Windows. (authored by gniibe).
fdpassing using pipe works on Windows.
Oct 28 2022, 5:21 AM

Oct 27 2022

gniibe committed rA905369a8dfee: testing fdpassing. (authored by gniibe).
testing fdpassing.
Oct 27 2022, 12:37 PM
gniibe added a comment to T6249: gpgrt: spawn functions.

@werner - having another argument might be useful. Indeed, pthread_atfork has three callback functions as its arguments (prepare, parent, and child).

Oct 27 2022, 10:12 AM · gnupg, libassuan, gpgrt
gniibe awarded T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance) a Yellow Medal token.
Oct 27 2022, 9:31 AM · libgcrypt, Feature Request
gniibe added a comment to T6249: gpgrt: spawn functions.

To have clear semantics, I propose a change to gpgrt_spawn_process_fd (calling SPAWN_CB, instead of AFTER_FORK_CB, and give it return value), and exporting gpgrt_close_all_fds to users.

Oct 27 2022, 7:55 AM · gnupg, libassuan, gpgrt
gniibe added a comment to T6249: gpgrt: spawn functions.

By the commit rE43c1e85fe29a: spawn: Expose spawn functions., spawn functions are exposed now. The API is compatible to the one of internal functions in GnuPG master (2.3).
Semantics is not well-defined portably for:

  • gpgrt_spawn_process: EXCEPT only makes sense in POSIX. User could expect that the API does closing all fds except fds specified by EXCEPT in POSIX.
  • gpgrt_spawn_process_fd: AFTER_FORK_CB only makes sense in POSIX. User could specify the callback so that it can control sigmask, envvar, open/close/dup-ing file descriptors, making sure releasing some resources beforehand, etc.
Oct 27 2022, 4:11 AM · gnupg, libassuan, gpgrt
gniibe committed rEd3baa17065cb: Fix the comment for _gpgrt_spawn_process_fd, it's a variant. (authored by gniibe).
Fix the comment for _gpgrt_spawn_process_fd, it's a variant.
Oct 27 2022, 4:04 AM
gniibe committed rE43c1e85fe29a: spawn: Expose spawn functions. (authored by gniibe).
spawn: Expose spawn functions.
Oct 27 2022, 4:04 AM

Oct 26 2022

gniibe changed the status of T6002: scute w/ gpg23: Support multiple cards/tokens, major update with KEYGRIP from Open to Testing.
Oct 26 2022, 9:24 AM · Feature Request, scute
gniibe changed the status of T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent from Open to Testing.
Oct 26 2022, 9:24 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe committed rCb095ea755973: hmac,hkdf: Check the HMAC key length in FIPS mode. (authored by Jakuje).
hmac,hkdf: Check the HMAC key length in FIPS mode.
Oct 26 2022, 8:45 AM
gniibe added a reverting change for rC857e6f467d0f: kdf:pkdf2: Require longer input when FIPS mode.: rC47db7fe3a0c3: Revert "kdf:pkdf2: Require longer input when FIPS mode.".
Oct 26 2022, 8:45 AM
gniibe committed rC47db7fe3a0c3: Revert "kdf:pkdf2: Require longer input when FIPS mode." (authored by Jakuje).
Revert "kdf:pkdf2: Require longer input when FIPS mode."
Oct 26 2022, 8:45 AM
gniibe added a comment to T6245: GpgOL: build: Update for new gpgrt-config and *.pc.

@aheinecke Please show me how you configure your libassuan-master (and the output which detects host's gpg-error-config erroneously).

Oct 26 2022, 5:11 AM · Windows, gpgol, Feature Request
gniibe added a comment to T6204: gpgme:python Fix setup.py, using pkg-config (not deprecated gpg-error-config and gpgme-config).

@ametzler1 Thank you. That was because of my bad fix.
Fixed in rMf1802682c3c8: python: Fix configure generating setup.py.

Oct 26 2022, 4:44 AM · Python, gpgme
gniibe committed rMf1802682c3c8: python: Fix configure generating setup.py. (authored by gniibe).
python: Fix configure generating setup.py.
Oct 26 2022, 4:06 AM

Oct 25 2022

gniibe added a comment to T6250: GPG-Agent doesn't work properly with smart cards and ed25519 keys and SSH Agent.

I tested on the machine with:

Oct 25 2022, 8:26 AM · gnupg, Documentation, ssh

Oct 24 2022

gniibe committed rP0eb585050fb1: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 7:09 AM
gniibe triaged T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure as Normal priority.
Oct 24 2022, 6:37 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Will this be in the next release of libgcrypt?

Oct 24 2022, 6:17 AM · MacOS, libgcrypt, gpgrt
gniibe committed rMd36905bb80c4: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:44 AM
gniibe committed rTa26eff802ff7: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:43 AM
gniibe committed rKc3c1627f3423: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:42 AM
gniibe committed rSb1c776b5ffc8: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:24 AM
gniibe committed rC12b3bc5a0d9c: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:18 AM
gniibe committed rA6d5a2b1425b2: Fix an explanation for socket on Windows. (authored by gniibe).
Fix an explanation for socket on Windows.
Oct 24 2022, 5:15 AM
gniibe committed rA0c22952c71bd: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:15 AM
gniibe committed rGb9d05774f565: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:12 AM
gniibe committed rG54d001cc7cda: build: Update gpg-error.m4. (authored by gniibe).
build: Update gpg-error.m4.
Oct 24 2022, 5:11 AM
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for the information.

Oct 24 2022, 5:06 AM · MacOS, libgcrypt, gpgrt
gniibe added a comment to T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

Thank you for your quick reply.

Oct 24 2022, 4:51 AM · MacOS, libgcrypt, gpgrt
gniibe removed a project from T5010: gpgrt-config: Bug for handling Requires: Restricted Project.
Oct 24 2022, 4:48 AM · gpgrt
gniibe removed a project from T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH: Restricted Project.
Oct 24 2022, 4:47 AM · gpgrt
gniibe claimed T6257: Without gpg-error-config installed (libgpg-error-1.46) libgcrypt-1.10.1 does not configure.

From the information in gpg-error.pc, I think it's on macOS.

Oct 24 2022, 4:35 AM · MacOS, libgcrypt, gpgrt
gniibe committed rGe4ac00960c94: po: Update Simplified Chinese Translation. (authored by bobwxc).
po: Update Simplified Chinese Translation.
Oct 24 2022, 3:51 AM
gniibe added a comment to D562: po: Update Simplified Chinese Translation..

Pushed rGe4ac00960c94: po: Update Simplified Chinese Translation..

Oct 24 2022, 3:39 AM
gniibe accepted D562: po: Update Simplified Chinese Translation..
Oct 24 2022, 3:24 AM

Oct 21 2022

gniibe added a comment to T6249: gpgrt: spawn functions.

I see. I understand the use cases for POSIX to keep some file descriptors.

Oct 21 2022, 8:41 AM · gnupg, libassuan, gpgrt

Oct 20 2022

gniibe committed rA61f69c73f364: experiment: New SENDFD command to implement sendfd feature. (authored by gniibe).
experiment: New SENDFD command to implement sendfd feature.
Oct 20 2022, 8:58 AM
gniibe added a comment to T6249: gpgrt: spawn functions.
  • assuan_pipe_connect and internal _assuan_spawn
Oct 20 2022, 8:13 AM · gnupg, libassuan, gpgrt
gniibe committed rE5ad97e8fa628: gpgrt_spawn_process, gpgrt_spawn_process_fd: Change the API. (authored by gniibe).
gpgrt_spawn_process, gpgrt_spawn_process_fd: Change the API.
Oct 20 2022, 7:29 AM
gniibe committed rGde01fb8131fd: agent,common,dirmngr,tests,tools: Remove spawn PREEXEC argument. (authored by gniibe).
agent,common,dirmngr,tests,tools: Remove spawn PREEXEC argument.
Oct 20 2022, 7:23 AM
gniibe added a comment to T6039: FIPS: Allow salt=NULL (or shorter salt) for HKDF.

I read the document (SP 800-131Ar2) again. I think that it would be irrelevant for PKDF2, because it's password KDF, not deriving additional keys from a Cryptographic Key.

Oct 20 2022, 2:15 AM · backport, libgcrypt, FIPS

Oct 19 2022

gniibe added a comment to T6248: FIPS compliant RSA OAEP encryption.

Please note that: libgcrypt offers ECDH functionality by gcry_pk_encrypt/gcry_pk_decrypt to construct OpenPGP public-key encryption/decryption.

Oct 19 2022, 9:05 AM · libgcrypt, FIPS, Feature Request
gniibe committed rE494886acb0bf: spawn: Update changes from gnupg. (authored by gniibe).
spawn: Update changes from gnupg.
Oct 19 2022, 7:25 AM
gniibe committed rCb77e7a225bc4: tests: Use proper format string for size_t (authored by Jakuje).
tests: Use proper format string for size_t
Oct 19 2022, 7:17 AM
gniibe committed rC4e7941587c95: cipher: Do not run RSA encryption selftest by default (authored by Jakuje).
cipher: Do not run RSA encryption selftest by default
Oct 19 2022, 7:17 AM
gniibe added a reverting change for rCf736f3c70182: tests: Expect the RSA PKCS #1.5 encryption to fail in FIPS mode: rC7468cdfc8b6a: Revert "tests: Expect the RSA PKCS #1.5 encryption to fail in FIPS mode".
Oct 19 2022, 7:17 AM
gniibe committed rC7468cdfc8b6a: Revert "tests: Expect the RSA PKCS #1.5 encryption to fail in FIPS mode" (authored by Jakuje).
Revert "tests: Expect the RSA PKCS #1.5 encryption to fail in FIPS mode"
Oct 19 2022, 7:17 AM
gniibe committed rCe83280b36be3: Revert "Do not allow PKCS #1.5 padding for encryption in FIPS" (authored by Jakuje).
Revert "Do not allow PKCS #1.5 padding for encryption in FIPS"
Oct 19 2022, 7:17 AM
gniibe added a reverting change for rCc7709f7b2384: Do not allow PKCS #1.5 padding for encryption in FIPS: rCe83280b36be3: Revert "Do not allow PKCS #1.5 padding for encryption in FIPS".
Oct 19 2022, 7:17 AM
gniibe committed rC9d56af04dce0: Revert "tests: Expect the OEAP tests to fail in FIPS mode." (authored by Jakuje).
Revert "tests: Expect the OEAP tests to fail in FIPS mode."
Oct 19 2022, 7:17 AM
gniibe added a reverting change for rC249ca431ef88: tests: Expect the OEAP tests to fail in FIPS mode.: rC9d56af04dce0: Revert "tests: Expect the OEAP tests to fail in FIPS mode.".
Oct 19 2022, 7:17 AM
gniibe committed rCc5de9e77fb33: fips: Fix fips indicator function. (authored by Jakuje).
fips: Fix fips indicator function.
Oct 19 2022, 7:17 AM
gniibe added a reverting change for rCe552e37983da: fips: Disable RSA-OAEP padding in FIPS mode.: rCa7b5cab05f6a: Revert "fips: Disable RSA-OAEP padding in FIPS mode.".
Oct 19 2022, 7:17 AM
gniibe committed rCa7b5cab05f6a: Revert "fips: Disable RSA-OAEP padding in FIPS mode." (authored by Jakuje).
Revert "fips: Disable RSA-OAEP padding in FIPS mode."
Oct 19 2022, 7:17 AM
gniibe committed rC05cb8355d3e6: fips: Mark gcry_pk_encrypt/decrypt function non-approved. (authored by Jakuje).
fips: Mark gcry_pk_encrypt/decrypt function non-approved.
Oct 19 2022, 7:17 AM
gniibe changed the status of T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46 from Open to Testing.
Oct 19 2022, 3:21 AM · Windows, gnupg (gpg22), Bug Report
gniibe changed the status of T6239: gnugp 2.3.8 fails to build with --disable-ldap from Open to Testing.
Oct 19 2022, 3:20 AM · gnupg, Bug Report
gniibe added a comment to T6242: libgcrypt: optimize ECB? (as it may be used to estimate library crypto performance).

It's not that needed, in my opinion, as nobody actually uses ECB itself (in real use case). But I understand the point of (possibly, students') benchmarking.

Oct 19 2022, 3:19 AM · libgcrypt, Feature Request
gniibe triaged T6249: gpgrt: spawn functions as Normal priority.
Oct 19 2022, 3:12 AM · gnupg, libassuan, gpgrt

Oct 18 2022

gniibe committed rXf21d98756952: build: Remove --with-*-prefix. (authored by gniibe).
build: Remove --with-*-prefix.
Oct 18 2022, 11:21 AM
gniibe committed rX18b78e2f473b: build: Update gpg-error.m4 and libassuan.m4. (authored by gniibe).
build: Update gpg-error.m4 and libassuan.m4.
Oct 18 2022, 11:21 AM
gniibe added projects to T6245: GpgOL: build: Update for new gpgrt-config and *.pc: Feature Request, gpgol, Windows.
Oct 18 2022, 9:14 AM · Windows, gpgol, Feature Request
carlocab awarded rGa5c382166488: dirmngr: Fix build with no LDAP support. a Party Time token.
Oct 18 2022, 8:08 AM
gniibe added a comment to T6245: GpgOL: build: Update for new gpgrt-config and *.pc.

Here we go:

Oct 18 2022, 7:38 AM · Windows, gpgol, Feature Request
gniibe created T6245: GpgOL: build: Update for new gpgrt-config and *.pc.
Oct 18 2022, 7:37 AM · Windows, gpgol, Feature Request
gniibe committed rG0f13ccd0e070: gpg: Move NETLIBS after GPG_ERROR_LIBS. (authored by gniibe).
gpg: Move NETLIBS after GPG_ERROR_LIBS.
Oct 18 2022, 3:36 AM
gniibe added a comment to T6239: gnugp 2.3.8 fails to build with --disable-ldap.

Applied also in 2.2 branch.

Oct 18 2022, 3:34 AM · gnupg, Bug Report
gniibe committed rG256b3c05789d: gpg: Move NETLIBS after GPG_ERROR_LIBS (another). (authored by gniibe).
gpg: Move NETLIBS after GPG_ERROR_LIBS (another).
Oct 18 2022, 3:34 AM
gniibe committed rGb26bb03ed96f: gpg: Move NETLIBS after GPG_ERROR_LIBS. (authored by gniibe).
gpg: Move NETLIBS after GPG_ERROR_LIBS.
Oct 18 2022, 3:34 AM
gniibe committed rGa5c382166488: dirmngr: Fix build with no LDAP support. (authored by gniibe).
dirmngr: Fix build with no LDAP support.
Oct 18 2022, 3:34 AM
gniibe added a comment to T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46.

Ah, sorry, I did my own changes before looking T6244#164317

Oct 18 2022, 3:33 AM · Windows, gnupg (gpg22), Bug Report
gniibe added a comment to T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46.

Pushed the changes to 2.2 and master.

Oct 18 2022, 3:31 AM · Windows, gnupg (gpg22), Bug Report
gniibe claimed T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46.

Thank you for your report. The issue is handling of static linking in GnuPG.

Oct 18 2022, 2:49 AM · Windows, gnupg (gpg22), Bug Report

Oct 17 2022

zerbey awarded T6239: gnugp 2.3.8 fails to build with --disable-ldap a Like token.
Oct 17 2022, 2:05 PM · gnupg, Bug Report
gniibe claimed T6241: cross-compile fails after commit 745d333cf7b5b6fee62e3b26c8a2ccc004e017da.

Thank you for your report. IIUC, your log is the build log of GnuPG 2.2, so, I put the tag "gnupg (gpg22)".

Oct 17 2022, 3:22 AM · workaround, gnupg (gpg22), gpgrt, Bug Report

Oct 14 2022

gniibe committed rAfbdc77228257: experiment: Reliably send/recv fd passing, part 5/N. (authored by gniibe).
experiment: Reliably send/recv fd passing, part 5/N.
Oct 14 2022, 9:15 AM
gniibe added a comment to T5964: gnupg should use the KDFs implemented in libgcrypt.

Pushed the change, although it is not enabled yet (since the feature will be only available by newer libgcrypt, 1.11).

Oct 14 2022, 7:53 AM · gnupg26, FIPS, Feature Request