Page MenuHome GnuPG
Feed Advanced Search

May 14 2020

gniibe committed rG1e079f460102: ecc-sos: gpg-agent access ECC public key as opaque string. (authored by gniibe).
ecc-sos: gpg-agent access ECC public key as opaque string.
May 14 2020, 9:46 AM
gniibe committed rG8513ab8bf360: ecc-sos: Use opaque for key from agent. (authored by gniibe).
ecc-sos: Use opaque for key from agent.
May 14 2020, 7:57 AM
gniibe committed rG93cefe9497c9: ecc-sos: Compatible mode for SOS. (authored by gniibe).
ecc-sos: Compatible mode for SOS.
May 14 2020, 7:31 AM
gniibe committed rG58ad686bfe7f: ecc-sos: No need to expose sos_write. (authored by gniibe).
ecc-sos: No need to expose sos_write.
May 14 2020, 7:31 AM
gniibe committed rGe02347b2ab1c: ecc-sos: Clean up use of mpi_get_opaque. (authored by gniibe).
ecc-sos: Clean up use of mpi_get_opaque.
May 14 2020, 7:31 AM
gniibe committed rCeb2288f3b1f3: ecc: Make sure it's the fixed size bytes. (authored by gniibe).
ecc: Make sure it's the fixed size bytes.
May 14 2020, 4:41 AM

May 13 2020

gniibe committed rC69b55f87053c: mpi: Fix off-by-one mistake mpi_invm_pow2. (authored by gniibe).
mpi: Fix off-by-one mistake mpi_invm_pow2.
May 13 2020, 8:11 AM

May 11 2020

gniibe committed rM0cc040e82f99: tests: Remove/change tests for GnuPG 2.3 with no gpg.keyserver. (authored by gniibe).
tests: Remove/change tests for GnuPG 2.3 with no gpg.keyserver.
May 11 2020, 7:23 AM

May 8 2020

gniibe committed rGe6c975280ac0: ecc-sos: Remove zero-octet removal on write. (authored by gniibe).
ecc-sos: Remove zero-octet removal on write.
May 8 2020, 4:44 AM

May 4 2020

gniibe committed rG70af2165ec25: ecc-sos: Fix gpg_mpi_write for opaque bit string. (authored by gniibe).
ecc-sos: Fix gpg_mpi_write for opaque bit string.
May 4 2020, 12:06 PM
gniibe committed rG4cc4ff03a273: ecc-sos: Fix reading SEXP from agent. (authored by gniibe).
ecc-sos: Fix reading SEXP from agent.
May 4 2020, 6:13 AM
gniibe committed rGa9b31fc3e41b: ecc-sos: Fix parsing key for EdDSA/ECDH. (authored by gniibe).
ecc-sos: Fix parsing key for EdDSA/ECDH.
May 4 2020, 4:57 AM
gniibe committed rGf27a5810903a: sos: don't change NBITS. (authored by gniibe).
sos: don't change NBITS.
May 4 2020, 4:18 AM
gniibe committed rGed4c1e213ad0: ecc-sos: public key is MPI with the prefix 0x40. (authored by gniibe).
ecc-sos: public key is MPI with the prefix 0x40.
May 4 2020, 4:18 AM
gniibe committed rG638328a33db4: sos: Fix fingerprint computation. (authored by gniibe).
sos: Fix fingerprint computation.
May 4 2020, 4:18 AM
gniibe committed rGf031b0fb6c4a: agent: Fix converting to OpenPGP. (authored by gniibe).
agent: Fix converting to OpenPGP.
May 4 2020, 4:18 AM
gniibe committed rG3fae9540c69e: Fix exporting key for ECC. (authored by gniibe).
Fix exporting key for ECC.
May 4 2020, 4:18 AM
gniibe committed rG5b094067f7e9: gpg: Use opaque MPI for shared point. (authored by gniibe).
gpg: Use opaque MPI for shared point.
May 4 2020, 4:18 AM
gniibe committed rGb73fef03769f: gpg: Implement the fix-up of zero for SOS. (authored by gniibe).
gpg: Implement the fix-up of zero for SOS.
May 4 2020, 4:18 AM
gniibe committed rG0e40b033b853: gpg: Fix for the condition calling gpg_sos_write. (authored by gniibe).
gpg: Fix for the condition calling gpg_sos_write.
May 4 2020, 4:18 AM
gniibe committed rGc31fd447373d: gpg: Use GCRYMPI_FLAG_USER2 for SOS, and hash_public_key with that. (authored by gniibe).
gpg: Use GCRYMPI_FLAG_USER2 for SOS, and hash_public_key with that.
May 4 2020, 4:18 AM
gniibe committed rGac977526accb: gpg: Use opaque MPI for ECDH. (authored by gniibe).
gpg: Use opaque MPI for ECDH.
May 4 2020, 4:18 AM
gniibe committed rG93bcc87bd0d9: Add sos_read. (authored by gniibe).
Add sos_read.
May 4 2020, 4:18 AM
gniibe committed rG2096965c5388: gpg: Introduce SOS (Simply Octet String) support. (authored by gniibe).
gpg: Introduce SOS (Simply Octet String) support.
May 4 2020, 4:18 AM
gniibe committed rG120f4e8c67d5: gpg: Use opaque byte MPI interface for ECC key. (authored by gniibe).
gpg: Use opaque byte MPI interface for ECC key.
May 4 2020, 4:18 AM
gniibe added a comment to T4933: Incorrect expiration time of created subkey.

