Page MenuHome GnuPG
Feed Advanced Search

Apr 17 2020

gniibe committed rC128045a12139: mpi: Add _gcry_mpih_cmp_ui. (authored by gniibe).
mpi: Add _gcry_mpih_cmp_ui.
Apr 17 2020, 7:54 AM
gniibe committed rC515bd6e9fae4: mpi: Add internal functipn mpi_invm_pow2. (authored by gniibe).
mpi: Add internal functipn mpi_invm_pow2.
Apr 17 2020, 7:54 AM

Apr 16 2020

gniibe committed rCa91bd0211c4e: mpi: Add mpi_set_bit_cond. (authored by gniibe).
mpi: Add mpi_set_bit_cond.
Apr 16 2020, 7:51 AM
gniibe committed rC95bdfd9ce9e1: mpi: Add _gcry_mpih_mod. (authored by gniibe).
mpi: Add _gcry_mpih_mod.
Apr 16 2020, 7:11 AM
gniibe committed rC9b7e0d89006f: mpih: Expose const-time MPI helper functions. (authored by gniibe).
mpih: Expose const-time MPI helper functions.
Apr 16 2020, 7:04 AM

Apr 15 2020

gniibe added a comment to T4915: Cannot compile on macOS Mojave (utf8.c).

Thanks for testing. It's actually an error of generating _unicode_mapping.c, which utf8.c includes.

Apr 15 2020, 7:13 AM · Restricted Project, gnupg (gpg23), Bug Report
gniibe committed rG50b320952e99: regexp: Fix generation of _unicode_mapping.c. (authored by gniibe).
regexp: Fix generation of _unicode_mapping.c.
Apr 15 2020, 7:13 AM

Apr 14 2020

gniibe updated the task description for T4914: libgcrypt ECC regression for the use case in GNUNET.
Apr 14 2020, 8:03 AM · Restricted Project, libgcrypt
gniibe changed the status of T4914: libgcrypt ECC regression for the use case in GNUNET from Open to Testing.

Fixed in rC0ff36e04f7cd: ecc: Remove hard-coded value for ECC_DIALECT_ED25519..

Apr 14 2020, 8:02 AM · Restricted Project, libgcrypt
gniibe committed rC0ff36e04f7cd: ecc: Remove hard-coded value for ECC_DIALECT_ED25519. (authored by gniibe).
ecc: Remove hard-coded value for ECC_DIALECT_ED25519.
Apr 14 2020, 7:55 AM
gniibe added a comment to T4914: libgcrypt ECC regression for the use case in GNUNET.

In the function nist_generate_key (cipher/ecc.c), ec->nbits is number of bits of P.
... while mpi/ec.c sets 256.

Apr 14 2020, 7:54 AM · Restricted Project, libgcrypt
gniibe added a project to T4914: libgcrypt ECC regression for the use case in GNUNET: libgcrypt.

It's a kind of "bug compatibility" but it's a regression anyway.

Apr 14 2020, 7:45 AM · Restricted Project, libgcrypt
gniibe created T4914: libgcrypt ECC regression for the use case in GNUNET.
Apr 14 2020, 7:18 AM · Restricted Project, libgcrypt

Apr 13 2020

gniibe added a comment to T4669: Key expiration time sometimes improperly interpreted as a signed 32-bit value.

I can't find any places where it is interpreted as signed integer.

Apr 13 2020, 4:16 AM · Not A Bug, OpenPGP, gnupg

Apr 10 2020

gniibe closed T4913: ntbtls: TLS handshake error as Invalid.

It was a problem of libgcrypt master.
As of today's libgcrypt rC60c179b59e53: sexp: Extend gcry_sexp_extract_param with new format specifiers., it works fine.

Apr 10 2020, 8:08 AM · ntbtls
gniibe added a comment to T4913: ntbtls: TLS handshake error.

It seems it's a falure of ECDH.
I ran a server by s_server and saw following error:

