Page MenuHome GnuPG
Feed Advanced Search

Jun 12 2023

gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

To summarize, here is the situation:

  • Ideally, it would be good to modify GnuPG and Emacs EasyPG to implement status handling and input handling in better way.
Jun 12 2023, 2:13 AM · Emacs, gnupg, Bug Report

Jun 10 2023

thesamesam added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Ah, I see https://dev.gnupg.org/rG2f872fa68c6576724b9dabee9fb0844266f55d0d applies cleanly. I guess can go with that, although would prefer it if on the 2.4 branch.

Jun 10 2023, 11:00 PM · Emacs, gnupg, Bug Report
thesamesam added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Is there a commit we could backport downstream to 2.4.x? We've had quite a few reports of this.

Jun 10 2023, 10:56 PM · Emacs, gnupg, Bug Report

Jun 5 2023

werner added a comment to T2701: Do not let users create keys without an expiration date.

To align the default expiration time with the BSI approval and other related software we change this now to 3 years.

Jun 5 2023, 3:06 PM · Feature Request, gnupg (gpg22)

Jun 1 2023

gniibe added a comment to T6512: keyboxd with data pipe.

The problem of hang of tests/openpgp/multisig.scm is solved by rGef4f22b9d98b: gpg: Graceful exit for signature checking with --batch.
But the problem itself is not yet solved.

Jun 1 2023, 5:04 AM · gnupg26, Bug Report
gniibe added a comment to T6512: keyboxd with data pipe.

It is reproducible by testing tests/openpgp/multisig.scm with keyboxd enabled (it hangs), with the modification of following.

Jun 1 2023, 4:58 AM · gnupg26, Bug Report
gniibe created T6512: keyboxd with data pipe.
Jun 1 2023, 4:51 AM · gnupg26, Bug Report

May 31 2023

werner closed T6506: Release GnuPG 2.4.2 as Resolved.
May 31 2023, 8:48 AM · gnupg, Release Info

May 30 2023

werner updated the task description for T6506: Release GnuPG 2.4.2.
May 30 2023, 4:42 PM · gnupg, Release Info

May 26 2023

werner triaged T6506: Release GnuPG 2.4.2 as Normal priority.
May 26 2023, 3:37 PM · gnupg, Release Info
werner edited Description on gnupg.
May 26 2023, 10:05 AM
werner edited projects for T6250: GPG-Agent doesn't work properly with smart cards and ed25519 keys and SSH Agent, added: gnupg; removed gnupg24.
May 26 2023, 10:03 AM · gnupg, Documentation, ssh

May 24 2023

gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I pushed the change which keeps old status report behavior to master.
Let me test the change.

May 24 2023, 3:48 AM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

looks simpler to me.

May 24 2023, 3:24 AM · Emacs, gnupg, Bug Report

May 23 2023

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
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

Orthogonally, here is possible change for GnuPG, if we need to support the workaround of compress-level 0 in ~/.gnupg/gpg.conf.

May 23 2023, 2:11 PM · Emacs, gnupg, Bug Report
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

OK, here is my changes which always use make-temp-file (to avoid confusion between data input and passphrase input).

May 23 2023, 10:47 AM · Emacs, gnupg, Bug Report
gniibe claimed T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

I use epg.el with the change of removing the wait:

May 23 2023, 9:23 AM · Emacs, gnupg, Bug Report

May 17 2023

gniibe closed T6293: w32: putenv in Microsoft runtime doesn't support GNU extension as Resolved.
May 17 2023, 4:37 AM · gnupg, Bug Report

May 16 2023

ebo closed T2879: There is no way to selectively delete secret subkeys as Resolved.

Was resolved, see T4457

May 16 2023, 2:45 PM · gnupg, Feature Request

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

May 12 2023

gniibe added a comment to T6275: gnupg26: Improve gnupg_spawn_process function.

Pushed to GnuPG master. Let us test. For my machine of Debian GNU/Linux, Wine emulation (Windows 32-bit, Windows 64-bit), make check goes all well.
After confirming the implementation, I'd like to put it into gpgrt.

May 12 2023, 1:50 AM · gnupg, libassuan, gpgrt

May 9 2023

werner closed T2703: provide option to ignore expiration date as Resolved.

Will be in 2.4.2

