Page MenuHome GnuPG
Feed All Stories

Jun 26 2020

werner committed rE3413489d2557: estream: Add gpgrt_fcancel (authored by werner).
estream: Add gpgrt_fcancel
Jun 26 2020, 4:25 PM
Walter_von_Entferndt created T4981: internationalization (support UNICODE/UTF-8 character set).
Jun 26 2020, 4:23 PM · i18n, FreeBSD, Feature Request
werner committed rGad6bf5d67f58: sm: Print the serial number of a cert also in decimal. (authored by werner).
sm: Print the serial number of a cert also in decimal.
Jun 26 2020, 3:28 PM
werner committed rGccbb0cfeefed: sm: Try not to output a partial new message after an error. (authored by werner).
sm: Try not to output a partial new message after an error.
Jun 26 2020, 3:26 PM
werner committed rG208a90197317: sm: Print the serial number of a cert also in decimal. (authored by werner).
sm: Print the serial number of a cert also in decimal.
Jun 26 2020, 1:01 PM
gniibe added a comment to T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.

When I test it on Debian, disabling by,

Jun 26 2020, 7:25 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
gniibe claimed T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.
Jun 26 2020, 7:06 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
gniibe added a comment to T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.

Please get log of dirmngr, by putting

log-file /run/user/<YOURNUMBER-LIKE-1000>/dirmngr.log
Jun 26 2020, 7:04 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report

Jun 25 2020

dkg added a comment to T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.

Can you characterize the failure when ipv6.disable=1 ? The straightforward failure (connect() fails with EHOSTUNREACH after a few seconds) should presumably be treated the same as if some other host happened to be offline. That should result in dirmngr failing over to the next available address for the configured keyserver, right?

Jun 25 2020, 7:28 PM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
dkg added a comment to T4826: Expiration dates after 2107 are reported as wraparound expiration dates.

I agree with you that a certificate with a lengthy expiration is not cryptographically sensible or wise, @bernhard -- i'd never want to produce such a certificate myself.

Jun 25 2020, 6:11 PM · gnupg (gpg22), Bug Report
bernhard committed rW719fdc33d8f9: Remove profession from sponsor by his request (authored by bernhard).
Remove profession from sponsor by his request
Jun 25 2020, 5:14 PM
werner committed rG28c069db3bb5: card: Add password change menu for NKS cards. (authored by werner).
card: Add password change menu for NKS cards.
Jun 25 2020, 11:28 AM
werner committed rG2429e8559844: scd:nks: Fix remaining tries warning in --reset mode. (authored by werner).
scd:nks: Fix remaining tries warning in --reset mode.
Jun 25 2020, 11:28 AM
bernhard added a comment to T4766: gpgme_signature_t relies on `unsigned long` for signature creation and expiration times.

Just added a comment to T4826 how to move forward, if this is still interesting for parties. Right now (from my point of view) a pubkey with an expiration date beyond 2106 is not a sensible key configuration, so the use to motivate a chance in this area would need to be argumented better.

Jun 25 2020, 10:05 AM · gpgme, Bug Report
bernhard added a comment to T4826: Expiration dates after 2107 are reported as wraparound expiration dates.

This issue, as well as T4766 has the challenge that there is a disagreement about the usefulness of the use case, as far as I can see.

Jun 25 2020, 10:03 AM · gnupg (gpg22), Bug Report
werner committed rG17a25c14f1ed: sm: Fix support verification of nistp521 signatures. (authored by werner).
sm: Fix support verification of nistp521 signatures.
Jun 25 2020, 9:50 AM

Jun 24 2020

werner added a comment to T4980: Libgpg-Error compilation fails if grep_options are enabled.

What do you mean by grep_options?

Jun 24 2020, 10:04 PM · toolchain, MacOS, Bug Report
nitin88 created T4980: Libgpg-Error compilation fails if grep_options are enabled.
Jun 24 2020, 5:10 PM · toolchain, MacOS, Bug Report
werner committed rG2d8f060679ba: gpgconf: Fix regression in --launch and --kill from March (authored by werner).
gpgconf: Fix regression in --launch and --kill from March
Jun 24 2020, 12:45 PM
werner committed rGf541e1d95a91: agent: separate out daemon handling infrastructure for reuse (authored by James Bottomley <James.Bottomley@HansenPartnership.com>).
agent: separate out daemon handling infrastructure for reuse
Jun 24 2020, 12:45 PM
werner committed rG0e3b2955aee2: agent: expose shadow key type (authored by James Bottomley via Gnupg-devel <gnupg-devel@gnupg.org>).
agent: expose shadow key type
Jun 24 2020, 10:13 AM
werner added a comment to T4979: enable-ssh-support in windows is broken..

