Page MenuHome GnuPG
Feed All Stories

Apr 14 2020

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
werner committed rG42ddcc87f4bc: 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 7 2020, 4:05 PM
werner committed rG5ec1f667930b: doc: Typo fix in code comment. (authored by werner).
doc: Typo fix in code comment.
Apr 7 2020, 4:05 PM
fangeles created T4911: gpgOl outlook 2013 bug, cant send email.
Apr 7 2020, 2:07 PM · Info Needed, gpgol, Bug Report, gpg4win
heirecka committed rKLEOPATRAc58f5da9ba7f: Merge remote-tracking branch 'origin/release/20.04' (authored by heirecka).
Merge remote-tracking branch 'origin/release/20.04'
Apr 7 2020, 9:18 AM
heirecka committed rKLEOPATRAb0fd83ba70de: Qt 5.15 undeprecated QComboBox::currentIndexChanged(int) (authored by David Faure <faure@kde.org>).
Qt 5.15 undeprecated QComboBox::currentIndexChanged(int)
Apr 7 2020, 9:17 AM
werner added a comment to T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.

Please explain what your problems is. Setting arbitrary debug flags is not helpful for your or us.

Apr 7 2020, 8:48 AM · FAQ
werner created T4910: Allow to add a no-mail notation to user-ids.
Apr 7 2020, 8:38 AM · gnupg24, gnupg (gpg23), Feature Request
Laurent Montel <montel@kde.org> committed rKLEOPATRA25798634c29f: Merge remote-tracking branch 'origin/release/20.04' (authored by Laurent Montel <montel@kde.org>).
Merge remote-tracking branch 'origin/release/20.04'
Apr 7 2020, 7:22 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAac61b1074a58: Use QLatin1Char('/') here (authored by Laurent Montel <montel@kde.org>).
Use QLatin1Char('/') here
Apr 7 2020, 7:22 AM
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

Geremia updated the task description for T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.
Apr 6 2020, 9:25 PM · FAQ
Geremia updated the task description for T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.
Apr 6 2020, 8:59 PM · FAQ
Geremia created T4909: gpg2: "decryption failed: No secret key" DBG: search.keyring.c.1109, parse.keyring.c.415.
Apr 6 2020, 8:58 PM · FAQ
jukivili committed rC1250a9cd859d: ppc: avoid using vec_vsx_ld/vec_vsx_st for 2x64-bit vectors (authored by jukivili).
ppc: avoid using vec_vsx_ld/vec_vsx_st for 2x64-bit vectors
Apr 6 2020, 5:03 PM
jukivili added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.
In T4906#133954, @JW wrote:

@jukivili,

I'd be interested in seeing the results of testing the patch. Can you provide a link to the results?

Apr 6 2020, 4:45 PM · Restricted Project, libgcrypt, Bug Report
Broccoli renamed T4908: ECDH with AES-128 decryption failure when fully padded from EdDSA with AES-128 decryption failure when fully padded to ECDH with AES-128 decryption failure when fully padded.
Apr 6 2020, 1:55 PM · Restricted Project, gnupg (gpg22), Bug Report
Broccoli added a comment to T4908: ECDH with AES-128 decryption failure when fully padded.

Of course, you are absolutely correct. I'll update the text accordingly. I thought EdDSA and EcDSA would be expressing differences between Cv25519 and NIST-256. I am not an expert. :-)

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

EdDSA is sign only - how do you want to encrypt to such a key? Did you mean cv25519 and ECDH?

Apr 6 2020, 12:21 PM · Restricted Project, gnupg (gpg22), Bug Report
werner added a project to T3763: ECDH - encryption with obfuscated size of the symmetric key: OpenPGP.

I also don't think that key size obfuscation is useful, after all the preferences of the key demand a certain key size.

Apr 6 2020, 12:19 PM · OpenPGP, gnupg (gpg23)
andrey_l updated the diff for D500: Add Ukrainian localization to installer.

Small fix to translation - found by my friend

Apr 6 2020, 11:00 AM
Broccoli updated the task description for T4908: ECDH with AES-128 decryption failure when fully padded.
Apr 6 2020, 10:39 AM · Restricted Project, gnupg (gpg22), Bug Report
Broccoli created T4908: ECDH with AES-128 decryption failure when fully padded.
Apr 6 2020, 10:37 AM · Restricted Project, gnupg (gpg22), Bug Report
JW added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

I'd be interested in seeing the results of testing the patch. Can you provide a link to the results?