May 9 2023, 8:18 AM · Feature Request, gnupg
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

fgunbin added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

@werner We could make the wait conditional on (equal epg-gpg-program "gpg"), that is, only when user has GnuPG 1.x.

May 8 2023, 4:54 PM · Emacs, gnupg, Bug Report
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
gniibe added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

The change rG60963d98cfd8: gpg: Detect already compressed data also when using a pipe. for T6332 introduce IOBUF_IOCTL_PEEK.

May 8 2023, 11:10 AM · Emacs, gnupg, Bug Report

May 7 2023

stardiviner added a comment to T6481: BEGIN_ENCRYPTION status output happens later in 2.4.1 (breaks Emacs's EasyPG).

@werner I tested by switch back to GnuPG 2.4.1 (I downgraded to 2.4.0 before to temporary work around issue), adding compress-level 0 to gpg.conf file. It's not working. The problem still exist.

May 7 2023, 5:09 PM · Emacs, gnupg, Bug Report

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
kloczek closed T4602: 2.2.16: test suite fails as Resolved.

Just checked 2.4.1 and looks like now everything is OK.

May 5 2023, 2:57 PM · Fedora, gnupg, Bug Report

Apr 28 2023

ebo closed T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before as Resolved.

works, Gpg4win-4.1.1-beta295

Apr 28 2023, 4:02 PM · gnupg22 (gnupg-2.2.42), Restricted Project

Apr 25 2023

gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

Sorry, the comment above is my misunderstanding.

Apr 25 2023, 6:42 AM · gnupg22 (gnupg-2.2.42), Restricted Project
gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

For importing key/subkey case, it doesn't matter if the smartcard is connected or not. The data in the file will be overwritten by import.

Apr 25 2023, 6:14 AM · gnupg22 (gnupg-2.2.42), Restricted Project

Apr 24 2023

ebo added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

This works if the smartcard with the same private key is not connected, which it usually shouldn't be (outside of testing situations) so that's ok for me.
But I think we should inform the user what is done or isn't.
Currently we get in both cases:

gpg: Anzahl insgesamt bearbeiteter Schlüssel: 1
gpg:                             unverändert: 1
gpg:              gelesene geheime Schlüssel: 1
gpg:            geheime Schlüssel importiert: 1

Which is not very clear in any case but in case the smart card is connected it is in fact wrong, there is no secret key imported, the keystub remains.

Apr 24 2023, 12:54 PM · gnupg22 (gnupg-2.2.42), Restricted Project

Apr 20 2023

werner edited projects for T6303: Release GnuPG 2.4.0, added: gnupg; removed gnupg24, gnupg (gpg23).
Apr 20 2023, 1:37 PM · gnupg, Release Info

Apr 18 2023

Guldrelokk added a comment to T6455: Bug in regexp library may lead to out-of-bounds read.

Another miscellaneous correction for jimregexp. A condition was copy-pasted from another section without the necessary changes, resulting in incorrect logic. This seems harmless apart from inconsistent error reporting.

diff --git a/regexp/jimregexp.c b/regexp/jimregexp.c
index 1a8b8aae6..1b6e1b49c 100644
--- a/regexp/jimregexp.c
+++ b/regexp/jimregexp.c
@@ -778,7 +778,7 @@ static int regatom(regex_t *preg, int *flagp)
                                                        preg->err = REG_ERR_NULL_CHAR;
                                                        return 0;
                                                }
