Page MenuHome GnuPG
Feed All Stories

Jan 20 2023

cklassen added a comment to T6332: GPG: Extend / rework "is_file_compressed".

On the mailing list I wrote down my test results for en- and decrypting files (1-10 GB) with GnuPG and Gpg4win/Kleopatra. The encryption always ran with compression. Kleopatra needed more than 11 minutes to encrypt a file that is 10 GB big. Today I tested the encryption again but this time I added

compress-level 0

to gpg.conf (I also tried to add bzip2-compress-level 0 and then only compress-algo uncompressed because Bernhard was suggesting that in the mailing list but it made no difference).

Jan 20 2023, 10:31 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner committed rG33b6ee5047c8: wkd: Support option --output for command --check. (authored by werner).
wkd: Support option --output for command --check.
Jan 20 2023, 9:14 AM
werner committed rGc0a6b6b2d752: doc: Update copyright notices. (authored by werner).
doc: Update copyright notices.
Jan 20 2023, 9:14 AM
mlaurent committed rLIBKLEO59e7c3a327d6: Rename KF5_MIN_VERSION to KF_MIN_VERSION (authored by mlaurent).
Rename KF5_MIN_VERSION to KF_MIN_VERSION
Jan 20 2023, 8:36 AM
mlaurent committed rKLEOPATRA28691e4a4bba: Rename KF5_MIN_VERSION to KF_MIN_VERSION (authored by mlaurent).
Rename KF5_MIN_VERSION to KF_MIN_VERSION
Jan 20 2023, 8:33 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA44ce4fc5cc92: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jan 20 2023, 3:24 AM

Jan 19 2023