estream_t does not necessary work with stdio or posix calls; that is an implementation detail. For example if you use the mode flag "nonblock" Read/WriteFile are used on Windows.

Jun 24 2020, 10:02 AM · ssh, Duplicate, Bug Report
gniibe added a comment to T4979: enable-ssh-support in windows is broken..

I think the feature is not (yet) supported on Windows.
Please see: T3883: Add Win32-OpenSSH support to gpg-agent's ssh-agent

Jun 24 2020, 4:05 AM · ssh, Duplicate, Bug Report
gniibe added a comment to D505: Ed448 support for GnuPG.

Pushed to master as rGa763bb2580b0: gpg,agent: Support Ed448 signing..

Jun 24 2020, 3:17 AM
gniibe committed rGa763bb2580b0: gpg,agent: Support Ed448 signing. (authored by gniibe).
gpg,agent: Support Ed448 signing.
Jun 24 2020, 3:16 AM

Jun 23 2020

gpguser123 created T4979: enable-ssh-support in windows is broken..
Jun 23 2020, 11:23 PM · ssh, Duplicate, Bug Report
BeginnersMind added a comment to T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.

While the initial agent hang problem might be rare, it nevertheless does make sense to have a workaround for this in any case. Especially since it may not be possible to patch this effect away. The commands given by Werner provide this workaround nicely if gpg-connect-agent hangs.

Jun 23 2020, 5:28 PM · Bug Report
BeginnersMind added a comment to T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.

These are very nice commands which I had overlooked. My results:

Jun 23 2020, 5:18 PM · Bug Report
gniibe updated the diff for D505: Ed448 support for GnuPG.

Update to [rGc94eea15d}.
Hash defaults to SHA512.

Jun 23 2020, 3:56 AM
gniibe committed rGc94eea15d684: ecc: Use "cv448" to specify key using X448. (authored by gniibe).
ecc: Use "cv448" to specify key using X448.
Jun 23 2020, 3:21 AM
gniibe committed rC1db1dc7945b1: ecc: Fix length computation. (authored by gniibe).
ecc: Fix length computation.
Jun 23 2020, 3:11 AM

Jun 22 2020

werner added a comment to T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.

You may start the gpg-agent by hand:

Jun 22 2020, 10:19 PM · Bug Report
BeginnersMind added a comment to T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.

The 5 second timeout is to give the agent time to get ready and accept connections.

Jun 22 2020, 5:07 PM · Bug Report
werner added a comment to T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.

The problem is that I have not yet found a _portable_ way to detect proper working v6 or v4 networking without doing a test connection. For privacy reasons we don't want to do that.

Jun 22 2020, 3:32 PM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
werner added projects to T4977: dirmngr not working with linux kernel parameter ipv6.disable=1: dirmngr, gnupg (gpg22).
Jun 22 2020, 3:20 PM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
werner added a comment to T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.

The 5 second timeout is to give the agent time to get ready and accept connections. I can't say with this infor why it takes longer at your site. Can you please try without putty support?

Jun 22 2020, 3:18 PM · Bug Report
BeginnersMind created T4978: On Windows 10, gpg-connect-agent needs 2 trials to launch gpg-agent.
Jun 22 2020, 2:23 PM · Bug Report
iyanmv created T4977: dirmngr not working with linux kernel parameter ipv6.disable=1.
Jun 22 2020, 10:16 AM · Restricted Project, gnupg (gpg22), dirmngr, Bug Report
slandden added a comment to D501: VPMSUMD accelleration for GCM mode on PPC.

Minicloud is up. I found that the altivec flags are never passed when libgcrypt is compiled big-endian.

Jun 22 2020, 4:38 AM

Jun 20 2020

slandden added a comment to D501: VPMSUMD accelleration for GCM mode on PPC.

I am using Duff's device which is not in that version (and makes it considerably simpler), but it certainly is influenced by that version (and the preprocessing of the table taking advantage of the communicative nature of carryless multiplication is novel in that version), and I can add a note to that effect.

