Page MenuHome GnuPG
Feed All Stories

Feb 17 2023

ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

If 3.1.26 only offers RSA algos, then Kleopatra obviously assumes that the smart card only supports RSA and therefore doesn't offer the transfer of Brainpool keys.

Feb 17 2023, 11:24 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ebo added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

I'm sorry, I got a bit confused, it works in Kleopatra on 3.2.0, but not in 3.2.26

Feb 17 2023, 9:47 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner triaged T6377: Kleopatra: gpgsk file contains shadowed private key as High priority.
Feb 17 2023, 7:55 AM · kleopatra
werner triaged T6378: keytocard: invalid value as Normal priority.
Feb 17 2023, 7:54 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner triaged T6379: Kleopatra: Brainpool key can not be moved to smart card as High priority.
Feb 17 2023, 7:54 AM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner added projects to T6378: keytocard: invalid value: gnupg22, Bug Report.
Feb 17 2023, 7:53 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
l10n daemon script <scripty@kde.org> committed rKLEOPATRAe350b56631b9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 17 2023, 4:21 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAfb5130c4ffc9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 17 2023, 3:20 AM

Feb 16 2023

ikloecker added a comment to T6379: Kleopatra: Brainpool key can not be moved to smart card.

Which algorithms are offered when you use "Regenerate Key"? What's the output of gpg -K --with-colon <key_id>?

Feb 16 2023, 6:18 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
werner triaged T6369: gpgme: add a faster variant of gpgme_get_key() as High priority.
Feb 16 2023, 6:12 PM · gpgme, Feature Request
werner claimed T6375: gpg-agent race-condition with parallel clients.

Thanks. please give a few days.

Feb 16 2023, 6:11 PM · gnupg24, gpgagent, Bug Report
werner committed rG3d094e2bcf6c: gpg: New option --add-desig-revoker (authored by werner).
gpg: New option --add-desig-revoker
Feb 16 2023, 6:10 PM
werner committed rG49fe6a2821f3: doc: Put the Unattended Usage of GPG section also into the man page. (authored by werner).
doc: Put the Unattended Usage of GPG section also into the man page.
Feb 16 2023, 6:10 PM
dmlary added a comment to T6375: gpg-agent race-condition with parallel clients.

created ~/.gnupg/gpg-agent.conf containing:

debug ipc,cache
debug-pinentry
log-file socket://
Feb 16 2023, 5:06 PM · gnupg24, gpgagent, Bug Report
aheinecke committed rO503ee571f092: Return E_FAIL when cancelling write event (authored by aheinecke).
Return E_FAIL when cancelling write event
Feb 16 2023, 4:36 PM
aheinecke committed rO9f798b2e0612: Remove -O0 from hardening flags (authored by aheinecke).
Remove -O0 from hardening flags
Feb 16 2023, 4:36 PM
werner committed rGf118e3b101ca: gpg: --gen-random code cleanup by using es_set_binary. (authored by werner).
gpg: --gen-random code cleanup by using es_set_binary.
Feb 16 2023, 1:46 PM
werner committed rG1d6ed0a1b4e1: gpg: --gen-random code cleanup by using es_set_binary. (authored by werner).
gpg: --gen-random code cleanup by using es_set_binary.
Feb 16 2023, 1:46 PM
werner committed rGaf9a1b5599f9: agent: Do not consider --min-passphrase-len for the magic wand. (authored by werner).
agent: Do not consider --min-passphrase-len for the magic wand.
Feb 16 2023, 1:46 PM
werner committed rG1d8191faee59: gpg: Add level 16 to --gen-random (authored by werner).
gpg: Add level 16 to --gen-random
Feb 16 2023, 1:46 PM
ebo created T6379: Kleopatra: Brainpool key can not be moved to smart card.
Feb 16 2023, 1:40 PM · gnupg24 (gnupg-2.4.4), gnupg22 (gnupg-2.2.42), Restricted Project, kleopatra
ebo created T6378: keytocard: invalid value.
Feb 16 2023, 11:59 AM · gnupg24 (gnupg-2.4.1), gnupg22 (gnupg-2.2.42), Bug Report, Restricted Project
werner added a comment to T6375: gpg-agent race-condition with parallel clients.

