Page MenuHome GnuPG
Feed Advanced Search

Apr 27 2022

gniibe claimed T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.
Apr 27 2022, 6:53 AM · gnupg (gpg23), Bug Report
gniibe added a comment to T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.

I located the problem. The test program use-exact-key invokes two gpg-es connecting by pipe (one gpg to generate a signature, another gpg to verify the signature). Those multiple gpg-es race accessing keyboxd.

Apr 27 2022, 6:48 AM · gnupg (gpg23), Bug Report

Apr 26 2022

gniibe added a comment to T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.

Another test, it took 30 minutes to replicate.

Apr 26 2022, 9:40 AM · gnupg (gpg23), Bug Report
ikloecker added a comment to T5950: Allow viewing expired certificates more easily.

I'm afraid we need a bit more information. Please tell us the exact steps how you can reproduce the problem.

Apr 26 2022, 9:17 AM · kleopatra, Feature Request
werner triaged T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6 as Normal priority.
Apr 26 2022, 8:38 AM · gnupg (gpg23), Bug Report
gniibe added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

My Yubikey (Yubico.com Yubikey 4/5 OTP+U2F+CCID) (key Ed25519) works fine with OpenSSH using kex of sntrup761x25519-sha512@openssh.com.

Apr 26 2022, 7:44 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe added a comment to T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.

Thank you. I can replicate the issue.

Apr 26 2022, 5:58 AM · gnupg (gpg23), Bug Report
geng created T5950: Allow viewing expired certificates more easily.
Apr 26 2022, 3:59 AM · kleopatra, Feature Request

Apr 25 2022

werner added a project to T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6: gnupg (gpg23).
Apr 25 2022, 7:10 PM · gnupg (gpg23), Bug Report
thesamesam added a comment to T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.

After re-running myself a few times, I managed to hit it again. In tests/openpgp/report.xml, I see:

[...]
<testsuite name="&lt;keyboxd&gt;tests/openpgp/use-exact-key.scm" time="0" package="&lt;keyboxd&gt;tests/openpgp" id="0" timestamp="2022-04-25T16:18:27" hostname="unknown" tests="1" failures="0" errors="0" >
<properties/>
<testcase name="use-exact-key.scm" classname="&lt;keyboxd&gt;tests.openpgp" time="0" >
<failure message="Unknown error." />
</testcase>
<system-out>
Importing public key.
Checking that the most recent, valid signing subkey is used by default
    &gt; 8BC90111 3E880CFF F5F77B83 45117079 1EA97479 &lt;
Checking that we can select a specific signing key
    &gt; 8BC90111 F5F77B83 1EA97479 &lt;
</system-out>
<system-err>
</system-err>
[...]
Apr 25 2022, 6:20 PM · gnupg (gpg23), Bug Report
thesamesam created T5948: Flaky test (<keyboxd>tests/openpgp/use-exact-key.scm) failure with gnupg 2.3.5, 2.3.6.
Apr 25 2022, 6:14 PM · gnupg (gpg23), Bug Report
JHZ-Admin added a comment to T5803: outlook restarts on adding a address to a new email.

is there any update ? I having the same Issue here on Windows 11 Pro, Outlook Version 2203 (Microsoft 365) 64bit

Apr 25 2022, 3:56 PM · gpgol, Bug Report, gpg4win
werner triaged T5946: Make gcry_mpi_cmp more robust for opaque mpis as Normal priority.
Apr 25 2022, 3:10 PM · libgcrypt, Bug Report
werner claimed T5940: crash importing truncated subkeys.
Apr 25 2022, 2:48 PM · Bug Report, gnupg
werner added a project to T5941: gnupg 2.3.5 hangs on key import: Restricted Project.
Apr 25 2022, 2:32 PM · Restricted Project, gnupg (gpg23), Bug Report
ikloecker triaged T5944: Kleopatra: Recipient input is confused about secondary user IDs as Normal priority.
Apr 25 2022, 2:29 PM · Restricted Project, kleopatra, Bug Report
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

Any idea? Any update?

