Page MenuHome GnuPG
Feed All Stories

Sep 13 2021

werner added a comment to T5597: First 8 bytes of cache item left in clear in memory after decryption..

And well, the context area of the handle is also wiped at gcry_cipher_close time. Thus any standard use of aeswrap (open,encrypt/decrypt,close) is not affected.

Sep 13 2021, 4:42 PM · libgcrypt, symmetric, Bug Report
werner claimed T5597: First 8 bytes of cache item left in clear in memory after decryption..

Good catch. Thanks. This patch should fix the leak:

Sep 13 2021, 4:39 PM · libgcrypt, symmetric, Bug Report
mdeslaur added a comment to T5328: On the (in)security of Elgamal in OpenPGP.

I looks like the "cipher: Hardening ElGamal by introducing exponent blinding too." commit [1] was never applied to 1.8.x. Is that intentional? If so, is there a specific reasoning that it's not needed in 1.8.x? Thanks!

Sep 13 2021, 2:55 PM · side-channel, CVE, libgcrypt
Laurent Montel <montel@kde.org> committed rKLEOPATRAcb8f2662f926: GIT_SILENT: remove unused _version.h include (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: remove unused _version.h include
Sep 13 2021, 1:57 PM
ajaja added a comment to T5574: Doubled characters in Windows console output.

@ikloecker
Thank you.
So it's a different issue.
Sorry, I was confused because after solving the gpg: can't connect to the agent I instantly got gpg: problem with the agent: End of file.

Sep 13 2021, 1:03 PM · gnupg, Windows, Bug Report
ikloecker added a comment to T5574: Doubled characters in Windows console output.

Symmetric decryption is broken in 2.3.2. See T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2). Try 2.3.1.

Sep 13 2021, 12:34 PM · gnupg, Windows, Bug Report
spelissier added a project to T5597: First 8 bytes of cache item left in clear in memory after decryption.: libgcrypt.
Sep 13 2021, 11:47 AM · libgcrypt, symmetric, Bug Report
onickolay added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