werner removed a project from T4588: gpg-agent should guess pinentry's full path (using $PATH) if `pinentry-program` does not supply a full path: gnupg (gpg23).
Jan 19 2023, 4:52 PM · gnupg24, gpgagent
werner removed a project from T4537: gpgsm support for timestamp signatures: gnupg (gpg23).
Jan 19 2023, 4:52 PM · gnupg24, S/MIME, Feature Request
werner removed a project from T4446: please add --quick-revoke-subkey: gnupg (gpg23).
Jan 19 2023, 4:52 PM · Restricted Project, gnupg24, Feature Request
werner removed a project from T4443: IPv6 address with scope not accepted as keyserver: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, dirmngr, dns, Bug Report
werner removed a project from T4422: `repair-keys` does not reorder signatures on non-merge imports: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, Bug Report
werner removed a project from T4406: Allow the use of the default-new-key-algo format for --quick-gen-key.: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, Feature Request
werner removed a project from T4346: Remove gpg-agent passphrase nags for empty / none passphrase: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, gpg4win, pinentry
werner removed a project from T3921: Make adding an arbitrary (sub)key easier: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, Feature Request
werner removed a project from T3902: Use the term password instead of passphrase: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, FAQ, Documentation
werner removed a project from T3753: Bad self-signatures and missing subkey usage flags when creating ECDSA/Ed25519 keys in batch mode: gnupg (gpg23).
Jan 19 2023, 4:51 PM · gnupg24, Bug Report
werner removed a project from T3730: Add support to HTTP Basic Auth for Keyservers: gnupg (gpg23).
Jan 19 2023, 4:50 PM · gnupg24, Feature Request
werner updated the task description for T2760: Populate comment field when exporting authentication key for SSH.
Jan 19 2023, 4:50 PM · gnupg24, ssh, Feature Request
werner removed a project from T3513: Change of trust of new uid not immediately reflected in user interface: gnupg (gpg23).
Jan 19 2023, 4:50 PM · gnupg24, OpenPGP, Feature Request
werner updated the task description for T2337: gpg command line language wrong.
Jan 19 2023, 4:50 PM · gnupg24, Feature Request, gpg4win
werner updated the task description for T2290: Allow gpgv2 to use armored GPG keys as keyring file with trusted keys.
Jan 19 2023, 4:49 PM · gnupg24, Feature Request
werner removed a project from T5556: Use of offsetof is better for allocation of flexible array: gnupg (gpg23).
Jan 19 2023, 4:49 PM · gnupg24, gpgme, libgcrypt
werner removed a project from T5590: OpenPGP: Curve 448, modernize?: gnupg (gpg23).
Jan 19 2023, 4:49 PM · rationale, gnupg, OpenPGP
werner removed a project from T5649: Issue better error message for invalid OpenPGP RSA keys: gnupg (gpg23).
Jan 19 2023, 4:49 PM · gnupg24, OpenPGP, Feature Request
werner archived gnupg (gpg23).
Jan 19 2023, 4:48 PM
werner updated the task description for T2186: --encrypt-to ambiguous with a expired and revoked key.
Jan 19 2023, 4:48 PM · gnupg24, Feature Request
werner removed a project from T5804: Using empty passphrase key pair, gpg2.3.4 fails to decrypt with error "No passphrase given" on a gpg1.4/2.0 keyring format even though the secret keys migration was successful : gnupg (gpg23).
Jan 19 2023, 4:48 PM · gnupg24, Bug Report
werner removed a project from T5837: gpg-card: Authenticate to PIV applet with non-3DES card management key: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg24, scd, Feature Request
werner removed a project from T5897: Fix MinGW compilation error with 'struct _stat32' in common/sysutils.c from gnupg-2.3.4: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg24, toolchain, Feature Request, patch
werner removed a project from T5930: Use the FIPS-compatible digest&sign API: gnupg (gpg23).
Jan 19 2023, 4:47 PM · FIPS, Feature Request
werner removed a project from T5964: gnupg should use the KDFs implemented in libgcrypt: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg26, FIPS, libgcrypt, Feature Request
werner removed a project from T5995: Better prompt with SETKEYDESC: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg24, ssh, gpgagent, scd
werner removed a project from T6020: Make %-expandos available for --default-keyserver-url: gnupg (gpg23).
Jan 19 2023, 4:47 PM · gnupg24, Feature Request, Keyserver
werner removed a project from T5998: Extend gpg-check-patter to return a description: gnupg (gpg23).
Jan 19 2023, 4:46 PM · gnupg24, Feature Request, Restricted Project, gpgagent
werner removed a project from T6014: Failed to search on certificate server. The error returned was: Syntax error in URI.: gnupg (gpg23).
Jan 19 2023, 4:46 PM · gnupg24, dirmngr, Bug Report
werner removed a project from T6023: Check how GnuPG handles several keys from WKD: gnupg (gpg23).
Jan 19 2023, 4:46 PM · gnupg24, g10, common, Documentation, wkd
werner removed a project from T6040: Allow embedding preferred keyserver URL in signatures: gnupg (gpg23).
Jan 19 2023, 4:46 PM · gnupg24, Feature Request, Keyserver
werner removed a project from T6052: gnupg2 tpm2d tests do not work: gnupg (gpg23).
Jan 19 2023, 4:46 PM · gnupg24 (gnupg-2.4.4), Tests, TPM, Bug Report
werner removed a project from T6191: FIPS: Supporting running FIPS enabled machine: gnupg (gpg23).
Jan 19 2023, 4:45 PM · gnupg24, FIPS, Bug Report
werner removed a project from T6254: Warn in --recv-keys verbose output that no keys have been imported: gnupg (gpg23).
Jan 19 2023, 4:45 PM · gnupg24, Keyserver, Bug Report
werner removed a project from T6135: Agent, P15: Insert Smartcard query uses serial number instead of $DISPSERIALNO: gnupg (gpg23).
Jan 19 2023, 4:45 PM · gnupg24 (gnupg-2.4.3), scd
werner removed a project from T6145: USB device detection by scdaemon: gnupg (gpg23).
Jan 19 2023, 4:45 PM · gnupg24, scd
werner removed a project from T6179: gnupg 2.3.7 broke YubiKey support: DBG: Curve with OID not supported: 2b06010401da470f01: gnupg (gpg23).
Jan 19 2023, 4:44 PM · gnupg24, scd, Bug Report
werner removed a project from T6212: The ssh keys are no longer returned in the order from control file after T5996: gnupg (gpg23).
Jan 19 2023, 4:44 PM · gnupg24 (gnupg-2.4.1), ssh, Feature Request
werner removed a project from T6218: Using Yubikey with GnuPG+scdaemon and PKCS11 over pcscd errors: gnupg (gpg23).
Jan 19 2023, 4:44 PM · gnupg24, scute, scd, Bug Report
werner removed a project from T6235: Problem editing Expiration Time: gnupg (gpg23).
Jan 19 2023, 4:44 PM · gnupg24, Feature Request
werner removed a project from T6250: GPG-Agent doesn't work properly with smart cards and ed25519 keys and SSH Agent: gnupg (gpg23).
Jan 19 2023, 4:44 PM · gnupg, Documentation, ssh
werner removed a project from T6234: Implement access to smartcards via a generic pkcs#11 interface: gnupg (gpg23).
Jan 19 2023, 4:44 PM · Restricted Project, gnupg26, Feature Request, scd
werner edited projects for T4921: Support import of PKCS#12 encoded ECC private keys., added: gnupg22; removed gnupg (gpg22).
Jan 19 2023, 4:42 PM · gnupg22 (gnupg-2.2.42), backport, Feature Request, S/MIME
werner closed T6067: dirmngr 2.2 does not ask keyservers for fingerprints, a subtask of T5741: dirmngr does not ask keyservers for fingerprints, as Resolved.
Jan 19 2023, 4:41 PM · Restricted Project, dirmngr
werner closed T6067: dirmngr 2.2 does not ask keyservers for fingerprints as Resolved.
Jan 19 2023, 4:41 PM · gnupg (gpg22), Restricted Project, dirmngr
werner closed T6067: dirmngr 2.2 does not ask keyservers for fingerprints, a subtask of T6042: Cannot search on keyserver from kleopatra 3.1.22 inside an AppImage of GnuPG Desktop or GnuPG VS Desktop, as Resolved.
Jan 19 2023, 4:41 PM · AppImage, gpg4win, Bug Report
werner closed T6238: regexp for trust signature domain restriction does not work if key only has an e-mail address as Resolved.
Jan 19 2023, 4:41 PM · backport, gnupg (gpg22), Bug Report, Restricted Project
werner closed T6244: GnuPG: GnuPG 2.2.40 LTS FTBFS against new Libgpg-error 1.46 as Resolved.
Jan 19 2023, 4:40 PM · Windows, gnupg (gpg22), Bug Report
werner moved T6263: Allow OCB encryption in 2.2 from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 19 2023, 4:39 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request
werner moved T6263: Allow OCB encryption in 2.2 from Backlog to QA on the gnupg22 board.
Jan 19 2023, 4:39 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request
werner edited projects for T6263: Allow OCB encryption in 2.2, added: gnupg22; removed gnupg (gpg22).
Jan 19 2023, 4:39 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request
werner closed T4394: Use I/O callbacks in gpgtar as Resolved.