$ openssl s_server -key key.pem -cert cert.pem -accept 44330 -www
Using default temp DH parameters
ACCEPT
140203176436992:error:10067064:elliptic curve routines:ec_GFp_simple_oct2point:buffer too small:../crypto/ec/ecp_oct.c:280:
140203176436992:error:1419C010:SSL routines:tls_process_cke_ecdhe:EC lib:../ssl/statem/statem_srvr.c:3245:
Apr 10 2020, 7:47 AM · ntbtls
gniibe added a comment to T4913: ntbtls: TLS handshake error.

Because it also fails in 0.1.2 (with no GCM support), it seems that it's not GCM thing.

Apr 10 2020, 7:11 AM · ntbtls
gniibe created T4913: ntbtls: TLS handshake error.
Apr 10 2020, 7:10 AM · ntbtls

Apr 9 2020

gniibe changed the status of T4774: Cross compilation friendly libgpg-error from Open to Testing.

Push the change to master.

Apr 9 2020, 9:03 AM · Restricted Project, gpgrt
gniibe committed rE988211d3d4c1: build: Use gen-lock-obj.sh script when possible. (authored by gniibe).
build: Use gen-lock-obj.sh script when possible.
Apr 9 2020, 9:03 AM
gniibe committed rE50e62b36ea01: build: Add a shell script to generate lock-obj-pub.h. (authored by gniibe).
build: Add a shell script to generate lock-obj-pub.h.
Apr 9 2020, 8:13 AM

Apr 8 2020

gniibe added a comment to T3763: ECDH - encryption with obfuscated size of the symmetric key.

It seems that the reference to PKCS#5 is correct. It is an issue of how to describe the case of more than 8-byte padding in OpenPGP.

Apr 8 2020, 3:48 AM · OpenPGP, gnupg (gpg23)
gniibe claimed T3763: ECDH - encryption with obfuscated size of the symmetric key.

Your example data is malformed, I suppose.

Apr 8 2020, 3:31 AM · OpenPGP, gnupg (gpg23)
gniibe changed the status of T4908: ECDH with AES-128 decryption failure when fully padded from Open to Testing.

Thanks for your report. The problem of GnuPG was that it mandated padding length < 16 bytes, which is wrong.

Apr 8 2020, 2:44 AM · Restricted Project, gnupg (gpg22), Bug Report
gniibe committed rG2f08a4f25df7: gpg: ECDH: Accept longer padding. (authored by gniibe).
gpg: ECDH: Accept longer padding.
Apr 8 2020, 2:42 AM
gniibe committed rGfd79cadf7ba5: gpg: ECDH: Accept longer padding. (authored by gniibe).
gpg: ECDH: Accept longer padding.
Apr 8 2020, 2:37 AM
gniibe claimed T4908: ECDH with AES-128 decryption failure when fully padded.
Apr 8 2020, 2:20 AM · Restricted Project, gnupg (gpg22), Bug Report

Apr 7 2020

gniibe added a project to T4906: error: call to 'vec_vsx_ld' is ambiguous: Restricted Project.
Apr 7 2020, 2:57 AM · Restricted Project, libgcrypt, Bug Report

Apr 6 2020

gniibe changed the status of T4888: GpgSM: Support ECC key generation by gpgsm_genkey, a subtask of T4098: GpgSM: Add ECC support, from Open to Testing.
Apr 6 2020, 6:49 AM · gnupg (gpg23), Feature Request, S/MIME
gniibe changed the status of T4888: GpgSM: Support ECC key generation by gpgsm_genkey from Open to Testing.
Apr 6 2020, 6:49 AM · Restricted Project, Feature Request, S/MIME
gniibe added a comment to T4774: Cross compilation friendly libgpg-error.

I'm testing this as an initial start:

ac_ext=c
ac_objext=o
Apr 6 2020, 6:41 AM · Restricted Project, gpgrt
gniibe added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

@jukivili : Thank you. Please apply & push it.

Apr 6 2020, 4:28 AM · Restricted Project, libgcrypt, Bug Report
gniibe committed rG7ee2a9687da9: tools: Use internal regexp routines. (authored by gniibe).
tools: Use internal regexp routines.
Apr 6 2020, 2:46 AM

