Page MenuHome GnuPG
Feed Advanced Search

May 25 2023

werner archived gnupg24 (gnupg-2.4.1).
May 25 2023, 12:39 PM
werner edited projects for T6234: Implement access to smartcards via a generic pkcs#11 interface, added: gnupg26; removed gnupg24.
May 25 2023, 12:37 PM · Restricted Project, gnupg26, Feature Request, scd
werner closed T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. as Resolved.

The fix actually does the same as my suggested workaround.

May 25 2023, 12:03 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner moved T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. from Backlog to gnupg-2.4.2 on the gnupg24 board.
May 25 2023, 12:03 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner committed rGe9dd47d789e8: gpg: Fix searching for the ADSK key when adding an ADSK. (authored by werner).
gpg: Fix searching for the ADSK key when adding an ADSK.
May 25 2023, 12:01 PM
werner lowered the priority of T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. from High to Normal.

There is an easy workaround: Append an exclamation mark to the adsk key. This way gpg will only search for this subkey.
An example with my test keys:

May 25 2023, 11:21 AM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner moved T6503: Do not make use of the VirtualStore under Windows from Backlog to QA on the gnupg22 board.
May 25 2023, 11:11 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
werner committed rG625fb548998f: w32: Add missing manifests and set a requestedExecutionLevel. (authored by werner).
w32: Add missing manifests and set a requestedExecutionLevel.
May 25 2023, 11:10 AM
werner added a comment to T2820: GPGME: Allow to set the keyring for a context.

secring.gpg is only used by unsupported legacy versions of GnuPG. Since 2.1 it is not anymore used.

May 25 2023, 9:43 AM · Won't Fix, gpgme, Feature Request

May 24 2023

werner committed rEc62157c615a6: core: Add hurd-amd64 support (authored by Samuel Thibault <samuel.thibault@ens-lyon.org>).
core: Add hurd-amd64 support
May 24 2023, 4:59 PM
werner committed rE7a42ff0ec971: core: New mode flag "sequential" for gpgrt_fopen. (authored by werner).
core: New mode flag "sequential" for gpgrt_fopen.
May 24 2023, 4:59 PM
werner renamed Spammer-TomDavise from TomDavise to Spammer-TomDavise.
May 24 2023, 4:19 PM
werner committed rG000b82ade7ad: gpg: Return ERROR status for --quick-sign-key. (authored by werner).
gpg: Return ERROR status for --quick-sign-key.
May 24 2023, 4:05 PM
werner committed rG8295fb3f0b4f: w32: Add missing supportedOS Ids for Windows-10 (authored by werner).
w32: Add missing supportedOS Ids for Windows-10
May 24 2023, 2:17 PM
werner moved T6503: Do not make use of the VirtualStore under Windows from Backlog to QA on the gnupg24 board.
May 24 2023, 1:47 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
werner committed rG3a438a1cc350: w32: Add missing manifests and set a requestedExecutionLevel. (authored by werner).
w32: Add missing manifests and set a requestedExecutionLevel.
May 24 2023, 12:18 PM
werner committed rG42bea7de16e9: common,w32: Set a proper error code when creating an output file. (authored by werner).
common,w32: Set a proper error code when creating an output file.
May 24 2023, 12:18 PM
werner committed rG7e681da1b217: sm: Emit STATUS_FAILURE for non-implemented commands. (authored by werner).
sm: Emit STATUS_FAILURE for non-implemented commands.
May 24 2023, 12:18 PM
werner committed rG097701e69835: gpgtar: Emit FAILURE status line. (authored by werner).
gpgtar: Emit FAILURE status line.
May 24 2023, 12:18 PM
werner committed rGfaf0a97b2e0b: gpg: Improve error code for file already exists. (authored by werner).
gpg: Improve error code for file already exists.
May 24 2023, 12:18 PM

May 23 2023

werner closed T6501: Check use of write in gpgme's Python bindings as Resolved.

Should be fixed now; see commit above.

May 23 2023, 4:45 PM · Python, Bug Report, gpgme
werner committed rM36a68bc5308c: python: Fix wrong use of write. (authored by werner).
python: Fix wrong use of write.
May 23 2023, 4:32 PM
werner added a comment to T6501: Check use of write in gpgme's Python bindings.