Okay, I see. The commands above are a real reproducer and not standalone examples. Then yes, you should get a pinentry only for the first gpg -d (as long as the keys are still in the cache). I am lacking macOS/homebrew stuff to replicate this. What you can do is to put

Feb 16 2023, 11:54 AM · gnupg24, gpgagent, Bug Report
werner triaged T6376: FIPS 140-3: add explicit indicators for md and mac to unblock MD5 in apt as Low priority.
Feb 16 2023, 11:43 AM · libgcrypt, Feature Request, Ubuntu, Debian, FIPS
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
ikloecker committed rKLEOPATRAd80112e08257: Defer instantiation of ReaderStatus (authored by ikloecker).
Defer instantiation of ReaderStatus
Feb 16 2023, 9:57 AM
ikloecker committed rKLEOPATRA436e124a414c: Set application attributes before constructing KleopatraApplication (authored by ikloecker).
Set application attributes before constructing KleopatraApplication
Feb 16 2023, 9:57 AM
ebo created T6377: Kleopatra: gpgsk file contains shadowed private key.
Feb 16 2023, 9:08 AM · kleopatra
gniibe committed rS316a7bb9eb80: Add CKA_EC_POINT attribute to CKO_PRIVATE_KEY object. (authored by gniibe).
Add CKA_EC_POINT attribute to CKO_PRIVATE_KEY object.
Feb 16 2023, 8:08 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO2395c92df5d9: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 6:38 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAc772044fcaa6: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 6:26 AM
l10n daemon script <scripty@kde.org> committed rLIBKLEO80bc0f8d5f57: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 4:30 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRAd6137619e4ca: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 16 2023, 4:23 AM
tobhe created T6376: FIPS 140-3: add explicit indicators for md and mac to unblock MD5 in apt.
Feb 16 2023, 3:41 AM · libgcrypt, Feature Request, Ubuntu, Debian, FIPS

Feb 15 2023

dmlary added a comment to T6375: gpg-agent race-condition with parallel clients.

I may be reading your comment wrong, but the problem here is not multiple pinentry prompts, or multiple gpg-agents present.

Feb 15 2023, 7:15 PM · gnupg24, gpgagent, Bug Report
werner added a comment to T6375: gpg-agent race-condition with parallel clients.

Although gpg-agent launching is protected by a file system lock, there is indeed a small race related to the pinentry. The invocation of the pinentries is serialized but if a second pinentry is requested while the first pinentry has not yet returned and put the passphrase into the cache, the second pinentry will be called anyway. Fixing this not easy and should rarely be a problem. The mitigation is to do a dummy decryption to seed the cache or use a custom pinentry.

Feb 15 2023, 6:54 PM · gnupg24, gpgagent, Bug Report
dmlary created T6375: gpg-agent race-condition with parallel clients.
Feb 15 2023, 3:13 PM · gnupg24, gpgagent, Bug Report
cklassen added a comment to T6374: EML files: Body is empty.

Hier is a log file from GpgOL (+Code verfolgung)

Feb 15 2023, 11:51 AM · gpgol, Bug Report
cklassen created T6374: EML files: Body is empty.
Feb 15 2023, 11:22 AM · gpgol, Bug Report
aheinecke committed rKLEOPATRA66ca829d42bc: Update copyright year in aboutdata to 2023 (authored by aheinecke).
Update copyright year in aboutdata to 2023
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRAa5cb659e5a74: Only run selftest once on Windows (authored by aheinecke).
Only run selftest once on Windows
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRAe1ee19493a8f: Make startup timer global and add Macro (authored by aheinecke).
Make startup timer global and add Macro
Feb 15 2023, 10:50 AM
aheinecke committed rKLEOPATRA63b8ff130a53: Start KUniqueService ASAP (authored by aheinecke).
Start KUniqueService ASAP
Feb 15 2023, 10:50 AM
ikloecker moved T6372: Kleopatra: Allow users to change name of sign/encryption result if (archive) file already exists from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Feb 15 2023, 8:18 AM · Restricted Project, kleopatra
ikloecker closed T6348: gpgtar: Error when using --status-fd, a subtask of T6342: GPGME/Kleopatra: Extend gpgme to use gpgtar, as Resolved.
Feb 15 2023, 8:18 AM · Restricted Project, gpgme, kleopatra
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
ikloecker removed a project from T6355: gpgtar: Does not allow decryption from stdin: gpgme.

