Page MenuHome GnuPG
Feed Advanced Search

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
gniibe committed rGcf2d52cfc3ee: gpg: Use GCRY_KDF_ONESTEP_KDF with newer libgcrypt in future. (authored by gniibe).
gpg: Use GCRY_KDF_ONESTEP_KDF with newer libgcrypt in future.
Oct 14 2022, 7:53 AM
gniibe changed the status of T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4 from Open to Testing.

Pushed.

Oct 14 2022, 7:10 AM · gnupg24, toolchain, Feature Request, patch
gniibe committed rGfe28e088a9c2: common,w32: Fix struct stat on Windows. (authored by gniibe).
common,w32: Fix struct stat on Windows.
Oct 14 2022, 7:09 AM
gniibe added a comment to T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent.

Pushed to master.

Oct 14 2022, 7:03 AM · Not A Bug, workaround, gnupg24, Windows, ssh
gniibe committed rGc51139f2bc54: agent,w32: Support Win32-OpenSSH emulation by gpg-agent. (authored by gniibe).
agent,w32: Support Win32-OpenSSH emulation by gpg-agent.
Oct 14 2022, 7:03 AM
gniibe committed rG5f1ce6cef5fe: common: Don't use FD2INT for POSIX-only code. (authored by gniibe).
common: Don't use FD2INT for POSIX-only code.
Oct 14 2022, 6:50 AM
gniibe added a comment to T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows.

By 1/N...5/N, it works. And it shows the API needs clarification and possible modification/fixes; As written in the comment of system-w32.c, fd == POSIX fd semantics is good, which asks API/ABI break.

Oct 14 2022, 4:57 AM · Windows, libassuan, Feature Request
gniibe committed rAf0b179a0a71b: experiment: Implement receving fd for Windows, part 4/N. (authored by gniibe).
experiment: Implement receving fd for Windows, part 4/N.
Oct 14 2022, 4:46 AM
gniibe committed rA0b9f0a7cdb81: Remove debug printf. (authored by gniibe).
Remove debug printf.
Oct 14 2022, 4:46 AM
gniibe committed rG7011286ce6e1: dirmngr: Fix build with no LDAP support. (authored by gniibe).
dirmngr: Fix build with no LDAP support.
Oct 14 2022, 3:04 AM
gniibe claimed T6239: gnugp 2.3.8 fails to build with --disable-ldap.

Thank you, confirmed. Pushing the fix.

Oct 14 2022, 3:00 AM · gnupg, Bug Report
gniibe removed projects from rG8046fcac63db: po: Update Czech translation.: backport, arm, C++, AppImage, AIX, Add-In-conflict, Active Directory.
Oct 14 2022, 2:48 AM
gniibe removed 8 auditor(s) for rG8046fcac63db: po: Update Czech translation.: !assert, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_187, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_186, _Frosty_, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_1, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_10, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_100, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_101.
Oct 14 2022, 2:47 AM
gniibe closed T6200: gnupg: GPG_ERR_SOURCE_DEFAULT should be defined as Resolved.
Oct 14 2022, 1:52 AM · gnupg
gniibe removed 7 auditor(s) for rKLEOPATRA0d9ddefe4700: GIT_SILENT Sync po/docbooks with svn: _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_1, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_100, _Frosty_, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_10, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_101, _YOU_HAVE_BEEN_HACKED_HAHAHAHA_HACKED_BY_HMEI7_102, !assert.
Oct 14 2022, 1:50 AM

Oct 13 2022

gniibe committed rAb7d3f7c7740f: Merge branch 'master' into gniibe/t6236 (authored by gniibe).
Merge branch 'master' into gniibe/t6236
Oct 13 2022, 10:42 AM
gniibe committed rAd2db52be26c1: Set ctx->pid even with TCP connection, useful for Windows. (authored by gniibe).
Set ctx->pid even with TCP connection, useful for Windows.
Oct 13 2022, 10:42 AM

Oct 12 2022

gniibe committed rAed7fe5649648: experiment: Add fdpassing-socket test for Windows, part 3/N. (authored by gniibe).
experiment: Add fdpassing-socket test for Windows, part 3/N.
Oct 12 2022, 9:44 AM
gniibe committed rAdf6aec566ce4: build: Remove WindowsCE support from mkheader. (authored by gniibe).
build: Remove WindowsCE support from mkheader.
Oct 12 2022, 6:08 AM
gniibe committed rA29950e3387ec: experiment: sendfd/recvfd on Windows, part 1/N. (authored by gniibe).
experiment: sendfd/recvfd on Windows, part 1/N.
Oct 12 2022, 6:08 AM
gniibe committed rA017d2a33d57e: experiment: sendfd/recvfd on Windows, part 2/N. (authored by gniibe).
experiment: sendfd/recvfd on Windows, part 2/N.
Oct 12 2022, 6:08 AM
gniibe added a subtask for T4655: Windows 64-bit: gnupg_fd_t, assuan_fd_t and int for fd in the API, and casts: T6236: libassuan: Support sendfd/recvfd (possibly by new API) on Windows.
Oct 12 2022, 3:44 AM · Memo