Page MenuHome GnuPG
Feed All Stories

Jul 11 2023

aheinecke committed rWee066b42cfd7: Appimage: Add Qt5Qml to disabled package list (authored by aheinecke).
Appimage: Add Qt5Qml to disabled package list
Jul 11 2023, 11:35 AM
CarlSchwan added a comment to T6199: Kleopatra: MIME viewer support.

Current progress left being the qml version for Kalendar and right the QtWidget version for Kleopatra. This still require some work in the QtWidget viewer to display that the message is signed and encrypted

Jul 11 2023, 10:44 AM · Restricted Project, kleopatra
gniibe committed rG067bc2ed4c84: gpg: Move the check by is_secured_file earlier. (authored by gniibe).
gpg: Move the check by is_secured_file earlier.
Jul 11 2023, 6:54 AM
gniibe committed rG16d135c39648: common: Change iobuf_fdopen argument type to gnupg_fd_t. (authored by gniibe).
common: Change iobuf_fdopen argument type to gnupg_fd_t.
Jul 11 2023, 4:44 AM
gniibe committed rG250733c0d86d: common: Add gnupg_check_special_filename. (authored by gniibe).
common: Add gnupg_check_special_filename.
Jul 11 2023, 4:44 AM
gniibe committed rG37343db08f4a: common,gpg,kbx: Factor out open_stream_nc. (authored by gniibe).
common,gpg,kbx: Factor out open_stream_nc.
Jul 11 2023, 4:44 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA2dc41ad6b63b: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 11 2023, 3:52 AM

Jul 10 2023

aheinecke added a comment to T6570: Better performance with OCB encryption + sign.

So some more data from 2.4.3. Once unpatched and once with your patch.

Jul 10 2023, 8:20 PM · gnupg, Restricted Project
aheinecke committed rW1eb82575dbc4: NEWS, doc: Remove mention of brainpool transfer (authored by aheinecke).
NEWS, doc: Remove mention of brainpool transfer
Jul 10 2023, 5:00 PM
aheinecke committed rWae5f7122baed: Switch Kleopatra and libkleo to gpg4win/23.07 branch (authored by aheinecke).
Switch Kleopatra and libkleo to gpg4win/23.07 branch
Jul 10 2023, 4:10 PM
ikloecker committed rLIBKLEO6b9cb7077d26: Require 23.04 version of kpimtextedit (authored by ikloecker).
Require 23.04 version of kpimtextedit
Jul 10 2023, 3:32 PM
ikloecker committed rKLEOPATRA8f47fdeb8a89: Require KMime 5.23.0 (authored by ikloecker).
Require KMime 5.23.0
Jul 10 2023, 3:24 PM
ikloecker committed rKLEOPATRA495c5c2940a9: Require 23.04 version of kmime, don't require optional dependencies (authored by ikloecker).
Require 23.04 version of kmime, don't require optional dependencies
Jul 10 2023, 3:24 PM
ikloecker committed rKLEOPATRA25dc541df26f: Fix import from notepad (authored by ikloecker).
Fix import from notepad
Jul 10 2023, 3:08 PM
ikloecker added a comment to T6587: GpgME++ / QGpgME MSVC build.

One complication comes from the fact that gpgmepp and qgpgme include the global config.h that is generated by configure. This needs to be replaced. I'll attach two files where I grepped for usage of the config.h's #defines (generated on Linux) in lang/cpp and lang/qt. The files probably contain false positives.


Jul 10 2023, 2:07 PM · gpgme, Restricted Project
dvratil added a comment to T6587: GpgME++ / QGpgME MSVC build.

I was able to find the Craft blueprint with the CMake build system in my Win VM and pushed it to invent: https://invent.kde.org/packaging/craft-blueprints-kde/-/commit/5e9aae4d006f69657d3612c2fe398c9e5ae69ac0, feel free to use it for inspiration or base for future work, or ignore it completely :). It's probably far from a production-ready CMake script, some years ago I just really really *really* wanted to build KMail on Windows (don't ask why) so I did some unspeakable evils to make it happen. This is one of the better things that came out of it...

Jul 10 2023, 12:40 PM · gpgme, Restricted Project
aheinecke triaged T6587: GpgME++ / QGpgME MSVC build as Normal priority.
Jul 10 2023, 12:12 PM · gpgme, Restricted Project
ikloecker committed rWef6b5e098640: Add upstreamed patch for Okular (authored by ikloecker).
Add upstreamed patch for Okular
Jul 10 2023, 12:11 PM
ikloecker changed the status of T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension from Open to Testing.