FWIW: WriteFile and write are more different than in using a HANDLE vs. a libc file descriptor. Despite that a HANDLE might be a 64 bit pointer, it is guaranteed that the value fits into a 32 bit variable. But they still index different objects. The return code and error values are also different.

May 23 2023, 3:59 PM · Python, Bug Report, gpgme
werner added a comment to T6501: Check use of write in gpgme's Python bindings.

Much simpler: write is only used in the callbacks and over there gpgme_io_writen[n] shall be used anyway.

May 23 2023, 3:53 PM · Python, Bug Report, gpgme
werner updated the task description for T6504: Adding an ADSK to several keys may fail with Wrong Key Usage..
May 23 2023, 3:18 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner triaged T6504: Adding an ADSK to several keys may fail with Wrong Key Usage. as High priority.
May 23 2023, 3:18 PM · gnupg24 (gnupg-2.4.2), OpenPGP, Bug Report
werner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Hmm, for the latter this:

May 23 2023, 3:03 PM · Emacs, gnupg, Bug Report
werner updated the task description for T6488: Kleopatra: moving decrypted Folder to USB device fails.
May 23 2023, 1:25 PM · kleopatra, Restricted Project
werner updated the task description for T6488: Kleopatra: moving decrypted Folder to USB device fails.
May 23 2023, 1:25 PM · kleopatra, Restricted Project
werner added a comment to T6503: Do not make use of the VirtualStore under Windows.

Kleopatra test case (similar to gpg):

May 23 2023, 1:22 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
werner renamed T6499: Kleopatra: no error if trying to write decrypted file to write-protected folder from Do not make use of the VirtualStore under Windows. to Kleopatra: no error if trying to write decrypted file to write-protected folder.
May 23 2023, 1:17 PM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
werner triaged T6503: Do not make use of the VirtualStore under Windows as High priority.
May 23 2023, 1:15 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, kleopatra
werner renamed T6499: Kleopatra: no error if trying to write decrypted file to write-protected folder from Kleopatra: no error if trying to write decrypted file to write-protected folder to Do not make use of the VirtualStore under Windows..
May 23 2023, 12:44 PM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
werner triaged T6499: Kleopatra: no error if trying to write decrypted file to write-protected folder as High priority.
May 23 2023, 12:43 PM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project
werner added a comment to T6499: Kleopatra: no error if trying to write decrypted file to write-protected folder.
May 23 2023, 12:42 PM · vsd33 (vsd-3.3.0), kleopatra, Restricted Project

May 22 2023

werner committed rD66d4623e5861: ids: Add published draft-koch-openpgp-webkey-service-16.txt (authored by werner).
ids: Add published draft-koch-openpgp-webkey-service-16.txt
May 22 2023, 5:14 PM
werner committed rD87110c5ddfb8: web: Improve CSS for footnotes. (authored by werner).
web: Improve CSS for footnotes.
May 22 2023, 5:14 PM
werner committed rDe5174f234f90: ids: Prepare draft-koch-openpgp-webkey-service-16 (authored by werner).
ids: Prepare draft-koch-openpgp-webkey-service-16
May 22 2023, 5:14 PM
werner added a project to T6501: Check use of write in gpgme's Python bindings: Python.
May 22 2023, 10:38 AM · Python, Bug Report, gpgme
werner triaged T6501: Check use of write in gpgme's Python bindings as High priority.
May 22 2023, 10:37 AM · Python, Bug Report, gpgme
werner added projects to T6500: Keyserver access via http-proxy isn't attempted when using standard-resolver: gnupg24, dns.

Seems it gets a record but is not able to parse it (gnupg/dirmngr/dns-stuff.c:getsrv-standard) in your setup. Not sure why it loops - need to debug it.

May 22 2023, 9:25 AM · gnupg, dns, Bug Report

May 19 2023

werner moved T6497: gpgtar does not return failure code to gpgme from Backlog to WiP on the gnupg22 board.
May 19 2023, 1:08 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project
werner moved T6497: gpgtar does not return failure code to gpgme from Backlog to QA on the gnupg24 board.
May 19 2023, 1:07 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project
werner triaged T6497: gpgtar does not return failure code to gpgme as Normal priority.

Fixed in 2.4

May 19 2023, 1:07 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.2), Bug Report, Restricted Project

May 17 2023