Apr 25 2022, 2:26 PM · gpgol, Bug Report, gpg4win
ikloecker claimed T5944: Kleopatra: Recipient input is confused about secondary user IDs.
Apr 25 2022, 2:15 PM · Restricted Project, kleopatra, Bug Report
ikloecker updated the task description for T5944: Kleopatra: Recipient input is confused about secondary user IDs.
Apr 25 2022, 2:15 PM · Restricted Project, kleopatra, Bug Report
ikloecker created T5944: Kleopatra: Recipient input is confused about secondary user IDs.
Apr 25 2022, 2:13 PM · Restricted Project, kleopatra, Bug Report
werner added projects to T5821: gpgsm "certificate not found" error handling should use gpg_err_code() instead of -1: gnupg (gpg23), Restricted Project.
Apr 25 2022, 12:11 PM · Restricted Project, gnupg (gpg23), Bug Report
werner added a comment to T5821: gpgsm "certificate not found" error handling should use gpg_err_code() instead of -1.

Thanks. Will go into 2.3.6

Apr 25 2022, 12:11 PM · Restricted Project, gnupg (gpg23), Bug Report
gniibe added a comment to T5941: gnupg 2.3.5 hangs on key import.

I pushed the change above. I also pushed another change with IOBUF_INPUT_TEMP.

Apr 25 2022, 10:41 AM · Restricted Project, gnupg (gpg23), Bug Report
gniibe added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

Sorry, I was confused. For RSA-4096, data is hashed by gpg-agent and hashed data is signed by a card.

Apr 25 2022, 9:51 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
werner added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

We are using rsa-4096 on smartcard for quite some time; so I wonder what's the problem here. Is that that we don't use our Assuan hack for large key material with OpenPGP.3?

Apr 25 2022, 8:07 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

There is another case: RSA-4096 key. scdaemon rejects data by Invalid value. Unfortunately, there is no fix for this, as it's really too large. Even if scdaemon allows larger data, the card implementation rejects, when it conforms to PKCS #1 standard (data should not be larger than 40% of the modulus).

Apr 25 2022, 4:35 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe triaged T5941: gnupg 2.3.5 hangs on key import as High priority.

Thank you for the bug report.

Apr 25 2022, 3:14 AM · Restricted Project, gnupg (gpg23), Bug Report

Apr 22 2022

werner triaged T5940: crash importing truncated subkeys as High priority.
Apr 22 2022, 8:32 PM · Bug Report, gnupg
werner closed T5868: Attached files as Invalid.
Apr 22 2022, 8:26 PM · No Response, gpgol, Bug Report, gpg4win
gniibe added a project to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com: Restricted Project.
Apr 22 2022, 6:50 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe closed T5888: uid changed from [ultimate] to [ unknown] as Resolved.
Apr 22 2022, 6:45 AM · gnupg (gpg23), Bug Report
gniibe closed T5701: Mismatch between enums and config table as Resolved.
Apr 22 2022, 6:44 AM · gnupg (gpg23), Bug Report
gniibe closed T5853: Decrypting OCB encrypted file fails... as Resolved.
Apr 22 2022, 6:44 AM · gnupg (gpg23), Bug Report
gniibe closed T5884: dotlock is not perfect (errornously remove .lock as stale lockfile) as Resolved.
Apr 22 2022, 6:44 AM · Bug Report, gnupg (gpg23)
gniibe added projects to T5917: gpg-agent: Not writing password into file: Restricted Project, gpgagent, Bug Report.
Apr 22 2022, 6:43 AM · Bug Report, gpgagent
gniibe added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

I confirmed that the patch above works with newer Gnuk (>= 1.2.16).

Apr 22 2022, 4:49 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd

Apr 21 2022

werner added a project to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com: gnupg (gpg23).
Apr 21 2022, 7:35 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
werner triaged T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com as Normal priority.
Apr 21 2022, 7:35 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe added a comment to T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.

With newer Gnuk Token, following patch should work:

diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c
index 05e1f3977..439052f8c 100644
--- a/scd/app-openpgp.c
+++ b/scd/app-openpgp.c
@@ -5490,6 +5490,11 @@ do_auth (app_t app, ctrl_t ctrl, const char *keyidstr,
           exmode = 1;    /* Use extended length.  */
           le_value = app->app_local->keyattr[2].rsa.n_bits / 8;
         }