Apr 3 2020

gniibe changed the status of T4843: REGEXP support for all systems from Open to Testing.

Pushed the changes.

Apr 3 2020, 8:50 AM · Restricted Project, gnupg
gniibe committed rGba247a114c75: gpg: Add regular expression support. (authored by gniibe).
gpg: Add regular expression support.
Apr 3 2020, 8:38 AM
gniibe committed rGef01e3b4d323: regexp: Update UnicodeData.txt. (authored by gniibe).
regexp: Update UnicodeData.txt.
Apr 3 2020, 8:25 AM
gniibe committed rG50784282f778: regexp: Add copyright information. (authored by gniibe).
regexp: Add copyright information.
Apr 3 2020, 8:25 AM
gniibe reopened T4906: error: call to 'vec_vsx_ld' is ambiguous as "Testing".

OK. I reopen this ticket to collect information.

Apr 3 2020, 5:25 AM · Restricted Project, libgcrypt, Bug Report
gniibe closed T4906: error: call to 'vec_vsx_ld' is ambiguous as Invalid.

I think that it is compiler issue for AltiVec (now, VSX) support.
The usage is not ambiguous. It _is_ ambiguous in the header file.

Apr 3 2020, 4:25 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

Thansk for your report.

Apr 3 2020, 3:55 AM · Restricted Project, libgcrypt, Bug Report

Apr 2 2020

werner awarded T4864: New scdaemon command to watch device removal a Cup of Joe token.
Apr 2 2020, 10:19 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe added a comment to T4864: New scdaemon command to watch device removal.

It runs like:

$ gpg-connect-agent "scd devinfo --watch" /bye
S DEVINFO_START
S DEVINFO_END
S DEVINFO_STATUS new
S DEVINFO_START
S DEVICE generic D276000124010200F517000000010000 openpgp
S DEVINFO_END
S DEVINFO_STATUS removal
S DEVINFO_START
S DEVINFO_END
OK
$ 
Apr 2 2020, 8:49 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe changed the status of T4864: New scdaemon command to watch device removal from Open to Testing.

Push the change to master.

Apr 2 2020, 8:46 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe committed rG2ccbcfec121f: scd: New command DEVINFO. (authored by gniibe).
scd: New command DEVINFO.
Apr 2 2020, 8:45 AM
gniibe committed rGa93ad8042722: scd: change the command name DEVINFO. (authored by gniibe).
scd: change the command name DEVINFO.
Apr 2 2020, 8:37 AM
gniibe committed rG00995f5f3504: watch: show information. (authored by gniibe).
watch: show information.
Apr 2 2020, 8:36 AM
gniibe committed rG65117c67948b: watch: Add --scan option. (authored by gniibe).
watch: Add --scan option.
Apr 2 2020, 8:36 AM
gniibe committed rG3efe450ece2d: watch: call notification to app_wait from scd_update_reader_status_file. (authored by gniibe).
watch: call notification to app_wait from scd_update_reader_status_file.
Apr 2 2020, 8:36 AM
gniibe committed rG213d36cead9d: watch: use condition variable. (authored by gniibe).
watch: use condition variable.
Apr 2 2020, 8:36 AM
gniibe committed rGbeb14b802614: npth_sigwait is not available. (authored by gniibe).
npth_sigwait is not available.
Apr 2 2020, 8:36 AM
gniibe committed rG091d346e9bee: Add flags in server_local_s. (authored by gniibe).
Add flags in server_local_s.
Apr 2 2020, 8:36 AM
gniibe committed rG20a5cc93b572: rough sketch. (authored by gniibe).
rough sketch.
Apr 2 2020, 8:36 AM

Apr 1 2020

gniibe added a comment to T4899: Undefined behavior in sm/certdump.c.

The problem itself is fixed (in T4495: UBsan finding "certdump.c:695:3: runtime error: null pointer passed as argument 2"). The variable buffer cannot be NULL at memcpy.

Apr 1 2020, 8:16 AM · gnupg, Bug Report