-                                               if (start == '\\' && *pattern == 0) {
+                                               if (end == '\\' && *pattern == 0) {
                                                        preg->err = REG_ERR_INVALID_ESCAPE;
                                                        return 0;
                                                }
Apr 18 2023, 12:24 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
Guldrelokk created T6455: Bug in regexp library may lead to out-of-bounds read.
Apr 18 2023, 12:20 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Bug Report
gniibe changed the status of T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before from Open to Testing.

Pushed the change not including OK_TO_CHANGE_ERROR_BEHAVIOR part.
Note that the modification affects main key case, too.

Apr 18 2023, 2:59 AM · gnupg22 (gnupg-2.2.42), Restricted Project

Apr 17 2023

gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

To minimize the impact of the change, I updated:

diff --git a/g10/import.c b/g10/import.c
index 1ed40a63c..345e8cc75 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -2955,9 +2955,23 @@ do_transfer (ctrl_t ctrl, kbnode_t keyblock, PKT_public_key *pk,
 {
   gpg_error_t err;
   struct import_stats_s subkey_stats = {0};
+  int force = 0;
+  int already_exist = agent_probe_secret_key (ctrl, pk);
+
+#ifndef OK_TO_CHANGE_ERROR_BEHAVIOR
+  if (already_exist == 1)
+    return gpg_error (GPG_ERR_EEXIST);
+#endif
+  if (already_exist == 2)
+    {
+      if (!opt.quiet)
+        log_info (_("key %s: card reference is overridden by key material\n"),
+                  keystr_from_pk (pk));
+      force = 1;
+    }
Apr 17 2023, 4:05 AM · gnupg22 (gnupg-2.2.42), Restricted Project

Apr 14 2023

gniibe added a comment to T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.

Changes may be something like:

diff --git a/g10/import.c b/g10/import.c
index 1ed40a63c..91ff0c8ec 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -2706,6 +2706,20 @@ transfer_secret_keys (ctrl_t ctrl, struct import_stats_s *stats,
           goto leave;
         }
Apr 14 2023, 9:20 AM · gnupg22 (gnupg-2.2.42), Restricted Project
gniibe edited projects for T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before, added: Restricted Project; removed Info Needed.
Apr 14 2023, 8:07 AM · gnupg22 (gnupg-2.2.42), Restricted Project
gniibe merged T3391: cannot import subkey that was once marked to be on a card into T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.
Apr 14 2023, 8:05 AM · gnupg22 (gnupg-2.2.42), Restricted Project
gniibe merged task T3391: cannot import subkey that was once marked to be on a card into T3456: GPG does not import secret subkeys from --export-secret-subkeys output if subkey stubs existed before.
Apr 14 2023, 8:05 AM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report

Apr 13 2023

ebo added a comment to T3391: cannot import subkey that was once marked to be on a card.

isn't T3456 the same issue?

Apr 13 2023, 2:57 PM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report
ebo added a project to T3391: cannot import subkey that was once marked to be on a card: Restricted Project.
Apr 13 2023, 2:50 PM · Restricted Project, gpgagent, scd, gnupg, OpenPGP, Bug Report
gniibe closed T6239: gnugp 2.3.8 fails to build with --disable-ldap as Resolved.
Apr 13 2023, 3:37 AM · gnupg, Bug Report

Apr 12 2023

ebo moved T6347: gpgtar needs to support a few more general command line args to be usable by gpgme from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 12 2023, 2:52 PM · gnupg, Restricted Project

Apr 5 2023

ebo moved T5805: Kleopatra or GnuPG: Auto retrieve signers key from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 5 2023, 1:54 PM · gnupg, kleopatra, Restricted Project
ebo moved T6119: GnuPG: Compliance mode status omitted when decrypting combined symmetric and asymmetric data from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Apr 5 2023, 1:52 PM · gnupg, Restricted Project

Apr 3 2023

ebo added a comment to T2069: Passphrase prompts for each subkey, but not clear which dialog belongs to which subkey.

On gpg4win 4.1.0 (and GnuPG VSD 3.1.26) there are no longer password prompts for the subkeys when exporting (or making a backup from) secret keys.

Apr 3 2023, 2:52 PM · gnupg24, Bug Report

Mar 29 2023

werner closed T1971: LDAP: --refresh-keys is not implemented as Resolved.

This has been solved loooong ago.

Mar 29 2023, 9:18 AM · Bug Report, gnupg, dirmngr

Mar 24 2023

werner closed T6422: --rfc4880 not working in Gpg4win 4.1.0? as Resolved.

OCB mode (i.e. packet 20) is only used if the keys announce it. Thus only after moving a (private) key from GnuPG to a non-GnuPG compatible implementation you will run into this problem. The compatibility options won't override the preference system.

Mar 24 2023, 9:14 AM · OpenPGP, Support, gnupg
cklassen removed External Link on T6422: --rfc4880 not working in Gpg4win 4.1.0?.
Mar 24 2023, 8:59 AM · OpenPGP, Support, gnupg
cklassen created T6422: --rfc4880 not working in Gpg4win 4.1.0?.
Mar 24 2023, 8:58 AM · OpenPGP, Support, gnupg

Mar 20 2023

gniibe closed T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only as Resolved.

gpg-agent now supports READKEY --card command which creates stub file when it's not yet available on host computer.
It was implemented by rG82cbab906a3e: agent: Add --card option for READKEY.

Mar 20 2023, 3:38 AM · gnupg, Feature Request

Mar 13 2023

aheinecke changed the status of T6346: Kleopatra: Run self test only at the first start on windows, a subtask of T6259: Kleopatra: Improve startup performance , from Open to Testing.
Mar 13 2023, 10:01 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project

Mar 3 2023

werner closed T6390: ECC: Explain GnuPG's CV25519 key and its ECDH (comarison to X25519) as Resolved.

Thanks for the description; this is good for documentation.

Mar 3 2023, 8:25 AM · Support, Documentation, OpenPGP, gnupg

Mar 2 2023

ikloecker added a project to T6399: Missing trustdb check on import of certificate: gnupg.
Mar 2 2023, 6:38 PM · gnupg22 (gnupg-2.2.42), OpenPGP, Restricted Project
tennox added a comment to T6381: Option to set default encryption subkey.

That sounds like a great (and better) solution! Thank you for your attention & effort 👍🙏

Mar 2 2023, 3:08 PM · gnupg
werner closed T6381: Option to set default encryption subkey as Resolved.

See T6395 for the new feature. It will be released with 2.4.1 but it will take some time that it can actually be used because the other party needs to have an OpenPG implementation which supports this.

Mar 2 2023, 12:19 PM · gnupg

Feb 26 2023

werner closed T6389: gpgtar --encrypt doesn't accept absolute path to a directory (gpgtar: skipping invalid name) as Wontfix.

Please use

gpgtar -C /home/matt/data ....

instead of using an absolute name. This makes things much easier to implement in a secure way: You don't want to have absolute file names in the tarball and mapping them to relative names is not easy or even impossible in case of, say "/home/foo/x.data /home/bar/x.data". Keep in mind that gpgtar does also not handle symlinks and other special files.

Feb 26 2023, 7:25 PM · gnupg, Bug Report
werner closed T4436: gpgsm refuses to encrypt with failure to check CRL as Resolved.

I guess this is fixed with this commit for 2.2. and 2.4. Given that the report is quite old with not new infos since 2019, I'll close it.

Feb 26 2023, 7:17 PM · gnupg, S/MIME

Feb 23 2023

werner added a comment to T6381: Option to set default encryption subkey.

The reason why gpg does not encrypt to multiple subkeys is that the older subkeys are viewed as deprecated. You could write a tool which does a heuristic to check when the time is reached that no more messages are encrypted to an older subkey (or are used to decrypt archived mails). At that point you can take the private part of the old subkey offline.

Feb 23 2023, 8:57 AM · gnupg

Feb 22 2023

tennox added a comment to T6381: Option to set default encryption subkey.

Debian's wiki also speaks a lot about the advantages & dream of subkeys, but also mentions the caveat:

Feb 22 2023, 7:44 PM · gnupg
tennox added a comment to T6381: Option to set default encryption subkey.

I've read many articles mentioning the improved key handling when different devices just have different subkeys, thus allowing a semantic connection to a primary identity (instead of different "Identities" on different devices)

Feb 22 2023, 7:38 PM · gnupg
ikloecker added a comment to T6381: Option to set default encryption subkey.

What do you want to achieve by using multiple encryption subkeys? Do you realize that gpg will always encrypt to one subkey (unless you explicitely specify multiple subkeys), i.e. you won't be able to decrypt on device 1 what you have encrypted for device 2 and vice-versa. Usually, this makes little sense because it seems you want to be able to decrypt anything on your main machine.

Feb 22 2023, 11:44 AM · gnupg

Feb 21 2023

tennox added a comment to T6381: Option to set default encryption subkey.

Thanks for the reply :)

Feb 21 2023, 2:44 PM · gnupg
werner added a project to T6381: Option to set default encryption subkey: gnupg.

Sorry, I think you have to fix the other tools. The ! suffix has virtually been supported forever and any new option to do the same complicates the code and the documentation.

Feb 21 2023, 8:05 AM · gnupg

Feb 16 2023

ikloecker updated subscribers of T6377: Kleopatra: gpgsk file contains shadowed private key.
Feb 16 2023, 10:13 AM · kleopatra
ikloecker added a project to T6377: Kleopatra: gpgsk file contains shadowed private key: gnupg.

Kleopatra simply copies the content of the corresponding *.key file in the private-keys-v1.d folder. If the *.key file contains a shadowed key after issuing a KEYTOCARD --force [...] command followed by a SCD LEARN --force command (note the SCD!), then gpg-agent is to blame.

Feb 16 2023, 10:08 AM · kleopatra

Feb 15 2023

ikloecker closed T6348: gpgtar: Error when using --status-fd as Resolved.

Works now for gpgme. Thanks!

Feb 15 2023, 8:18 AM · gnupg, Restricted Project

Feb 14 2023

positron added a comment to T6370: Print diagnostics to explain certain expiration cases.

Understood. I appreciate the time you took to analyse the issue. Thanks.

Feb 14 2023, 6:27 PM · Feature Request, gnupg
werner renamed T6370: Print diagnostics to explain certain expiration cases from Impossible to change expiration date for some keys to Print diagnostics to explain certain expiration cases.
Feb 14 2023, 5:20 PM · Feature Request, gnupg
werner added a comment to T6370: Print diagnostics to explain certain expiration cases.

I guess this is the first time such a key was reported. Printing diagnostics would be a bit of work because the code to compute th. expiration time is deep in gpg's guts.

Feb 14 2023, 5:19 PM · Feature Request, gnupg
positron added a comment to T6370: Print diagnostics to explain certain expiration cases.

The first signature is a direct key signature (class 0x1f) and this determines the expiration time. The usual case is to have the expiration time in the user id signatures. Our code does not allow to chnage the expiration time of direct key signature. This is because direct key signature are used by PGP and GnuPG only to add designated revokers. Gpg has no means to create a direct key signature like you have in your key.

Feb 14 2023, 10:39 AM · Feature Request, gnupg
werner edited projects for T6370: Print diagnostics to explain certain expiration cases, added: gnupg, Not A Bug; removed Bug Report.
Feb 14 2023, 10:10 AM · Feature Request, gnupg

Feb 8 2023

gniibe reopened T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG. as "Open".

Sorry, I mistakenly closed this task. I reopen it.

Feb 8 2023, 2:45 AM · Support, gnupg, OpenPGP

Feb 7 2023

gniibe closed T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG. as Resolved.

Could it be the case that your implementation actually used those bits to calculate a public key?

Feb 7 2023, 11:39 AM · Support, gnupg, OpenPGP

Feb 3 2023

onickolay added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

Sorry for a bit late follow up. How do you calculate a public key? RNP's crypto backend, Botan, is calculating public key without taking in account bits which should be tweaked. I.e. both tweaked and non-tweaked secret keys would produce the same public key. The same is with decryption. Could it be the case that your implementation actually used those bits to calculate a public key?

Feb 3 2023, 12:39 PM · Support, gnupg, OpenPGP

Jan 31 2023

werner added a project to T5768: Dirmngr: Use windows proxy settings if system proxy settings should be used: Feature Request.
Jan 31 2023, 10:07 AM · Feature Request, gnupg, Restricted Project

Jan 26 2023

werner triaged T6233: Extract Card Holder Information for the PIV card from the "Printed Information" Object as Low priority.
Jan 26 2023, 11:26 AM · gnupg, scd, Feature Request

Jan 19 2023

werner moved T6348: gpgtar: Error when using --status-fd from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 19 2023, 4:21 PM · gnupg, Restricted Project
werner added a comment to T6332: GPG: Extend / rework "is_file_compressed".

The compression check currently detects bzip2, gzip, zip, pkzip, and PDF. This also covers common document formats like odt and docx. We may add some more detection in the future. However, for large files you usually know their type and thus you better use "-z0" for already compressed data or "-z-1" if you want to force compression (may be for PDFs which often can be a shrinked to 80% or so).

Jan 19 2023, 10:49 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project

Jan 18 2023

bigmomma added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

So here is a redacted CLI-dump of the exact sequence I'm describing in my post. This is with untweaked keys and gpg 2.2.40 and a factory-reset yubikey.

Jan 18 2023, 6:30 PM · Support, gnupg, OpenPGP
bigmomma added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

So in case this was not clear... What I'm describing is very similar to the original description, but it is "inverted" - the untweaked key works flawlessly (import and decryption) except for keytocard. And the tweaked key can't be imported - either "Bad Secret Key" or asking for passphrase.

Jan 18 2023, 3:38 PM · Support, gnupg, OpenPGP
aheinecke added a comment to T6259: Kleopatra: Improve startup performance .

I am somehwat confused, my symantec system got faster. But there are some things like "Symantec Insight" which will whitelist often used files and applications, also signed files might get preferred treatment. I tried to get this slower by disabling the "Insight" and changing the "Bloodhound behavior" to agressive... So timings might not be comparable. I should probably do tests ohne without restarting my systems for a good comparison.

Jan 18 2023, 3:36 PM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
bigmomma added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

@onickolay Yes, I have. I have used --check-cv25519-bits and it said that it needs patching. I then did --fix-cv25519-bits and exported the key. Looking at the CV25519 private-key bytes produced by my code and by RNP, I confirmed that they did the exact same transformation.
When trying to re-import the exported key into gpg, I got the "Bad Secret Key" error again

Jan 18 2023, 3:27 PM · Support, gnupg, OpenPGP
onickolay added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

@bigmomma Just for a quick check - did you try to use RNP's CLI command --edit-key --fix-cv25519-bits, as it's not clear from the message?

Jan 18 2023, 3:17 PM · Support, gnupg, OpenPGP
bigmomma added a comment to T5464: Failure to import Curve25519 ECDH secret subkey to the GnupG..

Hi! I would like to chime in on this issue as I am having some weird problems with a CV25519 sub-key and after stumbling upon this thread, I think it is related to this.
Unfortunately, I can't post the key material here, because it is my actual encryption private-key.

Jan 18 2023, 3:12 PM · Support, gnupg, OpenPGP
werner changed the status of T6348: gpgtar: Error when using --status-fd from Open to Testing.

This can be easily tested using

Jan 18 2023, 10:47 AM · gnupg, Restricted Project
werner moved T6348: gpgtar: Error when using --status-fd from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 18 2023, 10:45 AM · gnupg, Restricted Project
aheinecke moved T6259: Kleopatra: Improve startup performance from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 18 2023, 10:17 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
ikloecker triaged T6348: gpgtar: Error when using --status-fd as High priority.
Jan 18 2023, 9:57 AM · gnupg, Restricted Project
ikloecker closed T6347: gpgtar needs to support a few more general command line args to be usable by gpgme as Resolved.

Instead of using --enable-special-filenames and a separate FD the list of files is now passed to gpgtar's stdin. Similarly, we read from gpgtar's stderr instead of using a separate --logger-fd.

Jan 18 2023, 9:50 AM · gnupg, Restricted Project

Jan 13 2023

ikloecker added a comment to T6347: gpgtar needs to support a few more general command line args to be usable by gpgme.

What about --logger-fd? Does gpgtar pass all FDs through to gpg?

Jan 13 2023, 12:04 PM · gnupg, Restricted Project
ikloecker added a comment to T6347: gpgtar needs to support a few more general command line args to be usable by gpgme.

Okay, I'll skip those for now.

Jan 13 2023, 12:02 PM · gnupg, Restricted Project
werner added a comment to T6347: gpgtar needs to support a few more general command line args to be usable by gpgme.

no-tty and charset are anyway obsolete and passed only for older gpg versions. The other things should have useful defaults in gpg - in particular these defaults are taken from the same envvar as gpgme does. See send_pinentry_environment.

Jan 13 2023, 10:14 AM · gnupg, Restricted Project
ikloecker triaged T6347: gpgtar needs to support a few more general command line args to be usable by gpgme as High priority.
Jan 13 2023, 10:03 AM · gnupg, Restricted Project

Jan 11 2023

aheinecke added a comment to T6259: Kleopatra: Improve startup performance .

Another thing I have noticed when turning qt debug output on is that the qt windows platformsupport fontdatabase logs over a a timespan of over two seconds that it is adding fonts to its database.

Jan 11 2023, 5:04 PM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
aheinecke closed T6260: gpgconf: Analyze timing on Windows, a subtask of T6259: Kleopatra: Improve startup performance , as Resolved.
Jan 11 2023, 2:54 PM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project