+      else if (app->app_local->cardcap.cmd_chaining && indatalen > 254)
+        {
+          exmode = -254; /* Command chaining with max. 254 bytes.  */
+          le_value = 0;
+        }
       else if (indatalen > 255)
         {
           if (!app->app_local->cardcap.ext_lc_le)
Apr 21 2022, 6:43 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd
gniibe claimed T5935: scd: SSH emulation of gpg-agent doesn't work well with sntrup761x25519-sha512@openssh.com.
Apr 21 2022, 6:41 AM · workaround, gnupg (gpg23), ssh, Bug Report, scd

Apr 20 2022

neverpanic added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

Feedback from the lab is that they'd recommend returning a specific error code that indicates that the prime search failed and then relying on the caller to decide whether to loop or bubble up the error. I'm not sure who we would consider to be the "caller" of the relevant generation function in this case, though.

Apr 20 2022, 12:06 PM · backport, FIPS, libgcrypt, Bug Report
werner closed T5813: Locating Keys via WKD with gpg4win fails with unknown error. as Resolved.
Apr 20 2022, 8:51 AM · wkd, gpg4win, Bug Report
werner triaged T5881: Not all keys available in Security approval window as Normal priority.
Apr 20 2022, 8:48 AM · Bug Report, gpgol
werner triaged T5918: Disable RSA PKCS #1.5 encryption in FIPS mode as High priority.
Apr 20 2022, 8:45 AM · backport, libgcrypt, FIPS, Bug Report
aheinecke added a comment to T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.

For the record, I am for the deletion as long as it is guarded by a safety check.

Apr 20 2022, 8:19 AM · Bug Report, kleopatra, Restricted Project
gniibe added a comment to T5933: libgcrypt: Simply use BSS (not secure heap) for DRBG instance.

Here is my proposal patch:

diff --git a/random/random-drbg.c b/random/random-drbg.c
index 5a46fd92..f1cfe286 100644
--- a/random/random-drbg.c
+++ b/random/random-drbg.c
@@ -341,6 +341,9 @@ enum drbg_prefixes
  * Global variables
  ***************************************************************/
Apr 20 2022, 2:39 AM · backport, FIPS, libgcrypt
gniibe created T5933: libgcrypt: Simply use BSS (not secure heap) for DRBG instance.
Apr 20 2022, 2:37 AM · backport, FIPS, libgcrypt

Apr 19 2022

gniibe moved T5918: Disable RSA PKCS #1.5 encryption in FIPS mode from Backlog to Next on the FIPS board.
Apr 19 2022, 11:27 AM · backport, libgcrypt, FIPS, Bug Report
gniibe claimed T5918: Disable RSA PKCS #1.5 encryption in FIPS mode.
Apr 19 2022, 11:27 AM · backport, libgcrypt, FIPS, Bug Report
gniibe moved T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime" from Backlog to Next on the FIPS board.
Apr 19 2022, 11:07 AM · backport, FIPS, libgcrypt, Bug Report
gniibe moved T5929: gnupg fails to add ssh key to control entry in FIPS mode with libgcrypt 1.10.1 from Backlog to Next on the FIPS board.
Apr 19 2022, 11:07 AM · FIPS, gnupg (gpg23), Bug Report
ikloecker renamed T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard from Reload key list after a key has been moved to a smartcard to Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.
Apr 19 2022, 11:02 AM · Bug Report, kleopatra, Restricted Project
gniibe claimed T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".
Apr 19 2022, 11:01 AM · backport, FIPS, libgcrypt, Bug Report
neverpanic added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

That sounds reasonable. The FIPS 186-5 draft (https://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-5-draft.pdf) covers this in section A.1.3, although I'm not quite sure why a lower bound for p was chosen compared to q. The comment that seems to have triggered this change is published on page 68 of https://csrc.nist.gov/CSRC/media/Publications/fips/186/4/final/documents/comments-received-fips186-4-december-2015.pdf by Allen Roginsky. It only contains a suggestion of 20, presumably for both numbers.

Apr 19 2022, 9:53 AM · backport, FIPS, libgcrypt, Bug Report
ikloecker added a comment to T5836: Kleopatra: Optionally, delete private key locally after moving a key to a smartcard.

In Kleopatra's KeyToCardCommand there is this comment

/* TODO DELETE_KEY is too strong, because it also deletes the stub
 * of the secret key. I could not find out how GnuPG does this. Question
 * to GnuPG Developers is pending an answer

before a commented out code snippet that asks the user whether the key should be deleted locally and, if the user confirms, asks the agent to do DELETE_KEY --force <keygrip of subkey>.

Apr 19 2022, 9:42 AM · Bug Report, kleopatra, Restricted Project

Apr 18 2022

gniibe added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

I checked FIPS 186-4 (and FIPS 186-5-draft). It is Appendix A 1.3.

Apr 18 2022, 3:35 AM · backport, FIPS, libgcrypt, Bug Report

Apr 14 2022

werner closed T1954: Password too long as Resolved.
Apr 14 2022, 3:05 PM · Info Needed, gnupg (gpg20), Bug Report, gnupg
werner closed T5809: Expire subkey violates assertion "! sig->hashed" as Resolved.
  • Fixed in 2.3
  • assert replaced by a fatal error message
Apr 14 2022, 1:57 PM · Restricted Project, gnupg (gpg22), Bug Report
werner triaged T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate" as Low priority.

Printing a note as we do in --edit-key is a good idea.

Apr 14 2022, 1:44 PM · Feature Request, gnupg, Bug Report
gniibe claimed T5929: gnupg fails to add ssh key to control entry in FIPS mode with libgcrypt 1.10.1.

Patches applied and pushed. For the common/t-ssh-utils, I applied my fix for the use case with key on command line when FIPS mode is enabled (MD5 error is OK, in this case).

Apr 14 2022, 4:45 AM · FIPS, gnupg (gpg23), Bug Report

Apr 13 2022

Jakuje added a project to T5929: gnupg fails to add ssh key to control entry in FIPS mode with libgcrypt 1.10.1: FIPS.
Apr 13 2022, 4:15 PM · FIPS, gnupg (gpg23), Bug Report
Jakuje created T5929: gnupg fails to add ssh key to control entry in FIPS mode with libgcrypt 1.10.1.
Apr 13 2022, 4:14 PM · FIPS, gnupg (gpg23), Bug Report

Apr 12 2022

smlx added a comment to T5555: Cannot add existing ECDSA key as a signing subkey.

For anyone stumbling across this issue I created a docker image containing gpg with the patch above applied: https://github.com/smlx/gnupg-piv-agent

Apr 12 2022, 3:59 AM · gnupg24, Bug Report

Apr 11 2022

Jakuje added a comment to T5835: libgcrypt: More robust/portable integrity check.

I was pointed by Daiki to the following patch in Fedora binutils, which allows listing the fdo packaging metadata, but it does not list any other unknown objects and unfortunately fails hard:

Apr 11 2022, 2:00 PM · Bug Report, libgcrypt, FIPS

Apr 9 2022

werner added a comment to T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate".

The reason for this is probably that we expect that several UIDs are added and running a check-trustdb for eachleads to some extra waiting time.

Apr 9 2022, 3:11 PM · Feature Request, gnupg, Bug Report
gniibe added a comment to T5835: libgcrypt: More robust/portable integrity check.

I just copied the value of 0xcafe2a8e and the name .note.fdo.integrity from Daiki's implementation. No other reason.

Apr 9 2022, 9:16 AM · Bug Report, libgcrypt, FIPS

Apr 8 2022

Jakuje added a comment to T5835: libgcrypt: More robust/portable integrity check.

I have one follow-up is that the readelf chokes on the integrity note for some reason:

$ readelf -n /usr/lib64/libgcrypt.so.20.4.1
Displaying notes found in: .note.fdo.integrity
  Owner                Data size 	Description
  FDO                  0x00000020	Unknown note type: (0x8e2afeca)

I assume this is just because the readelf does not know this type. I see this type was initially proposed by Daiki, but I did not find any other sources for this magic number so before filling bugs for readelf, do we have some doc why the 0xcafe2a8e is used?

Apr 8 2022, 9:33 PM · Bug Report, libgcrypt, FIPS
ikloecker created T5927: gpg: quick-gen-key and quick-add-uid require --check-trustdb to make trust in user ids "ultimate".
Apr 8 2022, 4:50 PM · Feature Request, gnupg, Bug Report
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).


gpgol.txt uploaded

Apr 8 2022, 4:19 PM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

Have you selected an Output file in a location where you can write files with your permissions?

Apr 8 2022, 2:56 PM · gpgol, Bug Report, gpg4win
JoeDoe1000 added a comment to T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).

I had already tried both, to deselct all other add-ins and to select all possible add-ins.
No change of the behaviour.

Apr 8 2022, 2:55 PM · gpgol, Bug Report, gpg4win
aheinecke triaged T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted) as Normal priority.

Could you please create a log file using the debug settings with Outlook Object Model debugging enabled?

Apr 8 2022, 2:27 PM · gpgol, Bug Report, gpg4win
JoeDoe1000 created T5926: GPGOL - Leere Nachricht kann nicht signiert werden (empty message email can't be signed or encrypted).
Apr 8 2022, 12:32 PM · gpgol, Bug Report, gpg4win
gniibe closed T5699: libgpg-error 1.43 fails t-lock-single-thread test on x86_64 with musl and macOS as Resolved.

libgpg-error 1.45 is out with the fix.

Apr 8 2022, 2:10 AM · gpgrt, Bug Report

Apr 7 2022

werner triaged T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime" as Normal priority.

The set_bit is obvious but we should cross check with the specs. In the non-fips mode we also try w/o a limit.

Apr 7 2022, 10:04 AM · backport, FIPS, libgcrypt, Bug Report
gniibe added projects to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime": libgcrypt, FIPS.

I think that it is OK to loop forever until we find a prime.

Apr 7 2022, 9:19 AM · backport, FIPS, libgcrypt, Bug Report
gniibe added projects to T5921: No sharing of log_fd between child process: gnupg (gpg23), Bug Report.
Apr 7 2022, 8:39 AM · Bug Report, gnupg (gpg23)
gniibe added projects to T5922: libgpg-error: gpgrt_log_get_fd always returns -1 even if it's not tcp/socket.: gpgrt, Bug Report.
Apr 7 2022, 8:38 AM · Bug Report, gpgrt

Apr 5 2022

gniibe added a comment to T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".

I don't know the exact procedure by FIPS, but just setting the least significant bit in the generation (after _gcry_mpi_randomize) can reduce the probability by half.

Apr 5 2022, 1:05 PM · backport, FIPS, libgcrypt, Bug Report
neverpanic created T5919: libgcrypt tests/basic.c and tests/keygen.c occasionally fail with "error generating RSA key: Number is not prime".
Apr 5 2022, 11:54 AM · backport, FIPS, libgcrypt, Bug Report
Jakuje created T5918: Disable RSA PKCS #1.5 encryption in FIPS mode.
Apr 5 2022, 10:31 AM · backport, libgcrypt, FIPS, Bug Report

Apr 4 2022

LRitzdorf added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

On at least some small terminals (like the smartphone size I mentioned in my original comment), I can confirm that this is a true loop. When originally reporting the issue, one of the things I tested was repeatedly pressing the Enter key with an empty password field. In that test, the password prompt looped for the 20 or so times I continued to press Enter.

Apr 4 2022, 12:22 AM · pinentry, Bug Report

Apr 1 2022

ikloecker added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

I experimented a bit. The problem is the size of button texts of the confirmation dialog, i.e. of "Yes, protection is not needed" and "Enter new passphrase". pinentry-curses checks if 3 times the size of the longest text plus a few pixels for the frame fit into the terminal's width. There can be up to 3 buttons, but in case there are only two buttons this check is too strict.

Apr 1 2022, 12:01 PM · pinentry, Bug Report
ikloecker added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

Hmm, okay. Trying the same on an 80x72 terminal I can indeed reproduce a loop. Sorry, for the noise.

Apr 1 2022, 10:53 AM · pinentry, Bug Report
ikloecker added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

Just one bit of additional information: Using gpg (GnuPG) 2.3.5-beta17 on a large terminal I just tried quick generating a new key with a fresh GNUPGHOME where I only set pinentry-program /usr/bin/pinentry-curses in ${GNUPGHOME}/gpg-agent.conf.

Apr 1 2022, 10:51 AM · pinentry, Bug Report
bernhard renamed T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals from pinentry: pinentry-curses doesn't allow to set no password or weak passwords on small terminals to pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.
Apr 1 2022, 9:30 AM · pinentry, Bug Report
bernhard added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

I don't see a point in trying to make the fancy curses pinentry work on small terminals.

Apr 1 2022, 9:29 AM · pinentry, Bug Report

Mar 31 2022

werner added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

There is also the very simple pinentry-tty

Mar 31 2022, 8:07 PM · pinentry, Bug Report
LRitzdorf added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

As an end user, the --pinentry-mode=loopback flag does exactly what I'd want to resolve this issue. Just to give it more visibility, is there any chance we could try to detect when the user's terminal is too small, and print a message suggesting they use that flag?

Mar 31 2022, 8:03 PM · pinentry, Bug Report
ikloecker added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

I don't see a point in trying to make the fancy curses pinentry work on small terminals. People using small terminals can use --pinentry-mode=loopback to get a simple passphrase prompt that works on terminals of any size.

Mar 31 2022, 7:09 PM · pinentry, Bug Report
bernhard added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

From my point of view it should be fixed by adding line-breaks to make it work on small terminals. It is better to break the formatting, but allow it, instead of bailing out and leaving the user only with the option to use the more complicated interface. This problem could also affect other password entries where a longer information is displayed.

Mar 31 2022, 5:16 PM · pinentry, Bug Report
bernhard added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

An alternative to password creation in small terminals could be https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html#Unattended-GPG-key-generation

Mar 31 2022, 5:14 PM · pinentry, Bug Report
bernhard renamed T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals from pinentry: pinentry-curses doesn't allow to set no password on small terminals to pinentry: pinentry-curses doesn't allow to set no password or weak passwords on small terminals.
Mar 31 2022, 5:12 PM · pinentry, Bug Report
bernhard added a comment to T4924: pinentry: pinentry-curses doesn't allow to set no password or weak passwords on 80 char width and smaller terminals.

@LRitzdorf it should work if you enter an acceptable passphrase. (I've just tried with 56x51 widthxheight and it worked)

Mar 31 2022, 5:11 PM · pinentry, Bug Report
gniibe added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

you also use the CPU cache size on GNU/Linux. Is it important to have that information on MS-Windows?

Mar 31 2022, 9:36 AM · backport, libgcrypt, Bug Report
werner added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

I don't like it either but the browser vendors don't like SRV records.

Mar 31 2022, 9:03 AM · wkd, gpg4win, Bug Report
wiktor-k added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

I still think that redirecting to another catch-all domain is contrary to the original goal and weakens the security model. We need to see what we can do about this.

Mar 31 2022, 8:27 AM · wkd, gpg4win, Bug Report
eliz added a comment to T5891: EOPNOTSUPP is not defined in mingw.org's MinGW, fails compilation of libgcrypt-1.10.0.

The attached patch implements getting the number of processors on MS-Windows.

Mar 31 2022, 8:18 AM · backport, libgcrypt, Bug Report
rainerh added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

Thank you, works now on Windows with openpgpkey.sanka-gmbh.de

Mar 31 2022, 7:08 AM · wkd, gpg4win, Bug Report

Mar 30 2022

Valodim added a comment to T5813: Locating Keys via WKD with gpg4win fails with unknown error..

Independently of that, it seems that gpg4win doesn't work with at least one widely deployed webserver in its default configuration, specifically Caddy, so this fix is well appreciated.

Mar 30 2022, 11:41 PM · wkd, gpg4win, Bug Report