With the added MIME types Kleopatra now suggests archive (1).tar.gpg as new file name, at least on Linux. Needs to be checked on Windows.

Jul 10 2023, 11:11 AM · kleopatra, Restricted Project
ikloecker committed rKLEOPATRA5ddb7b2861ff: Add MIME types for signed and encrypted archives (authored by ikloecker).
Add MIME types for signed and encrypted archives
Jul 10 2023, 11:09 AM
ikloecker claimed T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension.
Jul 10 2023, 10:47 AM · kleopatra, Restricted Project
ikloecker created T6586: Kleopatra: Automatic suggestion of new name for signed/encrypted archive doesn't respect file name extension.
Jul 10 2023, 10:47 AM · kleopatra, Restricted Project
gniibe committed rG5bc949d23040: common:w32: Fix gnupg_w32_set_errno. (authored by gniibe).
common:w32: Fix gnupg_w32_set_errno.
Jul 10 2023, 4:27 AM
gniibe committed rGa3be97df4ddf: common:w32: Fix gnupg_w32_set_errno. (authored by gniibe).
common:w32: Fix gnupg_w32_set_errno.
Jul 10 2023, 4:27 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA9454960c6d9c: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 10 2023, 4:00 AM

Jul 9 2023

mlaurent committed rKLEOPATRA5b9d0df492e2: Merge remote-tracking branch 'origin' into kf6 (authored by mlaurent).
Merge remote-tracking branch 'origin' into kf6
Jul 9 2023, 7:41 PM

Jul 8 2023

ikloecker committed rMbe0e653ce303: qt: Fix DLL version in cmake config files (authored by ikloecker).
qt: Fix DLL version in cmake config files
Jul 8 2023, 9:52 PM
ikloecker committed rMe3defc0adf68: qt: Ensure that we check the correct paths (authored by ikloecker).
qt: Ensure that we check the correct paths
Jul 8 2023, 9:52 PM
ikloecker committed rMad34fcbbec3f: qt: Fix check for required files (authored by ikloecker).
qt: Fix check for required files
Jul 8 2023, 9:52 PM
dvratil added a comment to T6459: KOrganizer: Invitations are not signed with GPG although signing is enabled by default.

Merged into master: https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/59 and should be available in Release 23.08.

Jul 8 2023, 5:08 PM · Restricted Project, KDE
dvratil closed T6520: KMail: invitations in decrypted messages not rendered as Resolved.

I had to fix it anyway in order to be able to provide screenshot for the latest blog post about encrypting invitations :)

Jul 8 2023, 5:07 PM · Restricted Project, KDE
dvratil closed T6520: KMail: invitations in decrypted messages not rendered, a subtask of T6459: KOrganizer: Invitations are not signed with GPG although signing is enabled by default, as Resolved.
Jul 8 2023, 5:07 PM · Restricted Project, KDE
l10n daemon script <scripty@kde.org> committed rKLEOPATRA2be91e19595f: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 8 2023, 5:47 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA659c5424163f: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 8 2023, 4:23 AM

Jul 7 2023

aheinecke committed rW8652c1af1921: Readd missing cmake requirement patch for Okular (authored by aheinecke).
Readd missing cmake requirement patch for Okular
Jul 7 2023, 4:32 PM
aheinecke committed rW1a47c539b298: Update okular config call (authored by aheinecke).
Update okular config call
Jul 7 2023, 3:57 PM
aheinecke committed rWf64bf38cd1b0: Update okular patches (authored by aheinecke).
Update okular patches
Jul 7 2023, 3:53 PM
werner committed rD1366b81bca33: blog: Add an upstream version note (authored by werner).
blog: Add an upstream version note
Jul 7 2023, 3:45 PM
aheinecke committed rWcb0a8b1ab1cf: Auto update PO files (authored by aheinecke).
Auto update PO files
Jul 7 2023, 3:31 PM
aheinecke committed rWc16f2583e24d: doc: Update README files (authored by aheinecke).
doc: Update README files
Jul 7 2023, 3:31 PM
werner committed rM546d3a982db7: Post release updates (authored by werner).
Post release updates
Jul 7 2023, 3:27 PM
werner committed rM5bf3e6d0754a: Release 1.21.0 (authored by werner).
Release 1.21.0
Jul 7 2023, 3:27 PM
aheinecke committed rWe51d8a0528bc: NEWS: Update spelling and language corrections (authored by aheinecke).
NEWS: Update spelling and language corrections
Jul 7 2023, 3:25 PM
aheinecke committed rW92877d6e523d: Update KDE Applications to latest (authored by aheinecke).
Update KDE Applications to latest
Jul 7 2023, 3:25 PM
aheinecke committed rW717942e8eec1: Update make-msi.guids from releasehost (authored by aheinecke).
Update make-msi.guids from releasehost
Jul 7 2023, 3:25 PM
aheinecke committed rWa32aa94def79: Update gpgol to 2.5.8 (authored by aheinecke).
Update gpgol to 2.5.8
Jul 7 2023, 3:25 PM
aheinecke committed rDc27efc7b9e11: swdb: release GpgOL 2.5.8 (authored by aheinecke).
swdb: release GpgOL 2.5.8
Jul 7 2023, 2:35 PM
werner added a comment to T6513: Kleopatra: Require GpgME 1.21.