Jun 20 2020, 5:04 PM
jukivili added a comment to D501: VPMSUMD accelleration for GCM mode on PPC.

Just one question at the moment.

Jun 20 2020, 4:14 PM
jukivili committed rC35a78eb248d6: Add SM4 x86-64/AES-NI/AVX2 implementation (authored by jukivili).
Add SM4 x86-64/AES-NI/AVX2 implementation
Jun 20 2020, 1:53 PM
jukivili committed rCc9a3f1bb91e6: Add SM4 x86-64/AES-NI/AVX implementation (authored by jukivili).
Add SM4 x86-64/AES-NI/AVX implementation
Jun 20 2020, 1:53 PM
jukivili committed rC81fee26bbbae: Optimizations for SM4 cipher (authored by jukivili).
Optimizations for SM4 cipher
Jun 20 2020, 1:53 PM

Jun 19 2020

Ericson2314 created D506: build: Make configure.ac for lock-obj-pub.native.h ideomatic.
Jun 19 2020, 2:45 PM
gniibe added a comment to D505: Ed448 support for GnuPG.

(1) Has no (flags eddsa) in key in SEXP.
(2) Has no (flags eddsa) and no (hash-algo shake256) in data to be signed in SEXP.
(3) Has no (flags eddsa) and no (hash-algo shake256) in data to be verified in SEXP.
(4) Uses SHA256 for hashing of OpenPGP data

Jun 19 2020, 8:14 AM
gniibe updated the diff for D505: Ed448 support for GnuPG.

Update to rG4bdade5b0bea: agent: Use get_pk_algo_from_key.

Jun 19 2020, 8:12 AM
gniibe committed rG4bdade5b0bea: agent: Use get_pk_algo_from_key. (authored by gniibe).
agent: Use get_pk_algo_from_key.
Jun 19 2020, 7:47 AM
gniibe committed rGd2e4aa5ee4c5: agent: Clean up for getting info from SEXP. (authored by gniibe).
agent: Clean up for getting info from SEXP.
Jun 19 2020, 7:07 AM
gniibe committed rGabc6a3100a33: agent: A little clean up. (authored by gniibe).
agent: A little clean up.
Jun 19 2020, 7:07 AM

Jun 18 2020

jukivili added a comment to D501: VPMSUMD accelleration for GCM mode on PPC.

Thanks for the new version. Unfortunately Minicloud seems to be down and therefore cannot test patch at the moment. I'll take look when I regain power64 access.

Jun 18 2020, 2:32 PM
werner closed T4976: Revocation Date after importing a Rev-Cert as Resolved.
Jun 18 2020, 10:33 AM · gnupg, Not A Bug
werner added a comment to T4976: Revocation Date after importing a Rev-Cert.

That is unfortunately not possible because there is no fixed link between the key and the rev cert. Instead they are linked via cryptographic signatures. The pre-generated rev certs are a fail stop measure in the case that the user lost access to the private key and can't create a revocation with a concrete reasons etc.

Jun 18 2020, 10:32 AM · gnupg, Not A Bug
gniibe committed rCf2847d56cce2: ecc: Fix the condition for EdDSA data handling. (authored by gniibe).
ecc: Fix the condition for EdDSA data handling.
Jun 18 2020, 6:52 AM
gniibe committed rCa6177e1bc948: ecc: For Ed448, it's only for EdDSA. (authored by gniibe).
ecc: For Ed448, it's only for EdDSA.
Jun 18 2020, 6:52 AM
gniibe committed rCba78ad8f1967: ecc: Support EdDSA with context and enabling PH(M). (authored by gniibe).
ecc: Support EdDSA with context and enabling PH(M).
Jun 18 2020, 4:50 AM
gniibe committed rC2856ac14ae3e: ecc: Change EdDSA internal API. (authored by gniibe).
ecc: Change EdDSA internal API.
Jun 18 2020, 2:54 AM

Jun 17 2020

