Page MenuHome GnuPG
Feed All Stories

Apr 16 2020

werner created T4917: Add AEAD support to --show-session-key.
Apr 16 2020, 9:16 AM · Feature Request, gnupg (gpg23)
werner committed rGab7a0b07024c: gpg: Show AEAD preferences (authored by werner).
gpg: Show AEAD preferences
Apr 16 2020, 8:55 AM
werner committed rG37b116db2008: gpg: Make AEAD modes subject to compliance checks. (authored by werner).
gpg: Make AEAD modes subject to compliance checks.
Apr 16 2020, 8:55 AM
werner committed rG1dfe71c62b18: gpg: Support decryption of the new AEAD packet (authored by werner).
gpg: Support decryption of the new AEAD packet
Apr 16 2020, 8:55 AM
werner committed rG144b95cc9d0f: gpg: Improve symmetric decryption speed by about 25% (authored by werner).
gpg: Improve symmetric decryption speed by about 25%
Apr 16 2020, 8:55 AM
werner committed rG2f39e00b6b7d: gpg: Reformat parts of decrypt-data.c (authored by werner).
gpg: Reformat parts of decrypt-data.c
Apr 16 2020, 8:54 AM
werner committed rGcec397e00240: gpg: Make AEAD modes subject to compliance checks. (authored by werner).
gpg: Make AEAD modes subject to compliance checks.
Apr 16 2020, 8:53 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA6af76e255891: GIT_SILENT: use QT_NO_SIGNALS_SLOTS_KEYWORDS and QT_NO_EMIT (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use QT_NO_SIGNALS_SLOTS_KEYWORDS and QT_NO_EMIT
Apr 16 2020, 8:12 AM
Laurent Montel <montel@kde.org> committed rLIBKLEO5bd6bae9636f: GIT_SILENT: use QT_NO_SIGNALS_SLOTS_KEYWORDS and QT_NO_EMIT (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use QT_NO_SIGNALS_SLOTS_KEYWORDS and QT_NO_EMIT
Apr 16 2020, 8:00 AM
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

werner committed rGdf0edaf91a22: gpg: Fix broken setting of AEAD algo. (authored by werner).
gpg: Fix broken setting of AEAD algo.
Apr 15 2020, 10:24 PM
werner committed rG5c47e7825ba6: indent: Some typo and indentation changes for gpg. (authored by werner).
indent: Some typo and indentation changes for gpg.
Apr 15 2020, 10:24 PM
werner added a comment to D496: Improve the quality of the example "scd-event" script.

Thanks for the patch. However, this the getopt is unfortunately GNU specific which is the reason why the original code open coded the option parser.

Apr 15 2020, 4:06 PM
werner committed rGddc74f50d423: sm,dirmngr: Restrict allowed parameters used with rsaPSS. (authored by werner).
sm,dirmngr: Restrict allowed parameters used with rsaPSS.
Apr 15 2020, 3:48 PM
werner committed rG24d563749f50: sm: Support rsaPSS verification also for CMS signatures. (authored by werner).
sm: Support rsaPSS verification also for CMS signatures.
Apr 15 2020, 3:48 PM
werner committed rG0626cc8fed34: sm,dirmngr: Support rsaPSS signature verification. (authored by werner).
sm,dirmngr: Support rsaPSS signature verification.
Apr 15 2020, 3:48 PM
werner committed rG8bf17eb94d0d: dirmngr: Support rsaPSS also in the general validate module. (authored by werner).
dirmngr: Support rsaPSS also in the general validate module.
Apr 15 2020, 3:48 PM
werner committed rG4d37cc72b83f: common: New function to map hash algo names. (authored by werner).
common: New function to map hash algo names.
Apr 15 2020, 3:48 PM
werner committed rG39e2260d7e05: scd:p15: Return a display S/N via Assuan. (authored by werner).
scd:p15: Return a display S/N via Assuan.
Apr 15 2020, 3:48 PM
werner committed rG9e6a3290dad1: scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. (authored by werner).
scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word.
Apr 15 2020, 3:48 PM
werner committed rGbeaa2cbb7f03: scd:p15: Show a pretty PIN prompt. (authored by werner).
scd:p15: Show a pretty PIN prompt.
Apr 15 2020, 3:48 PM
werner committed rG9497d25c567d: scd: Factor common PIN status check out. (authored by werner).
scd: Factor common PIN status check out.
Apr 15 2020, 3:48 PM
werner committed rG471b06e91b6a: scd:p15: Fix decrypt followed by sign problem for D-Trust cards. (authored by werner).
scd:p15: Fix decrypt followed by sign problem for D-Trust cards.
Apr 15 2020, 3:48 PM
werner committed rG88b456bdf4e4: gpg: Use the new MANUFACTURER attribute. (authored by werner).
gpg: Use the new MANUFACTURER attribute.
Apr 15 2020, 3:48 PM
werner committed rG431b3e68e071: scd:openpgp: New attribute "MANUFACTURER". (authored by werner).
scd:openpgp: New attribute "MANUFACTURER".
Apr 15 2020, 3:48 PM
werner committed rG4148976841d1: scd:p15: Emit MANUFACTURER, $ENCRKEYID, $SIGNKEYID. (authored by werner).
scd:p15: Emit MANUFACTURER, $ENCRKEYID, $SIGNKEYID.
Apr 15 2020, 3:48 PM
werner committed rGb0cb2c2ab8c7: scd:p15: Rename some variables and functions for clarity. (authored by werner).
scd:p15: Rename some variables and functions for clarity.
Apr 15 2020, 3:48 PM
werner committed rG133b6ff8cd0c: scd:p15: Cache the PIN. (authored by werner).
scd:p15: Cache the PIN.
Apr 15 2020, 3:48 PM
Christoph Feck <cfeck@kde.org> committed rKLEOPATRAd38172a4dcc7: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 15 2020, 11:21 AM
Christoph Feck <cfeck@kde.org> committed rKLEOPATRAa55d25ca7f85: GIT_SILENT Update Appstream for new release (authored by Christoph Feck <cfeck@kde.org>).
GIT_SILENT Update Appstream for new release
Apr 15 2020, 11:21 AM
werner committed rGc0d5c673542b: sm,dirmngr: Restrict allowed parameters used with rsaPSS. (authored by werner).
sm,dirmngr: Restrict allowed parameters used with rsaPSS.
Apr 15 2020, 11:11 AM
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
zorvek updated the task description for T4916: GpgEX: Windows 10 Right-Click Unencrypted Folder Handling.
Apr 15 2020, 2:13 AM · gpgex, Windows
zorvek created T4916: GpgEX: Windows 10 Right-Click Unencrypted Folder Handling in the S1 Public space.
Apr 15 2020, 2:12 AM · gpgex, Windows

Apr 14 2020

jukivili edited reviewers for D501: VPMSUMD accelleration for GCM mode on PPC, added: jukivili; removed: jwilk.
Apr 14 2020, 9:49 PM
werner assigned T4915: Cannot compile on macOS Mojave (utf8.c) to gniibe.

Thanks for reporting; the code is really new and not yet fully tested.

Apr 14 2020, 6:33 PM · Restricted Project, gnupg (gpg23), Bug Report
werner committed rKe6e9858970ed: Support rsaPSS also for CRLs. (authored by werner).
Support rsaPSS also for CRLs.
Apr 14 2020, 4:53 PM
werner committed rK17a09f41fc4b: Allow for Null hash algo parameters on rsaPSS and add pss flag. (authored by werner).
Allow for Null hash algo parameters on rsaPSS and add pss flag.
Apr 14 2020, 4:53 PM
werner committed rK5c08d7ea8e0f: Refactor PSS parameter parsing. (authored by werner).
Refactor PSS parameter parsing.
Apr 14 2020, 4:53 PM
werner committed rK641fc8b6deac: Merge copies of stringbuf functions into one new header. (authored by werner).
Merge copies of stringbuf functions into one new header.
Apr 14 2020, 4:53 PM
hypocryptic created T4915: Cannot compile on macOS Mojave (utf8.c).
Apr 14 2020, 4:39 PM · Restricted Project, gnupg (gpg23), Bug Report
werner closed T4538: Support PSS signed CRLs as Resolved.

Data (ie.e CMS) signatures do now also work.

Apr 14 2020, 4:26 PM · dirmngr, S/MIME, libksba
werner committed rG6c28d9343ea6: sm: Support rsaPSS verification also for CMS signatures. (authored by werner).
sm: Support rsaPSS verification also for CMS signatures.
Apr 14 2020, 3:51 PM
slandden created D501: VPMSUMD accelleration for GCM mode on PPC.
Apr 14 2020, 2:56 PM
werner committed rC32b08e38628b: sexp: Extend gcry_sexp_extract_param with a multi-string extractor. (authored by werner).
sexp: Extend gcry_sexp_extract_param with a multi-string extractor.
Apr 14 2020, 2:28 PM
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
Laurent Montel <montel@kde.org> committed rLIBKLEOb0dadbf4bab6: GIT_SILENT: Increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT
Apr 14 2020, 7:45 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAfd3b1fe7397c: GIT_SILENT: Increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Increase KF_DISABLE_DEPRECATED_BEFORE_AND_AT
Apr 14 2020, 7:44 AM
gniibe created T4914: libgcrypt ECC regression for the use case in GNUNET.
Apr 14 2020, 7:18 AM · Restricted Project, libgcrypt
Laurent Montel <montel@kde.org> committed rLIBKLEO5e586cb3638c: GIT_SILENT: increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: increase version
Apr 14 2020, 7:08 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA30faec0453cd: GIT_SILENT: increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: increase version
Apr 14 2020, 7:03 AM

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 11 2020

andrey_l updated subscribers of D500: Add Ukrainian localization to installer.

@aheinecke could you review it?

Apr 11 2020, 3:43 PM

Apr 10 2020

Laurent Montel <montel@kde.org> committed rLIBKLEO82ccc775de4a: GIT_SILENT: Remove duplicate entrie (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Remove duplicate entrie
Apr 10 2020, 1:55 PM
werner added a comment to T4913: ntbtls: TLS handshake error.

I think I fixed a memory leak on error but no other changes for old code except that the array to old the args now takes void* and not gcry_mpi_t - which does not make a difference.

Apr 10 2020, 12:23 PM · ntbtls
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

Moonchild added a comment to T4249: No connection to Keyserver possible.

I'm honestly surprised this isn't being given any sort of priority.
gnupg for windows is simply broken. Even Kleopatra, its supplied and designated key management application doesn't work re: keyserver communication.

Apr 9 2020, 11:16 PM · gnupg, dirmngr, Bug Report, gpg4win
werner committed rC60c179b59e53: sexp: Extend gcry_sexp_extract_param with new format specifiers. (authored by werner).
sexp: Extend gcry_sexp_extract_param with new format specifiers.
Apr 9 2020, 8:23 PM
werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

There are no betas; either you apply the patch mentioned above ( rG2f08a4f25df7) to a stock 2.2.20 or you build from the Git repo (STABLE-BRANCH-2-2, see https://gnupg.org/download/git.html).

Apr 9 2020, 6:44 PM · Restricted Project, gnupg (gpg22), Bug Report
aisha added a comment to T4886: gpg-wks-server fails on openbsd, because sendmail is in /usr/sbin, not /usr/lib.

thanks a lot dkg and werner :)

Apr 9 2020, 6:14 PM · wkd, gnupg (gpg22), Bug Report
werner added a comment to T4538: Support PSS signed CRLs.

Okay certificate and CRL checking does now work with rsaPSS. Need to work on data signatures and check the compliance modes.

Apr 9 2020, 1:09 PM · dirmngr, S/MIME, libksba
werner committed rGba34f1415366: dirmngr: Support rsaPSS also in the general validate module. (authored by werner).
dirmngr: Support rsaPSS also in the general validate module.
Apr 9 2020, 1:07 PM
Broccoli added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

Could you guide me to where I find the beta or snapshot, so I could test it and give you feedback? I seem to be unable to find it on my own.

Apr 9 2020, 12:25 PM · Restricted Project, gnupg (gpg22), Bug Report
werner committed rGb45ab0ca08f8: sm,dirmngr: Support rsaPSS signature verification. (authored by werner).
sm,dirmngr: Support rsaPSS signature verification.
Apr 9 2020, 12:24 PM
werner committed rG5d5b70ae0f51: common: New function to map hash algo names. (authored by werner).
common: New function to map hash algo names.
Apr 9 2020, 12:24 PM
werner committed rGbfedc760efdc: scd:p15: Return a display S/N via Assuan. (authored by werner).
scd:p15: Return a display S/N via Assuan.
Apr 9 2020, 12:24 PM
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
werner edited projects for T4912: Miscellaneous feedback for gpg4win-compendium-de.pdf , added: Documentation; removed Bug Report.
Apr 9 2020, 9:02 AM · Documentation, gpg4win
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
Laurent Montel <montel@kde.org> committed rKLEOPATRAf8efa6b74af6: Patch from Andrey Legayev (authored by Laurent Montel <montel@kde.org>).
Patch from Andrey Legayev
Apr 9 2020, 7:24 AM

Apr 8 2020

rillig added a comment to T4912: Miscellaneous feedback for gpg4win-compendium-de.pdf .

Noch was: Die Tipps für die Passphrase auf Seite 26 sind teilweise katastrophal. Der Tipp mit "jeden 3. Buchstaben" sollte entfallen. Die Überschrift heißt doch Passphrase, nicht Passwort. Eine Phrase kann gerne lang sein und auch vollständige Wörter enthalten, es müssen nur genug davon sein.

Apr 8 2020, 9:08 PM · Documentation, gpg4win
rillig created T4912: Miscellaneous feedback for gpg4win-compendium-de.pdf .
Apr 8 2020, 8:55 PM · Documentation, gpg4win
werner committed rKf5695be600ab: Add read-only support for rsaPSS. (authored by werner).
Add read-only support for rsaPSS.
Apr 8 2020, 8:52 PM
werner committed rK152d04749cce: Remove duplicated code and make parse wrappers internally available. (authored by werner).
Remove duplicated code and make parse wrappers internally available.
Apr 8 2020, 8:52 PM
werner claimed T4538: Support PSS signed CRLs.

I started to work on it so that I can actually use the certificates on my new D-Trust card. This will be a verify-only implementation.

Apr 8 2020, 8:37 PM · dirmngr, S/MIME, libksba
johnmar added a comment to T4630: libgcrypt: POWER GHASH Vector Acceleration.

Hi @slandden.
Do you have any updates?

Apr 8 2020, 6:02 PM · Feature Request, libgcrypt
Broccoli added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

That's odd. :-)

Apr 8 2020, 4:20 PM · Restricted Project, gnupg (gpg22), Bug Report
werner added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

FWIW, the code was written by the author of the specs and he note in his original patch (rGe0972d3d96) :

Apr 8 2020, 4:07 PM · Restricted Project, gnupg (gpg22), Bug Report
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

werner closed T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415 as Resolved.

That smells very much like an old and insecure version 3 key. We don't allow them anymore - use gpg 1 to decrypt old material but never use that key to sign stuff or give it to others to encrypt to you. It is just too weak.

Apr 7 2020, 8:59 PM · FAQ
werner committed rG9ec8d984be46: scd:p15: Show a pretty PIN prompt. (authored by werner).
scd:p15: Show a pretty PIN prompt.
Apr 7 2020, 8:40 PM
werner committed rGf28795b615c3: scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word. (authored by werner).
scd: Return GPG_ERR_BAD_PIN on 0x63Cn status word.
Apr 7 2020, 8:40 PM
werner committed rG60d018f6a91c: scd: Factor common PIN status check out. (authored by werner).
scd: Factor common PIN status check out.
Apr 7 2020, 8:40 PM
Geremia added a comment to T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.
  • Is it a PGP 2 key (OpenPGP version 3 key format)? Support for this has been removed from gnupg 2 for security reasons.

The key was generated with gpg (not gpg2).

  • Did you created or imported the key with gpg 1 after you installed GnuPG 2?

Yes.

In this cae, use gpg 1 to export the key and then import it again using gpg 2.

Importing the secret keys gives:

Apr 7 2020, 8:15 PM · FAQ