See T6585 for the 1.21.0 release

Jul 7 2023, 2:16 PM · kleopatra, Restricted Project
werner set Due Date to Jan 8 2024, 12:00 AM on T6513: Kleopatra: Require GpgME 1.21.
Jul 7 2023, 2:15 PM · kleopatra, Restricted Project
werner closed T6463: Release GPGME 1.20.0 as Resolved.
Jul 7 2023, 2:13 PM · gpgme, Release Info
werner updated the task description for T6463: Release GPGME 1.20.0.
Jul 7 2023, 2:13 PM · gpgme, Release Info
werner closed T6585: Release GPGME 1.21.0 as Resolved.
Jul 7 2023, 2:13 PM · Release Info, gpgme
werner committed rWf35c05ef7ad7: Update to gpgme 1.21.0 (authored by werner).
Update to gpgme 1.21.0
Jul 7 2023, 2:08 PM
werner committed rDbf090e8312c3: swdb: gpgme 1.21.0 (authored by werner).
swdb: gpgme 1.21.0
Jul 7 2023, 2:05 PM
aheinecke committed rOba8e134bfb55: Post release version bump (authored by aheinecke).
Post release version bump
Jul 7 2023, 1:32 PM
aheinecke committed rO743d76ff4b77: Update NEWS for todays release (authored by aheinecke).
Update NEWS for todays release
Jul 7 2023, 1:32 PM
werner triaged T6585: Release GPGME 1.21.0 as Normal priority.
Jul 7 2023, 1:22 PM · Release Info, gpgme
werner added a comment to T6570: Better performance with OCB encryption + sign.

Am I correct that the reason for the speed up is that it can use a second CPU's engine. If there is a real performance improvement here, we should add this for example using a --compatibility-flag. This way we can gather experience and eventually make it the default. The compatibility flags won't introduce an API incompatibility.

Jul 7 2023, 1:17 PM · gnupg, Restricted Project
aheinecke committed rKLEOPATRAf40c3a3c4b12: Bump Kleopatra version to 3.1.28 (authored by aheinecke).
Bump Kleopatra version to 3.1.28
Jul 7 2023, 1:10 PM
aheinecke added a comment to T6561: OpenPGP benchmarks on Windows OCB vs. CFB + MDC vs. Unsigned vs. Signed on real data..

I found this important to do because the SHA-256 results from your test looked extremly slow.

Jul 7 2023, 12:22 PM · gnupg
aheinecke added a comment to T6561: OpenPGP benchmarks on Windows OCB vs. CFB + MDC vs. Unsigned vs. Signed on real data..

For comparison here are my benchmark results on the same system. Once on Linux 64 bit and once on W32 and once with W64. All runs are native to exclude any virtualization issues.

Jul 7 2023, 12:20 PM · gnupg
werner committed rG9f39e4da29fe: gpg: Add algo constants for PQC. (authored by werner).
gpg: Add algo constants for PQC.
Jul 7 2023, 10:23 AM
gniibe added a comment to T6570: Better performance with OCB encryption + sign.

Updated the patch:

Jul 7 2023, 7:07 AM · gnupg, Restricted Project
mlaurent committed rLIBKLEOe10157971b81: Merge remote-tracking branch 'origin' into kf6 (authored by mlaurent).
Merge remote-tracking branch 'origin' into kf6
Jul 7 2023, 7:04 AM
mlaurent committed rKLEOPATRA29e47b55c527: Merge remote-tracking branch 'origin' into kf6 (authored by mlaurent).
Merge remote-tracking branch 'origin' into kf6
Jul 7 2023, 7:02 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA31320f809ac5: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 7 2023, 3:56 AM

Jul 6 2023

ikloecker added a comment to T6199: Kleopatra: MIME viewer support.