@gniibe sorry for pinging, but this issue gets attention as TB users (with RNP OpenPGP backend) cannot import to GnuPG EdDSA secret key which was generated by RNP since it doesn't tweak bits when storing or exporting a secret key.
Should we update RNP to tweak those bits during storage to be more compatible (given that those bits doesn't make any difference)?

Sep 13 2021, 11:36 AM · Support, gnupg, OpenPGP
werner moved T5520: Fix tests in FIPS mode from Next to Ready for release on the FIPS board.
Sep 13 2021, 11:17 AM · FIPS, libgcrypt, Bug Report
werner moved T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation from Backlog to Next on the FIPS board.
Sep 13 2021, 11:16 AM · FIPS, libgcrypt, Feature Request
werner moved T5520: Fix tests in FIPS mode from Backlog to Next on the FIPS board.
Sep 13 2021, 11:11 AM · FIPS, libgcrypt, Bug Report
spelissier created T5597: First 8 bytes of cache item left in clear in memory after decryption..
Sep 13 2021, 11:04 AM · libgcrypt, symmetric, Bug Report
ajaja added a comment to T5574: Doubled characters in Windows console output.
gpg: can't connect to the agent: IPC connect call failed

This problem with portable mode in Windows can be solved by creating additional gnupg folder near bin, home, share.
I don't know why, but gpg-agent v2.3.2/2.2.30 in Windows in portable mode creates files S.gpg-agent.* in gnupg, not in home folder. And it doesn't work without gnupg folder.

Sep 13 2021, 10:20 AM · gnupg, Windows, Bug Report
werner added a comment to T4894: FIPS: RSA/DSA/ECDSA are missing hashing operation.

My suggestion for a combined function is a simple:

Sep 13 2021, 9:53 AM · FIPS, libgcrypt, Feature Request
werner added a comment to T5594: some possible minor things in the manpage.

Yes, --no-keyring should enough for the subset of gpg commands which do not need keys.

Sep 13 2021, 9:37 AM · Documentation, gnupg, Bug Report
werner added a comment to T5560: gpg.exe interrupt batch execution in WindowsXp.

Sorry, GnuPG proper has no context menu or any graphic user interface. You need to install Gpg4win for this. Regarding use of gpg by other programs: There has been no change - other programs need to use the status-fd/command-fd interface and that has always been defined as UTF-8 and not as any native codepage. Please ask the makers of The Bat what is going wrong there.

Sep 13 2021, 9:35 AM · Windows, gnupg (gpg22), Bug Report
gniibe added a comment to T5576: New set of API for public key cryptography.

2021-09-13 Update:

  • Signature operation tested: RSA-PSS, RSA-PKCS#1-v1.5, RSA-X9.31, ECDSA by NIST Curves, DSA (against CAVS test vectors in FIPS 186-4)
    • Newly added features (also useful for standard API of sexp):
      • Support of X9.31 signature scheme with RSA
      • Support of supplying random "k" for DSA/ECDSA
      • Digest mode ASN for SHA512-224 and SHA512-256 (required for RSA PKCS#1-v1.5)
Sep 13 2021, 9:17 AM · libgcrypt, Feature Request
Jakuje added a comment to T5520: Fix tests in FIPS mode.

I have one more patch set to improve FIPS testing in test/curves.c. In the past, it was basically skipped altogether in FIPS mode. This implements more fine-grained selection of what is being tested. This is the first part.

Sep 13 2021, 8:53 AM · FIPS, libgcrypt, Bug Report
Laurent Montel <montel@kde.org> committed rLIBKLEO92f0755e956d: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Sep 13 2021, 7:46 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRAd3ad47fcfe6a: GIT_SILENT: time to increase version (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase version
Sep 13 2021, 7:36 AM
werner claimed T5574: Doubled characters in Windows console output.

The breakaway job notices should definitely only be emitted in verbose mode. For the other things I need to check.

Sep 13 2021, 6:30 AM · gnupg, Windows, Bug Report
werner claimed T5596: Libgcrypt documentation: corrections to obvious misprints.
Sep 13 2021, 6:28 AM · libgcrypt, patch, Documentation, Bug Report
ajaja added a comment to T5574: Doubled characters in Windows console output.

Few more logs from 2.3.2 and 2.2.29 (for comparison):

Sep 13 2021, 1:14 AM · gnupg, Windows, Bug Report
ajaja added a comment to T5574: Doubled characters in Windows console output.

I'm not sure that the portable mode is a culprit here.
Something is very wrong with gpg-agent/pinentry.
Even symmetric decryption doesn't work in 2.3.2/2.2.30:

Sep 13 2021, 12:15 AM · gnupg, Windows, Bug Report

Sep 12 2021

MikhailRyazanov renamed T5596: Libgcrypt documentation: corrections to obvious misprints from Corrections to obvious Libgcrypt documentation misprints to Libgcrypt documentation: corrections to obvious misprints.
Sep 12 2021, 11:51 PM · libgcrypt, patch, Documentation, Bug Report
MikhailRyazanov renamed T5596: Libgcrypt documentation: corrections to obvious misprints from Corrections to obvious documentation misprints to Corrections to obvious Libgcrypt documentation misprints.
Sep 12 2021, 11:50 PM · libgcrypt, patch, Documentation, Bug Report
MikhailRyazanov added a project to T5596: Libgcrypt documentation: corrections to obvious misprints: libgcrypt.
Sep 12 2021, 11:49 PM · libgcrypt, patch, Documentation, Bug Report
MikhailRyazanov updated the task description for T5596: Libgcrypt documentation: corrections to obvious misprints.
Sep 12 2021, 10:52 PM · libgcrypt, patch, Documentation, Bug Report
MikhailRyazanov updated the task description for T5596: Libgcrypt documentation: corrections to obvious misprints.
Sep 12 2021, 10:49 PM · libgcrypt, patch, Documentation, Bug Report
MikhailRyazanov created T5596: Libgcrypt documentation: corrections to obvious misprints.
Sep 12 2021, 10:46 PM · libgcrypt, patch, Documentation, Bug Report
sjlongland added a comment to T1621: Support multiple cards (not just readers).

GnuPG stable (i.e. 2.3.2) has full support for several readers and tokens. This won't be backported to the LTS versions (2.2), though. Better switch.

Sep 12 2021, 4:24 AM · gnupg, Feature Request

Sep 11 2021

werner added a comment to T1621: Support multiple cards (not just readers).

GnuPG stable (i.e. 2.3.2) has full support for several readers and tokens. This won't be backported to the LTS versions (2.2), though. Better switch.

Sep 11 2021, 11:16 AM · gnupg, Feature Request
sjlongland updated sjlongland.
Sep 11 2021, 1:43 AM
sjlongland added a comment to T1621: Support multiple cards (not just readers).

I've recently acquired two Yubikeys: one Yubikey 5 NFC from my workplace, and shortly after, I bought a Yubikey 5C for my own personal keys… both security tokens have _different_ keys on them. (There are some questions being asked regarding the use of the same GnuPG key duplicated on separate smartcards; this is a different case).

Sep 11 2021, 1:35 AM · gnupg, Feature Request

Sep 10 2021

swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

Woops, :-s I forgot to also add all these details from additional investigations I already did (obviously assuming it might be helpful ones for definitely fixing issue I reported (and my apologies in advance for whom might find lenght of all this really excessive, 8-) since I simply tried to comprehensively summarize results...)

Sep 10 2021, 1:21 PM · Bug Report, gpg4win
ikloecker added a comment to T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH.

The fix works for me (using bash on openSUSE Tumbleweed).

Sep 10 2021, 12:26 PM · gpgrt
swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

My apologies for further delay before also providing this screenshot bitmap of error found (because of initially not finding specific site info about best browser to use and not seeing 'cloud symbol' (many thanks werner :-D ) I obviously had to switch from IE11 to MSEdge and then also manually import proper cookies needed for this site :-(( )

Sep 10 2021, 11:17 AM · Bug Report, gpg4win
ikloecker committed rKLEOPATRAba72eadef0a8: Use correct name for third number of RELEASE_SERVICE_VERSION (authored by ikloecker).
Use correct name for third number of RELEASE_SERVICE_VERSION
Sep 10 2021, 9:53 AM
ikloecker committed rKLEOPATRAcbd5aefd99cc: Fix duplicate release versions (authored by Nicolas Fella <nicolas.fella@gmx.de>).
Fix duplicate release versions
Sep 10 2021, 9:31 AM
ikloecker committed rKLEOPATRA0f4efe1124d5: Fix version number (authored by ikloecker).
Fix version number
Sep 10 2021, 9:31 AM
ikloecker committed rKLEOPATRAb0565ac2a3c4: Use correct name for third number of RELEASE_SERVICE_VERSION (authored by ikloecker).
Use correct name for third number of RELEASE_SERVICE_VERSION
Sep 10 2021, 9:31 AM
gniibe committed rE6b08dd09864e: gpgrt-config: Fix behavior when PKG_CONFIG_LIBDIR="". (authored by gniibe).
gpgrt-config: Fix behavior when PKG_CONFIG_LIBDIR="".
Sep 10 2021, 3:11 AM
gniibe changed the status of T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH from Open to Testing.
Sep 10 2021, 3:00 AM · gpgrt

Sep 9 2021

werner committed rG92f5cbb01874: doc: Clarify some gpg keyring options (authored by werner).
doc: Clarify some gpg keyring options
Sep 9 2021, 5:47 PM
werner lowered the priority of T5079: Add compliance flag to trustlist.txt from High to Normal.
Sep 9 2021, 3:08 PM · gnupg24 (gnupg-2.4.1), Restricted Project, Feature Request
werner committed rG265d993c7644: doc: Minor update of the AD schema. (authored by werner).
doc: Minor update of the AD schema.
Sep 9 2021, 1:31 PM
werner committed rG255d4d5815d0: sm: Add LotW support to the key listing (authored by werner).
sm: Add LotW support to the key listing
Sep 9 2021, 1:31 PM
werner committed rGPAfaaf0b7b72bd: core: Map an LotW OID in DNs (authored by werner).
core: Map an LotW OID in DNs
Sep 9 2021, 1:13 PM
werner added a project to T5494: gpg-agent doesn't support security-key (sk) key types: gnupg (gpg23).

Interesting idea.

Sep 9 2021, 1:03 PM · gnupg24, gnupg (gpg23), Feature Request, ssh
gniibe added a comment to T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH.

Here is a possible fix:

Sep 9 2021, 12:36 PM · gpgrt
gniibe triaged T5595: gpgrt-config doesn't work well with PKG_CONFIG_LIBDIR="" and setting PKG_CONFIG_PATH as High priority.
Sep 9 2021, 12:33 PM · gpgrt
aheinecke closed T5589: add context menu for normal operation after installation as Wontfix.

No support for Windows XP anymore.

Sep 9 2021, 12:12 PM · Installer, FAQ, gpg4win
rhansen added a comment to T5494: gpg-agent doesn't support security-key (sk) key types.

How difficult would it be to teach gpg-agent to fall back to another SSH agent if given an unsupported key?

Sep 9 2021, 11:13 AM · gnupg24, gnupg (gpg23), Feature Request, ssh
luweitest added a comment to T5589: add context menu for normal operation after installation.

Sorry, I should clarify that I am using the windows installer
gnupg-w32-2.2.27_20210111.exe on WindowsXpSp3. The installer do not create
any context menu since I use it. I use Gnupg with Enigmail in Thunderbird,
so Gpg4win is not preferred.

Sep 9 2021, 9:23 AM · Installer, FAQ, gpg4win
Nicolas Fella <nicolas.fella@gmx.de> committed rKLEOPATRAa4a910231895: Fix duplicate release versions (authored by Nicolas Fella <nicolas.fella@gmx.de>).
Fix duplicate release versions
Sep 9 2021, 1:41 AM

Sep 8 2021

bjmgeek added a comment to T3748: GPA is stuck if keyring is too big and trust-model is tofu+pgp.

I verified that manually putting the DB in WAL mode also resolved this issue, since writers don't block readers in WAL mode.

Sep 8 2021, 10:07 PM · TOFU, gnupg (gpg22), gpa
werner edited projects for T5589: add context menu for normal operation after installation, added: gpg4win, FAQ, Installer; removed Feature Request.

This is a hard to solve problem in the NSIS installer: If you accidently started more than one installer they may both register files for update at the next restart. Now after the restart the file which is to be renamed does not anymore exist and thus a component or even library is not available. In this case it is GpgEX, the explorer plugin.

Sep 8 2021, 7:09 PM · Installer, FAQ, gpg4win
werner set the color for Installer to Green.
Sep 8 2021, 7:08 PM
werner created Installer.
Sep 8 2021, 7:07 PM
werner added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

In the editor you find a cloud symbol with an arrow to upload a file. Use this and and the file id will be pasted at the cursos, like here

Sep 8 2021, 6:58 PM · Bug Report, gpg4win
werner added projects to T5594: some possible minor things in the manpage: gnupg, Documentation.
Sep 8 2021, 6:53 PM · Documentation, gnupg, Bug Report
calestyo created T5594: some possible minor things in the manpage.
Sep 8 2021, 4:32 PM · Documentation, gnupg, Bug Report
werner committed rGf32994b0bf07: scd: Support PC/SC for "getinfo reader_list". (authored by werner).
scd: Support PC/SC for "getinfo reader_list".
Sep 8 2021, 3:52 PM
ikloecker committed rG08f227052fa3: build: Fix "ksba.h not found" problem (authored by ikloecker).
build: Fix "ksba.h not found" problem
Sep 8 2021, 3:21 PM
swimmerm added a comment to T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.

Apologies for my (newbie) comment on this bug reporting system. Since I have a screen shot bitmap better showing error I described, could anyone tell me how to attach to this bug ?

Sep 8 2021, 2:16 PM · Bug Report, gpg4win
swimmerm updated the task description for T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.
Sep 8 2021, 2:12 PM · Bug Report, gpg4win
swimmerm created T5593: Gpg4Win displayed 'PATH env variable too big' error during setup.
Sep 8 2021, 1:48 PM · Bug Report, gpg4win
ikloecker changed the status of T5535: Kleopatra: Check that accessibility is also supported for VS-NfD from Open to Testing.

Finishing development for now.

Sep 8 2021, 10:52 AM · Restricted Project, kleopatra
ikloecker claimed T5592: AppImage of Kleopatra.
Sep 8 2021, 10:49 AM · Restricted Project, kleopatra, Feature Request
ikloecker created T5592: AppImage of Kleopatra.
Sep 8 2021, 10:48 AM · Restricted Project, kleopatra, Feature Request
ikloecker closed T5591: How to build Gpgmepp in Windows 10 as Invalid.

Please talk to the KDE folks who develop Craft. We do not support building anything with Craft. Check out gpg4win (https://dev.gnupg.org/source/gpg4win/) to see how we build our products on Windows.

Sep 8 2021, 10:39 AM · Cross-Compiler, gpgme
ikloecker added a comment to T5589: add context menu for normal operation after installation.

Which product do you refer to? Kleopatra? gpg4win? Something else?
Which operating system are you using? Windows? Linux? Something else?

Sep 8 2021, 10:29 AM · Installer, FAQ, gpg4win
kashif created T5591: How to build Gpgmepp in Windows 10.
Sep 8 2021, 10:19 AM · Cross-Compiler, gpgme
werner added a comment to T5590: OpenPGP: Curve 448, modernize?.

The major problem I see is that an implementation needs to add more crypto primitives to support ths curve. And we can expect that 448 will eventually get in widespread use. We already have all primitives but would inhibit the creation of minimal implementations.

Sep 8 2021, 7:53 AM · rationale, gnupg, OpenPGP
l10n daemon script <scripty@kde.org> committed rLIBKLEO16467b26ca72: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Sep 8 2021, 4:34 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO7a0886428992: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Sep 8 2021, 3:26 AM
gniibe created T5590: OpenPGP: Curve 448, modernize?.
Sep 8 2021, 2:05 AM · rationale, gnupg, OpenPGP

Sep 7 2021

FierzvID added a member for Keyserver: FierzvID.
Sep 7 2021, 10:42 PM
FierzvID added a watcher for Keyserver: FierzvID.
Sep 7 2021, 10:41 PM
luweitest created T5589: add context menu for normal operation after installation.
Sep 7 2021, 5:22 PM · Installer, FAQ, gpg4win
werner committed rG192113552faa: scd: Fix possible assertion in close_pcsc_reader. (authored by werner).
scd: Fix possible assertion in close_pcsc_reader.
Sep 7 2021, 4:44 PM
werner added a comment to T5576: New set of API for public key cryptography.

I see.

Sep 7 2021, 10:37 AM · libgcrypt, Feature Request
gniibe added a comment to T5576: New set of API for public key cryptography.

BTW, the reason of the name "pkey" is that because gcry_pk_ctl is already occupied.
It will be changed, if needed.

Sep 7 2021, 9:52 AM · libgcrypt, Feature Request
gniibe added a comment to T5576: New set of API for public key cryptography.

Today, I pushed an example for RSA-PSS.

Sep 7 2021, 9:50 AM · libgcrypt, Feature Request
ikloecker committed rKLEOPATRA69f69c15715c: Revert "Add widget parent" (authored by ikloecker).
Revert "Add widget parent"
Sep 7 2021, 9:44 AM
ikloecker added a reverting change for rKLEOPATRAa4a84b9a3b48: Add widget parent: rKLEOPATRA69f69c15715c: Revert "Add widget parent".
Sep 7 2021, 9:44 AM
werner committed rG4b2cfec2dc2f: agent: Fix segv in GET_PASSPHRASE (regression) (authored by werner).
agent: Fix segv in GET_PASSPHRASE (regression)
Sep 7 2021, 9:43 AM
werner committed rGaf3b1901549b: agent: Fix segv in GET_PASSPHRASE (regression) (authored by werner).
agent: Fix segv in GET_PASSPHRASE (regression)
Sep 7 2021, 9:43 AM
ikloecker accepted rKLEOPATRA966b5db50d72: Avoid use of private Qt API by dropping workaround in accessibleWidgetFactory.

I have approved the commit in KDE's GitLab. For details see https://invent.kde.org/pim/kleopatra/-/merge_requests/8

Sep 7 2021, 9:19 AM
werner added 1 auditor(s) for rKLEOPATRA966b5db50d72: Avoid use of private Qt API by dropping workaround in accessibleWidgetFactory: ikloecker.
Sep 7 2021, 9:13 AM
werner closed T5555: Cannot add existing ECDSA key as a signing subkey as Resolved.
Sep 7 2021, 9:11 AM · gnupg24, Bug Report
werner closed T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2) as Resolved.

Fixed in 2.3 and 2.2

Sep 7 2021, 9:04 AM · segv, gnupg (gpg23), Bug Report
Laurent Montel <montel@kde.org> committed rKLEOPATRAa4a84b9a3b48: Add widget parent (authored by Laurent Montel <montel@kde.org>).
Add widget parent
Sep 7 2021, 9:00 AM
werner added a comment to rGb89b1f35c29c: agent: Ignore passphrase constraints for a generated passphrase..

The task is T5577 (which I accidently closed during triage)

Sep 7 2021, 7:56 AM
werner reopened T5577: Null ptr dereference in gpg-agent (gnupg 2.3.2) as "Open".

(I closed this by accident)

Sep 7 2021, 7:54 AM · segv, gnupg (gpg23), Bug Report

Sep 6 2021

werner claimed T5588: GnuPG 2.3.2 --disable-tofu --disable-sqlite unusable.
Sep 6 2021, 7:44 PM · gnupg (gpg23), Gentoo, Bug Report
ikloecker committed rKLEOPATRA69aa9861643c: Improve accessibility of decryption result overview and details (authored by ikloecker).
Improve accessibility of decryption result overview and details
Sep 6 2021, 6:56 PM
ikloecker committed rKLEOPATRAa40973a644d5: Minor cleanup (authored by ikloecker).
Minor cleanup
Sep 6 2021, 6:56 PM
ikloecker added a comment to rGb89b1f35c29c: agent: Ignore passphrase constraints for a generated passphrase..

This commit breaks decryption of symmetrically encrypted data. gpg-agent segfaults after one has entered the passphrase in pinentry.

Sep 6 2021, 5:29 PM
Jakuje added a comment to T5576: New set of API for public key cryptography.

I added couple of minor comments. I hope they went into somewhere.

Sep 6 2021, 2:58 PM · libgcrypt, Feature Request