werner added projects to T6491: Pinentry-Qt: Password prompt for each subkey if password change is cancelled: pinentry, kleopatra.

I see the problem: The Qt Pinentry does not implement the BUTTON_INFO status and thus we don't get a fully canceled error back (gpg-agent maps the cancel error to fully-cancel if the close button was used). Should be easy to fix in pinentry (set pinentry->close_button in the close eventhandler).

May 17 2023, 6:12 PM · gpd5x, kleopatra, pinentry, gnupg24 (gnupg-2.4.2)
werner moved T6491: Pinentry-Qt: Password prompt for each subkey if password change is cancelled from gnupg-2.4.1 to gnupg-2.4.2 on the gnupg24 board.
May 17 2023, 4:06 PM · gpd5x, kleopatra, pinentry, gnupg24 (gnupg-2.4.2)
werner added a comment to T6491: Pinentry-Qt: Password prompt for each subkey if password change is cancelled.

For me it works if I fully cancel (i.e. close the Window at the first prompt):

May 17 2023, 4:04 PM · gpd5x, kleopatra, pinentry, gnupg24 (gnupg-2.4.2)
werner changed the edit policy for T6494: GOST Infos.
May 17 2023, 3:51 PM · S/MIME, Memo
werner triaged T6494: GOST Infos as Wishlist priority.
May 17 2023, 3:50 PM · S/MIME, Memo

May 16 2023

werner added a comment to T5576: New set of API for public key cryptography.

Just let me note that we used to have such an API : the former gcry_ac_ functions. However, it turned out that they were more complicated to use.

May 16 2023, 6:00 PM · libgcrypt, Feature Request
werner added a comment to rGd22106276947: w32: Also use _putenv_s for gnupg_unsetenv..

FWIW, we should anyway move on Widnows to the gpgrt provided setenv and getenv which are directly based on the W32API. The problem here is only that we have a lot of getenv in out code and need a wrapper. That wrapper would then also need to provide a static string as getenv does. A first step would be to wrap all getenv into gnupg-getenv calls.

May 16 2023, 4:36 PM

May 15 2023

werner closed T6489: GPG 2.4.0 encrypted files in FIPS mode is non-compliant as Resolved.

GnuPG is and can't be FIPS-140-3 compliant due to the way it is implemented. We may eventually employ the new hash-and-sign API of Libgcrypt to move into this direction but that has not yet been done. However, this also requires the use of the new indicator API and the, well, a RedHat kernel.

May 15 2023, 8:51 PM · Not A Bug, gnupg, FIPS
werner closed T6490: GPG 2.4.0 encrypting files with `--openpgp` flag does not make the encrypted file adhere to OpenPGP RFC as Resolved.

--openpgp means the current OpenPGP standard as implemented by GnuPG. This was important in the first few years of OpenPGP but not anymore today. The option --rfc4880 might be what you want. Please keep also in mind that the preference list declares what a concrete implementation supports and not necessary what's in an RFC.

May 15 2023, 8:47 PM · Not A Bug, Bug Report

May 12 2023

werner closed T5606: 2.3.2: compile and link time warnings as Wontfix.

This is a standard C pattern to declare that one is not interested in the return value. In this case a return value won't help us because we can't log that anyway because we are in a signal handler.

May 12 2023, 10:59 AM · Bug Report

May 11 2023

werner closed T6483: t-iobuf: check whether state is valid as Resolved.

You are right, it is a bad habit not to check this. Thanks for your patch.

May 11 2023, 3:53 PM · Tests, Bug Report, gnupg26
werner committed rG23bb92b755b5: common: Fix malloc nit in regression test. (authored by werner).
common: Fix malloc nit in regression test.
May 11 2023, 3:53 PM
werner added a comment to T6484: dll: 64-bit different name for libgcrypt, libksba, ntbtls, and gpgme.

We need the 64 bit version for the GpgOL because there are 32 and 64 bit versions of outlook. Thus we also need a 64 bit gpgme and in turn a 64 bit libassuan and libgpg-error. I can't remember why we don't append the 6 to the gpgme dll, though.

May 11 2023, 3:36 PM
werner closed T5851: dev.gnupg.org static resources not loaded on safari as Resolved.

Guessing that it works now.