I see little value in viewing emails in Okular. People often want to reply to emails so they need an email client anyway. Or shall Okular get a composer and save the composed email (of course with signing and encryption) to disk so that people can give their reply to their correspondents on a USB stick because that's more secure than using an email server? I suppose it makes sense for spies. ;-)

Jul 6 2023, 5:52 PM · Restricted Project, kleopatra
ikloecker added a comment to rKLEOPATRAd523249631de: Change default expiry to three years in Kleo, too.

Thanks! I thought about that when I saw Werner's change in gpg, but would probably have forgotten to actually change it in Kleopatra.

Jul 6 2023, 5:47 PM
CarlSchwan added a comment to T6199: Kleopatra: MIME viewer support.

Yes, this might make sense to have a library for the core parsing / reparsing part and then maybe some widgets in Libkleo that could be used to show the information. So that we could in theory create a small executable that just instantiates a libkleo widget to show a MIME mail and Kleopatra could use that then, too. But for clients like Kalendar which don't necessarily use QWidgets it is porbably better to have this split out.

Jul 6 2023, 5:43 PM · Restricted Project, kleopatra
ikloecker added a comment to T6532: Kleopatra: X509 import needs to be offline.

Note: The gpgsm engine of GpgME supports the offline flag (which maps to --disable-dirmngr) only for keylist operations. gpgsm_import doesn't even have an engine_flags argument.

Jul 6 2023, 4:10 PM · kleopatra, Restricted Project
aheinecke committed rW59288399196f: Add first draft of 4.2.0 NEWS (authored by aheinecke).
Add first draft of 4.2.0 NEWS
Jul 6 2023, 3:23 PM
ebo closed T6139: Kleopatra: Encrypting two files in an archive on a mounted network share on windows with one CPU never finishes as Resolved.

works, I did not encounter the issue following the description

Jul 6 2023, 3:08 PM · kleopatra, Restricted Project
ebo closed T6531: Gpgtar behavioral change when extracting archives as Resolved.

works. So gpgtar obviously knows about the filenames now, too

Jul 6 2023, 2:52 PM · Restricted Project, kleopatra, gpgtar
ebo closed T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename, a subtask of T5478: Kleopatra: Performance problems decrypting and encrypting large Archives, as Resolved.
Jul 6 2023, 2:45 PM · Restricted Project, gpgme, kleopatra
ebo closed T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename, a subtask of T6351: Kleopatra: Performance problems when encrypting large files, as Resolved.
Jul 6 2023, 2:45 PM · vsd33, Restricted Project, kleopatra
ebo closed T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename as Resolved.

as this task is for a technical restructuring task, which is obviously done and works, closing this ticket.

Jul 6 2023, 2:45 PM · gpgme, Restricted Project, kleopatra
ikloecker added a comment to T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind.

Note that Kleopatra has code that should take care of removing a left-over file. See also T6530#172608.

Jul 6 2023, 2:26 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
ebo closed T6524: Kleopatra / Gpgtar: Cancel does not kill the job as Resolved.

works, the processes are stopped.
For the removal of the unfinished archive on cancelling encryption see T6584.

Jul 6 2023, 2:06 PM · Restricted Project, kleopatra
ebo triaged T6584: Kleopatra / Gpgtar: Cancel on encrypt leaves a broken archive behind as Normal priority.
Jul 6 2023, 2:04 PM · vsd32 (vsd-3.2.0), Restricted Project, kleopatra
aheinecke committed rKLEOPATRAd523249631de: Change default expiry to three years in Kleo, too (authored by aheinecke).
Change default expiry to three years in Kleo, too
Jul 6 2023, 12:01 PM
aheinecke added a comment to T6582: GpgOL: set MIME Encoding hint for mime encrypted data..

I also thought that it might be useful to set the subject as filename (not the mime filename but the encrypted PGP filename)

Adding the patch for the record here I want to get the release out first before looking at this again.

Jul 6 2023, 11:38 AM · Restricted Project, kleopatra
ebo added a comment to T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename.

On the command line:

gpgtar -v --status-fd 2 -er Ted -s -o tt.tar.gpg tiefer_test

leaves a .tar.gpg file behind, too, if

  • you kill it with CTRL-C
  • if you call it without -s and stop the gpgtar.exe process in the task manager
  • if you call it with -s and give the correct password
Jul 6 2023, 11:29 AM · gpgme, Restricted Project, kleopatra
aheinecke added a comment to T6582: GpgOL: set MIME Encoding hint for mime encrypted data..

This does not seem to work as I understood it. Just naively adding a setEncoding(GPGME::MimeEncoding) on the output GPGME Data object resulted in an empty file. So this needs a bit more analysis.