Release quite some time ago.

Jan 19 2023, 4:38 PM · gnupg (gpg22), gpgtar
werner edited projects for T5795: Kleopatra reader selection and quoting, added: gnupg22; removed gnupg (gpg22).
Jan 19 2023, 4:37 PM · gnupg22, Restricted Project, kleopatra
werner edited projects for T6253: GpgSM: Backport ECC support to 2.2, added: gnupg22; removed gnupg (gpg22).
Jan 19 2023, 4:35 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request, S/MIME
werner moved T6253: GpgSM: Backport ECC support to 2.2 from Backlog to For next release on the gnupg (gpg22) board.
Jan 19 2023, 4:34 PM · gnupg22 (gnupg-2.2.42), Restricted Project, Feature Request, S/MIME
werner committed rGe28b6c301d0b: doc: Revert last change the gpg --unwrap description (authored by werner).
doc: Revert last change the gpg --unwrap description
Jan 19 2023, 4:31 PM
ebo created T6350: Kleopatra: disable trust change on not certified keys.
Jan 19 2023, 4:31 PM · Feature Request, kleopatra, Restricted Project
werner moved T6332: GPG: Extend / rework "is_file_compressed" from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 19 2023, 4:22 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner moved T6332: GPG: Extend / rework "is_file_compressed" from WiP to QA on the gnupg22 board.
Jan 19 2023, 4:21 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), 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 19 2023, 4:21 PM · gnupg, Restricted Project
werner committed rG6df8a513dc04: common: Detect PNG and JPEG file formats. (authored by werner).
common: Detect PNG and JPEG file formats.
Jan 19 2023, 4:19 PM
werner committed rGce8ffd71b724: gpg: Detect already compressed data also when using a pipe. (authored by werner).
gpg: Detect already compressed data also when using a pipe.
Jan 19 2023, 4:19 PM
werner committed rGca822a233999: common: Replace all assert in iobuf by log_assert. (authored by werner).
common: Replace all assert in iobuf by log_assert.
Jan 19 2023, 4:19 PM
werner committed rG417e8588f3ef: gpgtar: Make --status-fd option for fds > 2 work (authored by werner).
gpgtar: Make --status-fd option for fds > 2 work
Jan 19 2023, 4:19 PM
werner edited projects for T1825: Add a re-encrypt to additional key, added: gnupg24; removed gnupg.
Jan 19 2023, 3:32 PM · Restricted Project, gnupg24, Feature Request
aheinecke added a comment to T6332: GPG: Extend / rework "is_file_compressed".