ElBarto updated the task description for T4976: Revocation Date after importing a Rev-Cert.
Jun 17 2020, 5:23 PM · gnupg, Not A Bug
ElBarto created T4976: Revocation Date after importing a Rev-Cert.
Jun 17 2020, 4:58 PM · gnupg, Not A Bug
werner committed rGd1e1c622d55e: agent: Fix regression in 'd' fixup code for shadowed keys. (authored by werner).
agent: Fix regression in 'd' fixup code for shadowed keys.
Jun 17 2020, 3:09 PM
werner committed rG596212e71abf: sm: Support verification of nistp521 signatures. (authored by werner).
sm: Support verification of nistp521 signatures.
Jun 17 2020, 3:02 PM
werner committed rK486fb0257d08: Support TR-03111 plain format ECDSA signature verification. (authored by werner).
Support TR-03111 plain format ECDSA signature verification.
Jun 17 2020, 2:22 PM
gniibe committed rC1cf497546946: ecc: Support "label" for EdDSA context in data. (authored by gniibe).
ecc: Support "label" for EdDSA context in data.
Jun 17 2020, 10:02 AM
gniibe committed rCd51a9c259d49: ecc: Initialize key before handling data. (authored by gniibe).
ecc: Initialize key before handling data.
Jun 17 2020, 10:02 AM
gniibe committed rC9a640eba6dd7: ecc: Add new flag "prehash". (authored by gniibe).
ecc: Add new flag "prehash".
Jun 17 2020, 9:46 AM
gniibe committed rCb1721f9b291a: ecc: No (flags eddsa) required for Ed448. (authored by gniibe).
ecc: No (flags eddsa) required for Ed448.
Jun 17 2020, 5:48 AM
gniibe committed rC5585ee494708: ecc: Support Ed448 by _gcry_ecc_compute_public. (authored by gniibe).
ecc: Support Ed448 by _gcry_ecc_compute_public.
Jun 17 2020, 5:48 AM
gniibe added a comment to D505: Ed448 support for GnuPG.

The changes just follow the existing practice of Ed25519, which does:

Jun 17 2020, 3:21 AM

Jun 16 2020