May 11 2023, 11:01 AM · MacOS, dev.gnupg.org
werner closed T5148: gnupg.org mail server doesn't encrypt outgoing mail as Resolved.

Meanwhile fixed.

May 11 2023, 11:00 AM · dev.gnupg.org
werner closed T4374: unable to login to gnupg.org with a twitter account as Wontfix.
May 11 2023, 10:58 AM · dev.gnupg.org
werner closed T3258: clean up note on bug reporting form as Resolved.
May 11 2023, 10:57 AM · gpgweb, dev.gnupg.org, Bug Report
werner closed T3081: Write PHP parser for gnupg style commit messages. as Wontfix.
May 11 2023, 10:57 AM · g10code Sprint, dev.gnupg.org
werner closed T3081: Write PHP parser for gnupg style commit messages., a subtask of T3069: Implement gnupg commit message style, as Wontfix.
May 11 2023, 10:57 AM · g10code Sprint, dev.gnupg.org
werner closed T3051: calendar spams exceptions when no invitees exist for recurrent events as Resolved.
May 11 2023, 10:56 AM · Too Old, dev.gnupg.org
werner closed T3043: Explore wiki options. as Resolved.
May 11 2023, 10:55 AM · dev.gnupg.org
werner closed T3063: Add more RAM to al-kindi as Resolved.

We have new box meanwhile.

May 11 2023, 10:55 AM · dev.gnupg.org
werner closed T3115: Implement simple captcha as Wontfix.

We do manual approvals.

May 11 2023, 10:53 AM · dev.gnupg.org
werner closed T4468: twitter login broken as Wontfix.
May 11 2023, 10:52 AM · dev.gnupg.org

May 10 2023

werner created gnupg26.
May 10 2023, 10:27 AM
werner committed rG1e41878bf283: Prepare new development cycle (authored by werner).
Prepare new development cycle
May 10 2023, 10:24 AM
werner committed rG709ab03bc208: common: Fix parsing ECC key. (authored by gniibe).
common: Fix parsing ECC key.
May 10 2023, 10:15 AM
werner committed rGc40e7641087a: scd: Fix cmd_apdu on error. (authored by gniibe).
scd: Fix cmd_apdu on error.
May 10 2023, 10:15 AM
werner committed rGed3b285cdcef: kbx: For non-Windows use 64k buffers by default instead of 128k. (authored by werner).
kbx: For non-Windows use 64k buffers by default instead of 128k.
May 10 2023, 10:15 AM
werner committed rG69b0fa55f610: kbx: Use custom estream buffering (authored by werner).
kbx: Use custom estream buffering
May 10 2023, 10:15 AM
werner committed rG0a4ccab3bd0a: kbx: Use wrapper functions for es_fclose and es_fopen. (authored by werner).
kbx: Use wrapper functions for es_fclose and es_fopen.
May 10 2023, 10:15 AM
werner committed rG9526d4f7216d: kbx: Add extra flags to fopen for use by Windows. (authored by werner).
kbx: Add extra flags to fopen for use by Windows.
May 10 2023, 10:15 AM
werner committed rGb73ced93863a: gpgsm: Cache the non-existence of the policy file. (authored by werner).
gpgsm: Cache the non-existence of the policy file.
May 10 2023, 10:15 AM
werner closed T6476: cmd_apdu uses gpg_strerror instead of apdu_strerror as Resolved.

backported to 2.2

May 10 2023, 10:09 AM · Bug Report

May 9 2023

werner committed rD611ccde75744: web: Fix html exporter for fixed width blocks (authored by werner).
web: Fix html exporter for fixed width blocks
May 9 2023, 4:04 PM
werner committed rGc30d5829c9ab: gpg: New option --debug-ignore-expiration to help with testing. (authored by werner).
gpg: New option --debug-ignore-expiration to help with testing.
May 9 2023, 8:19 AM
werner closed T2703: provide option to ignore expiration date as Resolved.

Will be in 2.4.2

May 9 2023, 8:18 AM · gnupg, Feature Request
werner closed T4669: Key expiration time sometimes improperly interpreted as a signed 32-bit value as Resolved.
May 9 2023, 7:50 AM · Not A Bug, OpenPGP, gnupg

May 8 2023