Works for me with gpgtar (GnuPG) 2.4.1-beta21. I haven't verified this with 2.2.x.

Feb 15 2023, 8:15 AM · gnupg22 (gnupg-2.2.42), gnupg24 (gnupg-2.4.1), Restricted Project
l10n daemon script <scripty@kde.org> committed rKLEOPATRA8e4aefb4a8cc: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 15 2023, 3:24 AM

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
aheinecke added a comment to T6373: Kleopatra: Show progress dialog when moving decrypted archive to final destination.

Oh, yes this makes sense in the copy/delete path of utils/path-helper.cpp Kleo::moveDir on Windows src and dest are usually on the same device so this might not have been noticed as much by our users as then it is just a rename.

Feb 14 2023, 10:42 AM · Restricted Project, kleopatra
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
ikloecker triaged T6373: Kleopatra: Show progress dialog when moving decrypted archive to final destination as High priority.
Feb 14 2023, 10:36 AM · Restricted Project, kleopatra
ikloecker triaged T6372: Kleopatra: Allow users to change name of sign/encryption result if (archive) file already exists as High priority.
Feb 14 2023, 10:28 AM · Restricted Project, kleopatra
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
werner added a comment to T6370: Print diagnostics to explain certain expiration cases.

Here is the output of gpg --full-timestrings --check-sigs:

pub   rsa3072 2019-05-09 12:08:21 [C] [expired: 2022-05-05 12:08:21]
      ABC96B3B4BAFB57DC45D81B56A48221A903A158B
sig!         6A48221A903A158B 2019-05-09 12:08:21  [self-signature]
uid           [ expired] Linda Mary Patricia Deborah Barbara Susan Maria Nancy <linda@example.org>
sig!3        6A48221A903A158B 2019-05-09 12:08:21  [self-signature]
sub   rsa3072 2019-05-09 12:08:21 [E] [expired: 2022-05-05 12:08:21]
sig!         6A48221A903A158B 2019-05-09 12:08:21  [self-signature]
sub   rsa3072 2019-05-09 12:08:21 [S] [expired: 2022-05-05 12:08:21]
sig!         6A48221A903A158B 2019-05-09 12:08:21  [self-signature]
Feb 14 2023, 10:09 AM · Feature Request, gnupg
ikloecker committed rKLEOPATRA667b05dd1228: Use new jobProgress signal instead of deprecated progress signal (authored by ikloecker).
Use new jobProgress signal instead of deprecated progress signal
Feb 14 2023, 10:09 AM
ikloecker committed rKLEOPATRA8456af6200b0: Remove unused signal message() (authored by ikloecker).
Remove unused signal message()
Feb 14 2023, 10:09 AM
ikloecker committed rKLEOPATRAb0b7e48dde12: Use the more specific dataProgress signals for the archive jobs (authored by ikloecker).
Use the more specific dataProgress signals for the archive jobs
Feb 14 2023, 10:09 AM
ikloecker committed rKLEOPATRA2313a2ff11ef: Ignore the "what" value of the QGpgME::Job::progress signal (authored by ikloecker).
Ignore the "what" value of the QGpgME::Job::progress signal
Feb 14 2023, 10:09 AM
ikloecker committed rM73e46b34658c: qt: Add signals for file-based and data-based progress (authored by ikloecker).
qt: Add signals for file-based and data-based progress
Feb 14 2023, 9:52 AM
ikloecker committed rMccff6a96fc2b: qt: Remove commented out code (authored by ikloecker).
qt: Remove commented out code
Feb 14 2023, 9:52 AM
ikloecker committed rMea6f15ed602e: qt: Add simple and extended progress signals replacing old signal (authored by ikloecker).
qt: Add simple and extended progress signals replacing old signal
Feb 14 2023, 9:52 AM
aheinecke added a comment to T6371: GpgOL: Handle CreateProcess errors caused by Microsoft Defender Enterprise.