jukivili committed rCc1535d0b8797: tests: Add basic test-vectors for SM4 (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
tests: Add basic test-vectors for SM4
Jun 16 2020, 9:01 PM
jukivili committed rC6c571bfda640: doc: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and GCRY_MAC_GOST28147_IMIT (authored by jukivili).
doc: add GCRY_MD_SM3, GCRY_MAC_HMAC_SM3 and GCRY_MAC_GOST28147_IMIT
Jun 16 2020, 9:01 PM
jukivili committed rCddcce166ab8b: Add SM4 symmetric cipher algorithm (authored by Tianjia Zhang <tianjia.zhang@linux.alibaba.com>).
Add SM4 symmetric cipher algorithm
Jun 16 2020, 9:01 PM
rcinterstate added a comment to T4973: Cross build problem with v1.38.

You are very welcome, i'll let you know if i found more issues in the future, same goes to libgcrypt.

Jun 16 2020, 7:21 PM · Restricted Project, gpgrt
slandden updated the summary of D501: VPMSUMD accelleration for GCM mode on PPC.
Jun 16 2020, 2:57 PM
slandden updated the diff for D501: VPMSUMD accelleration for GCM mode on PPC.

Switching to assembly for the shifts made a significant speed-up. As Minicloud is seemingly broken (can't open up ssh port) I cannot test on 64-bit big-endian or 32-bit and have thus made it 64le-only.

Jun 16 2020, 2:57 PM
gniibe created D505: Ed448 support for GnuPG.
Jun 16 2020, 9:30 AM
gniibe committed rCc15cc1a38199: ecc: Fix Ed448 key generation. (authored by gniibe).
ecc: Fix Ed448 key generation.
Jun 16 2020, 9:24 AM
gniibe committed rCc7779e499e90: ecc,test: Add testing Ed448. (authored by gniibe).
ecc,test: Add testing Ed448.
Jun 16 2020, 4:26 AM
gniibe committed rCd1baad35c650: ecc: Support Ed448 for verify. (authored by gniibe).
ecc: Support Ed448 for verify.
Jun 16 2020, 4:26 AM
gniibe committed rCe25446ecc044: ecc: Support Ed448 for key generation. (authored by gniibe).
ecc: Support Ed448 for key generation.
Jun 16 2020, 4:26 AM
gniibe committed rC951b37c50386: ecc: Support Ed448 signing. (authored by gniibe).
ecc: Support Ed448 signing.
Jun 16 2020, 4:26 AM
gniibe committed rCf6815a96e51b: ecc: Support shake128 and shake256 for message digest. (authored by gniibe).
ecc: Support shake128 and shake256 for message digest.
Jun 16 2020, 4:26 AM
gniibe committed rC32d6d73d44d3: ecc: Use SHAKE256 in EdDSA with Ed448. (authored by gniibe).
ecc: Use SHAKE256 in EdDSA with Ed448.
Jun 16 2020, 4:26 AM
gniibe committed rCbd22b029bbf5: ecc: Support Ed448 in decoding point. (authored by gniibe).
ecc: Support Ed448 in decoding point.
Jun 16 2020, 4:26 AM
gniibe committed rC339b03acf097: ecc: Add new curve: Ed448. (authored by gniibe).
ecc: Add new curve: Ed448.
Jun 16 2020, 4:26 AM
gniibe committed rC3386aaf84d4d: ecc: Fix EdDSA encoding for Ed448. (authored by gniibe).
ecc: Fix EdDSA encoding for Ed448.
Jun 16 2020, 4:26 AM
gniibe added a comment to D504: ECC change for Ed448.

Changes pushed to master.

Jun 16 2020, 4:19 AM · libgcrypt

Jun 15 2020

bernhard added a comment to T4974: timeout for pinentry too short for key-generation, losing previous entries.

To explain the use case, I've started coming up with a good passphrase and this took a bit of time with a pencil and paper in front of me. When I wanted to type it in, it was too late. Thus I guess that some people will look up good rules of passphrases or at least make sure they can remember the one they are typing in.

Jun 15 2020, 11:34 AM · pinentry
gniibe added a comment to D502: ECC change for SOS.

Pushed the patch to master.

Jun 15 2020, 4:45 AM
gniibe committed rE1a4c1f37a1c9: build: Fix the gpg-error-config test for cross build. (authored by gniibe).
build: Fix the gpg-error-config test for cross build.
Jun 15 2020, 4:41 AM
gniibe added a comment to T4973: Cross build problem with v1.38.

It's me who should say "thank you".

Jun 15 2020, 4:39 AM · Restricted Project, gpgrt
rcinterstate added a comment to T4973: Cross build problem with v1.38.

Yes, i always build it with PKG_CONFIG_SYSROOT_DIR but never had any issues with it until 1.38 version, your suggestion definitely fixed it. Thank you.

Jun 15 2020, 4:29 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

Or one liner patch would be enough:

Jun 15 2020, 3:32 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

IIUC, you build libgpg-error with setting PKG_CONFIG_SYSROOT_DIR.
It results errors, because while old gpg-error-config never supports PKG_CONFIG_SYSROOT_DIR, it compares result from old gpg-error-config and gpgrt-config gpg-error.

Jun 15 2020, 3:27 AM · Restricted Project, gpgrt
gniibe added a comment to T4973: Cross build problem with v1.38.

Please give us full build log here, so that we can investigate what's going on. You can upload log file by the "upload" button in comment edit dialog.

Jun 15 2020, 3:08 AM · Restricted Project, gpgrt

Jun 14 2020

kuraga added a comment to T4933: Incorrect expiration time of created subkey.

Any news on this?

Jun 14 2020, 10:44 PM · gnupg (gpg22), Bug Report

Jun 13 2020

werner triaged T4974: timeout for pinentry too short for key-generation, losing previous entries as Wishlist priority.

5 or 10 minutes are not reasonable in this case. Users are expected to attend the key generation. Your idea of having a countdown after, say 30 seconds, makes sense and should be easy to implement in the pinentries.

Jun 13 2020, 3:05 PM · pinentry
werner triaged T4975: undefined-shift in block_filter as Normal priority.

Thanks for explaining; this may indeed lead to a followup processing error of correct data. However, I don't expect to ever see a fixed length header of 2GiB or more because the sender would have had to buffer all that data in the first place.

Jun 13 2020, 3:02 PM · gnupg (gpg22), Bug Report
ltx updated the task description for T4975: undefined-shift in block_filter.
Jun 13 2020, 5:23 AM · gnupg (gpg22), Bug Report
ltx updated the task description for T4975: undefined-shift in block_filter.
Jun 13 2020, 5:17 AM · gnupg (gpg22), Bug Report
rcinterstate added a comment to T4973: Cross build problem with v1.38.

Confirm gpg-error-config works... no

Makefile:1667: recipe for target 'gpg-error-config' failed

Jun 13 2020, 2:58 AM · Restricted Project, gpgrt