Great! But as mentioned I would like to have a setting in Kleo to explicitly disable compression, GPGME_ENCRYPT_NO_COMPRESS. But that is a different task.

Jan 19 2023, 12:16 PM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner committed rG9a50be0d05c9: common: Detect PNG and JPEG file formats. (authored by werner).
common: Detect PNG and JPEG file formats.
Jan 19 2023, 11:28 AM
werner edited projects for T6334: Remove or explain sha1sum in announcement mails, added: dev.gnupg.org; removed gnupg24.
Jan 19 2023, 10:55 AM · dev.gnupg.org, Feature Request
werner changed the status of T6332: GPG: Extend / rework "is_file_compressed" from Open to Testing.
Jan 19 2023, 10:54 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner moved T6332: GPG: Extend / rework "is_file_compressed" from Backlog to WiP on the gnupg22 board.
Jan 19 2023, 10:54 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner edited projects for T6332: GPG: Extend / rework "is_file_compressed", added: gnupg24, gnupg22; removed gnupg.
Jan 19 2023, 10:54 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
werner committed rG227c78ce0e4d: wkd: Let gpg-wks-client --supported print some diagnostics. (authored by werner).
wkd: Let gpg-wks-client --supported print some diagnostics.
Jan 19 2023, 10:53 AM
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
werner committed rG60963d98cfd8: gpg: Detect already compressed data also when using a pipe. (authored by werner).
gpg: Detect already compressed data also when using a pipe.
Jan 19 2023, 10:48 AM
werner committed rG94ae43be3636: common: Replace all assert by log_assert. (authored by werner).
common: Replace all assert by log_assert.
Jan 19 2023, 10:48 AM
werner closed T6349: need to add the judgment of invalid handles in _gcry_md_ctl? as Wontfix.

Sorry, but we can't check all parameters. Why only check that one and not the others or invalid values for ctx. You may do such checks in an interactive environment but not for a general library.

Jan 19 2023, 9:27 AM · libgcrypt

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
ikloecker added a comment to T4066: Kleopatra, performance: Use icons as a resource.

The timestamp problem may be fixed by moving the line

File ${prefix}/share/icons/breeze/icon-theme.cache

(and any other lines installing an icon-theme.cache) at the end of inst-breeze-icons.nsi (or the corresponding inst-*.nsi file).

Jan 18 2023, 6:09 PM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
ikloecker added a comment to T4066: Kleopatra, performance: Use icons as a resource.

I just learned that

Qt will make use of GTK's icon-theme.cache if present to speed up the lookup.

https://doc.qt.io/qt-5/qicon.html#fromTheme

Jan 18 2023, 6:01 PM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
aheinecke added a comment to T4066: Kleopatra, performance: Use icons as a resource.

So on Linux, this looks quite differently.

Jan 18 2023, 4:53 PM · vsd32 (vsd-3.2.0), gpg4win, kleopatra
aheinecke claimed T6344: Kleopatra, GPG: AboutData ctor on Windows takes too long.

I would like to take this on myself by creating a gpgversioninfo class which will have signal / slot based API for both the SWDB Query and the version checks, both currently delay the startup too much.

Jan 18 2023, 4:29 PM · vsd32 (vsd-3.2.0), kleopatra, Restricted Project
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
bernhard updated subscribers of T6297: PyPI GPG package.

Yes I am an admin on the https://pypi.org/project/gpg/ package.

Jan 18 2023, 2:27 PM · gpgme
aheinecke moved T6338: kleo: Japanese Translation from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jan 18 2023, 12:23 PM · Restricted Project, kleopatra, Bug Report
aheinecke changed the status of T6338: kleo: Japanese Translation, a subtask of T6337: libkleo: Japanese Translation, from Open to Testing.
Jan 18 2023, 12:23 PM · kleopatra, Bug Report
aheinecke changed the status of T6338: kleo: Japanese Translation from Open to Testing.

Commited with revision 1642622.

Jan 18 2023, 12:23 PM · Restricted Project, kleopatra, Bug Report
aheinecke closed T6337: libkleo: Japanese Translation as Resolved.

I am closing this now, as we now should have complete kleopatra translation and can just move one of them to testing.

Jan 18 2023, 12:21 PM · kleopatra, Bug Report
zhengxiaoxiaoGithub added a comment to T6349: need to add the judgment of invalid handles in _gcry_md_ctl?.

Jan 18 2023, 11:10 AM · libgcrypt
zhengxiaoxiaoGithub created T6349: need to add the judgment of invalid handles in _gcry_md_ctl?.
Jan 18 2023, 11:09 AM · libgcrypt
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