Jul 6 2023, 11:24 AM · Restricted Project, kleopatra
ikloecker added a comment to T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename.

I'm wondering why I don't see something like

org.kde.pim.kleopatra: slotResult Removing output file ... after error or cancel

in the debug output. It should be output whenever the signing and/or encryption job ended with a non-zero error code and the output file exists. (See commit on 22 June).

Jul 6 2023, 11:23 AM · gpgme, Restricted Project, kleopatra
ebo added a comment to T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename.

On Windows the process is stopped but you end up with a too small archive.
If you cancel immediately (presumably as long as the file still has size 0) it is removed, though.

Jul 6 2023, 10:28 AM · gpgme, Restricted Project, kleopatra
svuorela added a comment to T6259: Kleopatra: Improve startup performance .

I did a little bit of testing with okular, and it kind of gives similar numbers.

Jul 6 2023, 9:56 AM · vsd32 (vsd-3.2.0), gnupg, kleopatra, Restricted Project
aheinecke triaged T6583: KMail: set MIME Encoding hint for mime encrypted data. as Normal priority.
Jul 6 2023, 9:44 AM · Restricted Project, kleopatra
aheinecke triaged T6582: GpgOL: set MIME Encoding hint for mime encrypted data. as Normal priority.
Jul 6 2023, 9:42 AM · Restricted Project, kleopatra
aheinecke reassigned T6199: Kleopatra: MIME viewer support from svuorela to CarlSchwan.

I started working on it. Current progress, I managed to move the mimetreeparser/partmodel from kalendar to libkleo and removed the few akonadi bits.

This will still more work to bring back the massive amount of unit tests. I'm also seriously considering to instead of moving this code to libkleo to instead create a new library with this and then have Kleopatra, kalendar, kube use it (and kmail too in the future but that would require a lot more work).

Jul 6 2023, 9:28 AM · Restricted Project, kleopatra
gniibe added a comment to T6570: Better performance with OCB encryption + sign.

This is a patch for master (which uses nPth for gpg):

Jul 6 2023, 9:18 AM · gnupg, Restricted Project
ebo added projects to T6436: Double pinentry on change password: Restricted Project, gnupg22.
Jul 6 2023, 9:11 AM · Feature Request, gnupg22, Restricted Project, gnupg24
gniibe committed rG8cacfce898f2: kbx: Fix memory leak at spawning a thread for data pipe. (authored by gniibe).
kbx: Fix memory leak at spawning a thread for data pipe.
Jul 6 2023, 9:03 AM
gniibe added a comment to T6570: Better performance with OCB encryption + sign.

I'm trying to use a thread for computation of hashing. It works, but no performance gain, due to nPth.
I do:

npth_unprotect ();
gcry_md_write (mfx->md, mfx->buf, mfx->written);
npth_protect ();

to expect hashing is done in parallel.

Jul 6 2023, 8:11 AM · gnupg, Restricted Project
gniibe committed rSbc53a3e54f6a: agent: Fix off-by-one error for the length of CMD buffer. (authored by gniibe).
agent: Fix off-by-one error for the length of CMD buffer.
Jul 6 2023, 7:29 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAdd54158c90e0: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 6 2023, 6:40 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA4b351705c537: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Jul 6 2023, 4:33 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA0c5f1000e9fb: SVN_SILENT made messages (.desktop file) - always resolve ours (authored by l10n daemon script <scripty@kde.org>).
SVN_SILENT made messages (.desktop file) - always resolve ours
Jul 6 2023, 4:13 AM
gniibe committed rG2abea42d9ce4: kbx: Use es_sysopen_nc instead of es_fdopen_nc. (authored by gniibe).
kbx: Use es_sysopen_nc instead of es_fdopen_nc.
Jul 6 2023, 3:27 AM
thesamesam added a comment to T6579: gnupg-2.4.3 build failure.

Thanks. Wouldn't that require OpenLDAP on every system with gnupg?

Jul 6 2023, 1:58 AM · gnupg24 (gnupg-2.4.4), Gentoo, Bug Report

Jul 5 2023

ikloecker added a comment to T6199: Kleopatra: MIME viewer support.

Kleopatra should autodetect email messages if passed on the command line or opened via the file dialog. I think Kleopatra should accept any email even if not encrypted. I'm not so sure whether Kleopatra should become an application that offers its service for any email messages if there are proper MIME types for MIME-encrypted or MIME-signed emails.

Jul 5 2023, 9:38 PM · Restricted Project, kleopatra