Mar 31 2020

gniibe committed rK2625e13bc9d5: ecc: Add Ed25519 and Ed448 public key support. (authored by gniibe).
ecc: Add Ed25519 and Ed448 public key support.
Mar 31 2020, 9:00 AM
gniibe added a comment to T4888: GpgSM: Support ECC key generation by gpgsm_genkey.

genkey for Ed25519 works now with libksba in master.

Mar 31 2020, 8:59 AM · Restricted Project, Feature Request, S/MIME
gniibe added a comment to T4896: ksba: Ed25519 support.

For public key, it's done.

Mar 31 2020, 8:59 AM · Info Needed, libksba, Feature Request, S/MIME

Mar 30 2020

gniibe added a project to T4896: ksba: Ed25519 support: libksba.
Mar 30 2020, 7:55 AM · Info Needed, libksba, Feature Request, S/MIME
gniibe created T4896: ksba: Ed25519 support.
Mar 30 2020, 7:55 AM · Info Needed, libksba, Feature Request, S/MIME

Mar 27 2020

werner awarded T4888: GpgSM: Support ECC key generation by gpgsm_genkey a Cup of Joe token.
Mar 27 2020, 4:18 PM · Restricted Project, Feature Request, S/MIME
gniibe added a comment to T4888: GpgSM: Support ECC key generation by gpgsm_genkey.

NIST P-256 key generation looks good.

Mar 27 2020, 11:53 AM · Restricted Project, Feature Request, S/MIME
gniibe committed rM3658e2df65d3: tests: Add ECC key generation for tests/gpgsm. (authored by gniibe).
tests: Add ECC key generation for tests/gpgsm.
Mar 27 2020, 11:51 AM
gniibe committed rGe06a8e3e87f0: gpgsm: Fix the previous commit. (authored by gniibe).
gpgsm: Fix the previous commit.
Mar 27 2020, 11:44 AM
gniibe committed rM71ef398bfd72: build: Fix library dependency. (authored by gniibe).
build: Fix library dependency.
Mar 27 2020, 8:57 AM

Mar 26 2020

gniibe committed rG49ea53b755f0: gpgsm: Support key generation with ECC. (authored by gniibe).
gpgsm: Support key generation with ECC.
Mar 26 2020, 7:56 AM
gniibe committed rG238707db8b05: gpgsm: Remove restriction of key generation (only RSA). (authored by gniibe).
gpgsm: Remove restriction of key generation (only RSA).
Mar 26 2020, 3:44 AM

Mar 24 2020

gniibe added a comment to T4098: GpgSM: Add ECC support.

There are two code paths to generate key: gpgsm_genkey and gpgsm_gencertreq_tty. Latter is partially supported with card key.
Firstly, I'm going to work for T4888.

Mar 24 2020, 6:32 AM · gnupg (gpg23), Feature Request, S/MIME
gniibe created T4888: GpgSM: Support ECC key generation by gpgsm_genkey.
Mar 24 2020, 6:30 AM · Restricted Project, Feature Request, S/MIME
gniibe added a comment to T4887: GPG is throwing error while doing (encryption+sign) or Decryption.

I think that what you want is adding --batch option. In the gpg manual, we have:

--passphrase-file file
       Read  the passphrase from file file. Only the first line will be
       read from  file  file.  This  can  only  be  used  if  only  one
       passphrase is supplied. Obviously, a passphrase stored in a file
       is of questionable security if other users can read  this  file.
       Don't use this option if you can avoid it.
Mar 24 2020, 4:58 AM · Not A Bug, Solaris, gnupg, Documentation
gniibe changed the status of T4013: Certificate requests generated from Ed25519 keys are not compliant with draft-ietf-curdle-pkix from Open to Testing.

This should work well with libksba master and gnupg/sm master.

Mar 24 2020, 3:35 AM · S/MIME, Feature Request, libksba
gniibe changed the status of T4092: Certificate requests generated from card-based ECDSA keys are incorrectly marked as RSA-signed from Open to Testing.