I have seen that the rule is honoring the exclusions of Microsoft Defender but I do not know if one would need to exclude gpgol.dll or the gpgolconfig.exe / gpg.exe in this case. https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/attack-surface-reduction-rules-reference?view=o365-worldwide#microsoft-defender-antivirus-exclusions-and-asr-rules

Feb 14 2023, 9:33 AM · gpgme, Restricted Project, gpgol
aheinecke triaged T6371: GpgOL: Handle CreateProcess errors caused by Microsoft Defender Enterprise as Wishlist priority.
Feb 14 2023, 9:27 AM · gpgme, Restricted Project, gpgol
ikloecker added a comment to T6370: Print diagnostics to explain certain expiration cases.

With the current development version I get

$ gpg --version
gpg (GnuPG) 2.4.1-beta21
libgcrypt 1.11.0
Feb 14 2023, 9:12 AM · Feature Request, gnupg
werner added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Indeed. The called function dates back to 2004. We really need to rework this and cache the value - it might be required to take the file_name into account.

Feb 14 2023, 8:54 AM · gpgme, Feature Request
mlaurent committed rLIBKLEOe94b958d350c: It compiles without deprecated methods (authored by mlaurent).
It compiles without deprecated methods
Feb 14 2023, 8:52 AM
mlaurent committed rKLEOPATRA0d6dabbb0de4: It compiles without deprecated methods (authored by mlaurent).
It compiles without deprecated methods
Feb 14 2023, 8:49 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA70196b7b11e4: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 14 2023, 4:33 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA15235dd01915: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 14 2023, 3:23 AM

Feb 13 2023

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

This is the file I am repeatedly importing in the sessions from my report. It is one of the keys that seem impossible to unexpire for me.
There is no privacy issue: this belongs to a published test suite and is not used by any human.

Feb 13 2023, 9:24 PM · Feature Request, gnupg
positron created T6370: Print diagnostics to explain certain expiration cases.
Feb 13 2023, 9:23 PM · Feature Request, gnupg
aheinecke added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

@werner I saw the call in _gpgme_set_engine_info at line 452 https://dev.gnupg.org/source/gpgme/browse/master/src/engine.c$452 which I think leads down to _gpgme_get_program_version in version.c which does a spawn and uses no cache.

Feb 13 2023, 8:10 PM · gpgme, Feature Request
werner added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

I had the same suspicion andIchecked the code. afaics all values are taken from a cache (see dirinfo.c). Thus no real overhead.

Feb 13 2023, 4:49 PM · gpgme, Feature Request
mlaurent committed rLIBKLEO545f2734f3da: GIT_SILENT: time to increase version (authored by mlaurent).
GIT_SILENT: time to increase version
Feb 13 2023, 1:33 PM
mlaurent committed rKLEOPATRA323e33edd2a7: GIT_SILENT: time to increase version (authored by mlaurent).
GIT_SILENT: time to increase version
Feb 13 2023, 1:15 PM
aheinecke added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

The context cloning should not be that expensive compared to invoking gpg. Thus let us first see how to speed up this in the common case.

Feb 13 2023, 11:01 AM · gpgme, Feature Request
lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

That's what I was initially trying to do, but then I saw https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob;f=src/keylist.c;h=1c01bd42b8497932d218e4d525794ed98e712bf5;hb=HEAD#l1362 and I wasn't sure if I needed to copy that logic to avoid introducing any regressions.

Feb 13 2023, 9:40 AM · gpgme, Feature Request
werner added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

If you got a limited list of, say, fingerprints, you should put them into an array and use gpgme_op_keylist_ext_start tolist only those keys. This will be much faster.