Apr 6 2020, 10:21 AM · Restricted Project, libgcrypt, Bug Report
werner added a comment to T4774: Cross compilation friendly libgpg-error.

Clever idea.

Apr 6 2020, 9:49 AM · Restricted Project, gpgrt
Laurent Montel <montel@kde.org> committed rKLEOPATRA1dd0adeb8df0: GIT_SILENT: Prepare 5.14.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0
Apr 6 2020, 6:59 AM
Laurent Montel <montel@kde.org> committed rLIBKLEOfcf2473737ed: GIT_SILENT: Prepare 5.14.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0
Apr 6 2020, 6:57 AM
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 5 2020

andrey_l added a comment to D500: Add Ukrainian localization to installer.

Installer in Win10 / Ukrainian environment:

Apr 5 2020, 9:52 PM
andrey_l created D500: Add Ukrainian localization to installer.
Apr 5 2020, 9:51 PM
andrey_l abandoned D498: T4819 - Replace restoreGeometry() by Size saving.

These changes were reworked into Kleopatra patch for all platforms:
https://phabricator.kde.org/D28580

Apr 5 2020, 1:07 AM
andrey_l added a comment to T4819: Kleopatra / Win 10 - Sign and Encrypt window doesn't show up.

Today I wanted to check linked issue: main window of Kleopatra doesn't remember size.
I worked on it again full day and found really good solution which is already present in KDE libs.
This is new fix for dialogs mentioned in this ticket and for MainWindow:
https://phabricator.kde.org/D28580

Apr 5 2020, 1:05 AM · Bug Report, gpg4win

Apr 4 2020

kaliszad added a comment to T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key".

@werner what size of each additionally allocated secure memory area would you recommend? Is this something, that is better to set or leave up to the gpg-agent to decide? Will this additional memory be freed when not needed anymore or will it stay allocated until the process dies? I guess, the documentation could be expanded to answer this.

Apr 4 2020, 8:26 PM · gnupg (gpg22), MacOS, Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRA4eb6b6299bd4: Fix includes. Use uppercase includes (authored by Laurent Montel <montel@kde.org>).
Fix includes. Use uppercase includes
Apr 4 2020, 5:41 PM
hefee committed rKLEOPATRAc221c0121948: [Kleopatra] Add support of timestamp to logging (authored by andrey_l).
[Kleopatra] Add support of timestamp to logging
Apr 4 2020, 4:48 PM
jukivili added a comment to T4906: error: call to 'vec_vsx_ld' is ambiguous.

Attached patch should solve the issue for gcc 7.5 and clang 8.

Apr 4 2020, 1:30 PM · Restricted Project, libgcrypt, Bug Report
David Faure <faure@kde.org> committed rKLEOPATRA8cc12d038996: Qt 5.15 undeprecated QComboBox::currentIndexChanged(int) (authored by David Faure <faure@kde.org>).
Qt 5.15 undeprecated QComboBox::currentIndexChanged(int)
Apr 4 2020, 12:57 PM
Laurent Montel <montel@kde.org> committed rLIBKLEO7e3e5d5a5175: GIT_SILENT: Prepare 5.14.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0
Apr 4 2020, 12:03 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA35b090c22812: GIT_SILENT: Prepare 5.14.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.14.0
Apr 4 2020, 11:59 AM

Apr 3 2020

werner committed rE98d11eff669c: core: Improve the echo and info meta commands of the arg parser (authored by werner).
core: Improve the echo and info meta commands of the arg parser
Apr 3 2020, 10:51 PM
werner committed rEef07aedc7099: core: Implement meta command [user] also for Windows (authored by werner).
core: Implement meta command [user] also for Windows
Apr 3 2020, 10:51 PM
werner committed rEd843d260f550: core: Implement meta command [user] for the arg parser. (authored by werner).
core: Implement meta command [user] for the arg parser.
Apr 3 2020, 10:42 PM
werner committed rK1119068b2e9f: Very minor patch cleanup (authored by werner).
Very minor patch cleanup
Apr 3 2020, 5:18 PM
andrey_l added a reviewer for D499: Add .arcconfig: aheinecke.
Apr 3 2020, 5:03 PM
andrey_l added a comment to T4819: Kleopatra / Win 10 - Sign and Encrypt window doesn't show up.

Patch with my fix: https://dev.gnupg.org/D498
(now I know how to submit it!)

Apr 3 2020, 5:03 PM · Bug Report, gpg4win
andrey_l created D499: Add .arcconfig.
Apr 3 2020, 5:02 PM