werner committed rGef2c3d50fa8c: gpg: Print a warning if no more encryption subkey was left over. (authored by werner).
gpg: Print a warning if no more encryption subkey was left over.
May 8 2023, 1:11 PM
werner committed rGa2c199affb8e: kbx: For non-Windows use 64k buffers by default instead of 128k. (authored by werner).
kbx: For non-Windows use 64k buffers by default instead of 128k.
May 8 2023, 1:11 PM
werner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Well okay, then I have no workaround. However, I won't consider this a bug because BEGIN_ENCRYPTION marks the start of the actual encryption process but not when it starts to read input data.

May 8 2023, 12:53 PM · Emacs, gnupg, Bug Report
werner committed rG08ff55bd44ae: kbx: Use custom estream buffering (authored by werner).
kbx: Use custom estream buffering
May 8 2023, 9:44 AM

May 5 2023

werner triaged T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG) as High priority.

I have not yet experienced that although I am using Gnus with encrypted mail all the time. My guess is that this is due to the improved compressed input detection in gpg. You might be able to work around it by adding compress-level 0 to gpg.conf

May 5 2023, 7:35 PM · Emacs, gnupg, Bug Report
werner committed rGa6c4d6413ae0: kbx: Use wrapper functions for es_fclose and es_fopen. (authored by werner).
kbx: Use wrapper functions for es_fclose and es_fopen.
May 5 2023, 11:56 AM
werner added a comment to T5691: Release libgcrypt 1.10.0.

If you experience build problems on macOS see T6442

May 5 2023, 10:47 AM · FIPS, Release Info, libgcrypt

May 4 2023

werner added a project to T6478: gpg-agent works for gpg, but not ssh with pinentry-tty: pinentry.
May 4 2023, 4:55 PM · pinentry, Bug Report
werner committed rGa7dbf1195487: kbx: Add extra flags to fopen for use by Windows. (authored by werner).
kbx: Add extra flags to fopen for use by Windows.
May 4 2023, 4:04 PM
werner committed rG68613a6a9de4: gpgsm: Cache the non-existence of the policy file. (authored by werner).
gpgsm: Cache the non-existence of the policy file.
May 4 2023, 4:04 PM

May 3 2023

werner added a comment to T6473: Kleopatra: "Change Validity" does ignore the option "Also update the validity period of the subkeys".

There are pros and cons for both key generation versions. I can't remember whether or why I decided that --quick-gen-key should behave different. Maybe because the creation of the subkey was added a bit later or because a new internal API is used here.

May 3 2023, 2:52 PM · kleopatra, Restricted Project
werner added a comment to T6477: WKD redirects and dirmngr redirect rewriting.

I will review the issue. A likely outcome will be to follow your suggestion but to add an option for the old behaviour to avoid further security discussions.

May 3 2023, 8:29 AM · gnupg24 (gnupg-2.4.3), wkd, dirmngr
werner triaged T6477: WKD redirects and dirmngr redirect rewriting as High priority.
May 3 2023, 8:27 AM · gnupg24 (gnupg-2.4.3), wkd, dirmngr

May 2 2023

werner moved T6253: GpgSM: Backport ECC support to 2.2 from Backlog to QA on the gnupg22 board.
May 2 2023, 2:51 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request, S/MIME
werner committed rWf9f0e33fbb63: First May fix for gen-gnupg.sh (authored by werner).
First May fix for gen-gnupg.sh
May 2 2023, 2:27 PM
werner triaged T6450: Kleopatra: add possibility to change filename if it already exists as Normal priority.
May 2 2023, 12:56 PM · Feature Request, kleopatra
werner added a comment to T3469: gpg: decryption failed: No secret key <= after debian upgrade from Jessie to Stretch.

The user tried to sneak in an ad link and he has thus been banned. Here is his probably AI generated comment for documentation:

May 2 2023, 12:54 PM · Support, Documentation
werner added a comment to T6062: Kleopatra: Kleopatra fails with error if signed data is not found.

That comment was used to sneak in an ad. For documentation here is the comment w/o the link:
The changes made to the code have improved the workflow when verifying detached signature [redacted] without a corresponding signed file from Kleopatra's UI, which should make the process more intuitive for users. It is possible that users who experienced this issue in the past may express their satisfaction with the fix in the comments, while others may provide feedback on the usability of the updated workflow.

May 2 2023, 12:49 PM · Restricted Project, kleopatra