The commits in 2019 (for libksba and gnupg/sm) handles the problem (of key generation using card).

Mar 24 2020, 3:32 AM · Restricted Project, Feature Request, S/MIME
gniibe added projects to T4887: GPG is throwing error while doing (encryption+sign) or Decryption: Documentation, gnupg, Solaris.

For operations which require private key, it is needed to unlock private key.

Mar 24 2020, 2:44 AM · Not A Bug, Solaris, gnupg, Documentation

Mar 19 2020

gniibe added a comment to T4573: Files encrypted on another platform using password based encryption (-c) intermittently fail to decrypt on Kleopatra.

You forwarded me an email, which said it went well.

Mar 19 2020, 9:37 AM · gnupg (gpg22), Bug Report
gniibe added a comment to T4864: New scdaemon command to watch device removal.

Created https://dev.gnupg.org/source/gnupg/history/gniibe%252Fscd-watch/

Mar 19 2020, 6:28 AM · Restricted Project, Feature Request, scd, Bug Report
gniibe committed rG6f93050c40b2: watch: show information. (authored by gniibe).
watch: show information.
Mar 19 2020, 6:27 AM
gniibe committed rG431cdb5b0274: watch: Add --scan option. (authored by gniibe).
watch: Add --scan option.
Mar 19 2020, 6:27 AM
gniibe committed rGc62795221c0c: watch: use condition variable. (authored by gniibe).
watch: use condition variable.
Mar 19 2020, 6:27 AM
gniibe committed rG753c1dcecc37: watch: call notification to app_wait from scd_update_reader_status_file. (authored by gniibe).
watch: call notification to app_wait from scd_update_reader_status_file.
Mar 19 2020, 6:27 AM
gniibe committed rG5282538c005c: npth_sigwait is not available. (authored by gniibe).
npth_sigwait is not available.
Mar 19 2020, 6:27 AM
gniibe committed rG9515cac4ae55: rough sketch. (authored by gniibe).
rough sketch.
Mar 19 2020, 6:27 AM
gniibe committed rG052ef907ffb1: Add flags in server_local_s. (authored by gniibe).
Add flags in server_local_s.
Mar 19 2020, 6:27 AM
gniibe added a subtask for T4869: constant-time mpi_invm: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:22 AM · libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4869: constant-time mpi_invm.
Mar 19 2020, 5:22 AM · Release Info, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:21 AM · Release Info, libgcrypt
gniibe added a subtask for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:21 AM · Restricted Project, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4293: Add dedicated X25519 function to Libcgrypt .
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4293: Add dedicated X25519 function to Libcgrypt : T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt
gniibe added a subtask for T4288: Add getrandom support for the BSDs: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4288: Add getrandom support for the BSDs.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4288: Add getrandom support for the BSDs.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4288: Add getrandom support for the BSDs: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · libgcrypt
gniibe added a subtask for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4274: Fail selftests when checksum file is missing in FIPS mode only.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe removed a parent task for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:20 AM · Restricted Project, libgcrypt, Bug Report
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T4274: Fail selftests when checksum file is missing in FIPS mode only.
Mar 19 2020, 5:20 AM · Release Info, libgcrypt
gniibe added a subtask for T1303: Please support GCRYSEXP_FMT_BASE64: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Feature Request, libgcrypt
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T1303: Please support GCRYSEXP_FMT_BASE64.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe removed a parent task for T1303: Please support GCRYSEXP_FMT_BASE64: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Feature Request, libgcrypt
gniibe removed a subtask for T4294: Release Libgcrypt 1.9.0: T1303: Please support GCRYSEXP_FMT_BASE64.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt
gniibe added a subtask for T4243: Test failure in libgcrypt-1.8.4: T4294: Release Libgcrypt 1.9.0.
Mar 19 2020, 5:19 AM · Documentation, Tests, libgcrypt, Bug Report
gniibe added a parent task for T4294: Release Libgcrypt 1.9.0: T4243: Test failure in libgcrypt-1.8.4.
Mar 19 2020, 5:19 AM · Release Info, libgcrypt