How does it show when you specify --full-time-strings (in UTC by ISO time format)?
I wonder if it is valid as data, but there is a problem of showing key(s).

May 4 2020, 4:16 AM · gnupg (gpg22), Bug Report

Apr 28 2020

gniibe added a comment to T4869: constant-time mpi_invm.

I tested with this patch (which changes use of constant-time routine when it's secure memory):

Apr 28 2020, 5:57 AM · libgcrypt

Apr 27 2020

gniibe committed rCfe688ce7e14f: ecc: Fix typo error in ecc-gost (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
ecc: Fix typo error in ecc-gost
Apr 27 2020, 7:32 AM
gniibe committed rC99007cbfd104: mpi: Fix the return value of mpi_invm_generic. (authored by gniibe).
mpi: Fix the return value of mpi_invm_generic.
Apr 27 2020, 4:18 AM
gniibe committed rC986aa2728715: mpi: Fix return value of mpi_invm_generic. (authored by gniibe).
mpi: Fix return value of mpi_invm_generic.
Apr 27 2020, 4:18 AM
gniibe committed rCf10eb240a30a: mpi: Fix the return value of mpi_invm_generic. (authored by gniibe).
mpi: Fix the return value of mpi_invm_generic.
Apr 27 2020, 4:15 AM

Apr 24 2020

gniibe committed rCbc3b6a6a45cf: mpi: Fix return value of mpi_invm_generic. (authored by gniibe).
mpi: Fix return value of mpi_invm_generic.
Apr 24 2020, 7:28 AM
gniibe committed rC559ba9b36c9c: mpi: More use of mpih API for _gcry_mpi_invm. (authored by gniibe).
mpi: More use of mpih API for _gcry_mpi_invm.
Apr 24 2020, 6:13 AM
gniibe committed rCbeefbb90d71d: mpi: Use mpih interface internally for mpi-inv. (authored by gniibe).
mpi: Use mpih interface internally for mpi-inv.
Apr 24 2020, 5:45 AM
gniibe committed rCefa5151ea1c2: mpi: Fix size of A in mpi_invm_pow2. (authored by gniibe).
mpi: Fix size of A in mpi_invm_pow2.
Apr 24 2020, 4:31 AM

Apr 23 2020

gniibe committed rCf81a1dd73175: mpi: More fix for _gcry_mpi_invm. (authored by gniibe).
mpi: More fix for _gcry_mpi_invm.
Apr 23 2020, 3:59 AM

Apr 22 2020

gniibe committed rC3bb9f74764b3: mpi: Fix off-by-one mistake mpi_invm_pow2. (authored by gniibe).
mpi: Fix off-by-one mistake mpi_invm_pow2.
Apr 22 2020, 9:01 AM

Apr 21 2020

gniibe committed rCbac01a6cfb3d: mpi: Use mpi_invm_pow2 for mpi_invm. (authored by gniibe).
mpi: Use mpi_invm_pow2 for mpi_invm.
Apr 21 2020, 8:22 AM
gniibe committed rC2a3c58a0b4db: mpi: Fix mpi_invm_pow2. (authored by gniibe).
mpi: Fix mpi_invm_pow2.
Apr 21 2020, 7:02 AM

Apr 17 2020

gniibe committed rC469e2fefb64e: mpi: Use mpi_invm_pow2 for N=2^k. (authored by gniibe).
mpi: Use mpi_invm_pow2 for N=2^k.
Apr 17 2020, 7:54 AM
gniibe committed rC05ceac8e2f6f: mpi: Rewrite mpi_invm_odd into mpih_invm_odd. (authored by gniibe).
mpi: Rewrite mpi_invm_odd into mpih_invm_odd.
Apr 17 2020, 7:54 AM
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