Feb 13 2023, 9:32 AM · gpgme, Feature Request
lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Finally, what's your use case? gpgme_get_key() is meant to be used for getting individual keys. It's not meant to be used to get 1000 keys in a loop.

Feb 13 2023, 9:05 AM · gpgme, Feature Request
lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

If you mean gcc optimization flags, then yes.

Feb 13 2023, 9:00 AM · gpgme, Feature Request
ikloecker added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Finally, what's your use case? gpgme_get_key() is meant to be used for getting individual keys. It's not meant to be used to get 1000 keys in a loop.

Feb 13 2023, 8:50 AM · gpgme, Feature Request
ikloecker added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Moreover, if you have performance problems on Windows, then it's not the best idea to strace the code on Linux.

Feb 13 2023, 8:47 AM · gpgme, Feature Request
ikloecker added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Just asking the obvious: You are using an optimized release build for your benchmarks, right?

Feb 13 2023, 8:45 AM · gpgme, Feature Request
l10n daemon script <scripty@kde.org> committed rKLEOPATRAcd9f50c054bc: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 13 2023, 3:19 AM

Feb 12 2023

lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

Benchmark script:

Feb 12 2023, 4:49 PM · gpgme, Feature Request
lazka added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

yeah, I'd guess it's creating a new gpg instance with it. strace shows extra clone/pipe/read/fcntl syscalls with the new context.

Feb 12 2023, 4:29 PM · gpgme, Feature Request
werner added a project to T6369: gpgme: add a faster variant of gpgme_get_key(): gpgme.
Feb 12 2023, 4:16 PM · gpgme, Feature Request
werner added a comment to T6369: gpgme: add a faster variant of gpgme_get_key().

The context cloning should not be that expensive compared to invoking gpg. Thus let us first see how to speed up this in the common case.

Feb 12 2023, 4:15 PM · gpgme, Feature Request
lazka created T6369: gpgme: add a faster variant of gpgme_get_key().
Feb 12 2023, 4:04 PM · gpgme, Feature Request
l10n daemon script <scripty@kde.org> committed rKLEOPATRAe53c26a1c434: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 12 2023, 3:18 AM

Feb 11 2023

l10n daemon script <scripty@kde.org> committed rKLEOPATRA0d97ff36d0f8: GIT_SILENT Sync po/docbooks with svn (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT Sync po/docbooks with svn
Feb 11 2023, 3:18 AM

Feb 10 2023

aheinecke added a comment to T6072: Debug Tab in Kleopatra.

Output of --show-configs should also be added as a button or directly visible when the selftest of Kleopatra fails.

Feb 10 2023, 4:28 PM · Restricted Project, kleopatra, Feature Request
ikloecker added a comment to T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.

Okay. So the problems with "file type 1" seem to come from git using hardlinks and tar storing them as hardlinks, but gpgtar ignores them on --decrypt. This would also explain the larger size of the archives if gpgtar stores the hardlinked files multiple times in the archive. Take home message: Don't gpgtar your git repo!

Feb 10 2023, 12:28 PM · Restricted Project, gpgme, kleopatra
ikloecker added a comment to T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.

Running gpgtar directly only gives slightly better results. The following

GNUPGHOME=~/xxxx gpgtar --batch --status-fd 2 --gpg-args --enable-progress-filter --encrypt --gpg-args --always-trust -r D5E17E5ABC11F4CD060E02D41DD0D4BAF77BE140 -r C02C4012C09B2AE33921CF87577E88AC284DC575 --output - --directory /xxxx src >src-gpgtar.tar.gpg 2>src-gpgtar.log

took about 31.1 seconds.

Feb 10 2023, 11:46 AM · Restricted Project, gpgme, kleopatra
werner added a comment to T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.

These are USTAR types:

Feb 10 2023, 11:37 AM · Restricted Project, gpgme, kleopatra
aheinecke added a comment to T5478: Kleopatra: Performance problems decrypting and encrypting large Archives.

For testing the old version, did you use GNU Tar with Kleopatra or changed the configuration to use gpgtar?

Feb 10 2023, 11:30 AM · Restricted Project, gpgme, kleopatra