Page MenuHome GnuPG
Feed Advanced Search

Tue, Mar 19

ikloecker added projects to T6853: GpgTar: S/MIME decryption fails with input/output error: gpgtar, gnupg.

What happens if you call gpgtar with --utf8-strings --cms additionally to the other options? And what happens if you pipe the archive to gpgtar's stdin?

Tue, Mar 19, 10:43 AM · gnupg, gpgtar, vsd33, Restricted Project

Jan 5 2024

werner moved T6558: gpgtar: Does not stop spawned gpg process when exiting from Backlog to done on the gnupg24 board.
Jan 5 2024, 12:02 PM · gnupg24, Restricted Project, gpgtar, Bug Report

Oct 18 2023

ebo closed T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID as Invalid.

The original issue was to unclear to analyse and it was likely meanwhile fixed. For the other issue see the follow up ticket.

Oct 18 2023, 2:02 PM · gpg4win, kleopatra, gpgtar, Restricted Project
aheinecke added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

I mean this would also be solved if we did not use qiodevicedataprovider but pass the filenames directly to gpg for single files, too. (can't remember the ticket number) but I don't want to do that right now.

Oct 18 2023, 1:28 PM · gpg4win, kleopatra, gpgtar, Restricted Project
aheinecke added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

The original issue was about creating an encrypted archive. This code doesn't use Qt anymore for writing the result file, but delegates this to gpgtar.

Oct 18 2023, 1:27 PM · gpg4win, kleopatra, gpgtar, Restricted Project
aheinecke added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

That sounds like a solid conclusion. I mean if errno is not set explicitly it is basically undefined which value it is, so maybe some other function set errno to no space left on device in that one case where it "worked".

Oct 18 2023, 1:24 PM · gpg4win, kleopatra, gpgtar, Restricted Project
ikloecker added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

The original issue was about creating an encrypted archive. This code doesn't use Qt anymore for writing the result file, but delegates this to gpgtar.

Oct 18 2023, 12:34 PM · gpg4win, kleopatra, gpgtar, Restricted Project
TobiasFella added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

I've debugged Eva's problem and I think it's unrelated to the original problem, as it's specific to qt.

Oct 18 2023, 11:44 AM · gpg4win, kleopatra, gpgtar, Restricted Project

Oct 13 2023

ebo added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

As what I see is similar as what Andre saw, I'll describe it here. Please check if this is relevant.
After the above mentioned Ticket was resolved, I tried the exact same encryption in Kleopatra on the same Test-VM.

Oct 13 2023, 12:35 PM · gpg4win, kleopatra, gpgtar, Restricted Project

Sep 6 2023

werner claimed T6556: gpgtar: Removes existing output file on error.
Sep 6 2023, 8:07 PM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
werner added a comment to T6556: gpgtar: Removes existing output file on error.

That should be easy on Unix but on Windows we have the nul nul: and iirc also /dev/nul.

Sep 6 2023, 8:07 PM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker added a comment to T6556: gpgtar: Removes existing output file on error.

@iklocker: Which gpg bug to you mean?

Sep 6 2023, 3:44 PM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
werner added a comment to T6556: gpgtar: Removes existing output file on error.

@iklocker: Which gpg bug to you mean?

Sep 6 2023, 2:21 PM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report

Sep 1 2023

thesamesam added a comment to T6556: gpgtar: Removes existing output file on error.

Thanks. For the record, done at https://lists.gnupg.org/pipermail/gnupg-users/2023-August/066692.html.

Sep 1 2023, 5:15 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report

Aug 23 2023

ikloecker added a comment to T6556: gpgtar: Removes existing output file on error.

It may be better to open a separate issue for the issue in gpg, so that it's not overlooked/forgotten when the issue in gpgtar is fixed.

Aug 23 2023, 10:06 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
AndrewAmmerlaan added a comment to T6556: gpgtar: Removes existing output file on error.

That is intentional. If we are able to remove a file we do it. Solution for you is easy: gpg .... -o - </dev/null >/dev/null

Aug 23 2023, 10:06 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
werner added a comment to T6556: gpgtar: Removes existing output file on error.

That is intentional. If we are able to remove a file we do it. Solution for you is easy: gpg .... -o - </dev/null >/dev/null

Aug 23 2023, 9:58 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
AndrewAmmerlaan added a comment to T6556: gpgtar: Removes existing output file on error.

This looks like the same problem I encountered in Gentoo's Portage. To unlock the binary package signing key, Portage will run the equivalent of gpg --homedir ... --digest-algo ... --local-user ... --output /dev/null /dev/null. If unlocking fails (due to e.g. wrong password), /dev/null is removed: https://bugs.gentoo.org/912808

Aug 23 2023, 9:38 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report

Aug 17 2023

ikloecker added a comment to T6554: Kleopatra: Reports success when gpgtar is kill with SIGTERM or SIGKILL while folder is encrypted.

Yes, gpgtar emits a SUCCESS status. gpgme should probably check for this.

Aug 17 2023, 2:24 PM · gpgme, kleopatra, gpgtar, Restricted Project, Bug Report

Aug 4 2023

aheinecke closed T6525: Kleopatra: Gpgtar progress label needs to be generalized or updated as Resolved.

Works for me.

Aug 4 2023, 11:40 AM · Restricted Project, gpgtar, kleopatra

Jul 12 2023

aheinecke lowered the priority of T6531: Gpgtar behavioral change when extracting archives from Unbreak Now! to Normal.

Normal priority to get the _1_ removed when no folder with the same name already exists in that location.

Jul 12 2023, 5:12 PM · Restricted Project, kleopatra, gpgtar
aheinecke moved T6531: Gpgtar behavioral change when extracting archives from Restricted Project Column to Restricted Project Column on the Restricted Project board.

Strangely enough this does not happen on linux. Maybe related to the KMime changes we have there?

Jul 12 2023, 4:05 PM · Restricted Project, kleopatra, gpgtar
aheinecke claimed T6531: Gpgtar behavioral change when extracting archives.
Jul 12 2023, 9:29 AM · Restricted Project, kleopatra, gpgtar
aheinecke reopened T6531: Gpgtar behavioral change when extracting archives as "Open".

For S/MIME archives the output for e.g. testfolder.tar.gz.p7m is now named "testfolder.tar.gz_1_/testfolder" with the "_1_" even added if there is no "archive.tar.gz"

Jul 12 2023, 9:26 AM · Restricted Project, kleopatra, gpgtar

Jul 6 2023

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

Jun 26 2023

ikloecker closed T6558: gpgtar: Does not stop spawned gpg process when exiting as Invalid.

Closing since the problem doesn't seem to occur if the operation is canceled properly.

Jun 26 2023, 12:15 PM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker added a comment to T6558: gpgtar: Does not stop spawned gpg process when exiting.

Sorry about that. I tested an old build which didn't call gpgme_cancel_async and therefore probably didn't properly close the channels. It seems to work if gpgme_cancel_async is called to cancel the operation.

Jun 26 2023, 12:03 PM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker added a comment to T6558: gpgtar: Does not stop spawned gpg process when exiting.

This option is already used. Running pgrep -a gpg in a loop (and ignoring gpg-agent processes) I get:

Mo 26. Jun 11:29:11 CEST 2023
19111 gpgtar --batch --status-fd 60 --gpg-args --no-tty --gpg-args --charset=utf8 --gpg-args --enable-progress-filter --gpg-args --exit-on-status-write-error --gpg-args --display=:0 --gpg-args --ttyname=/dev/pts/37 --gpg-args --ttytype=xterm-256color --decrypt --directory /tmp/kleopatra-JqIiXu/src -- /home/ingo/dev/g10/src.tar.gpg
19112 gpg --batch --status-fd=60 --output - --decrypt --no-tty --charset=utf8 --enable-progress-filter --exit-on-status-write-error --display=:0 --ttyname=/dev/pts/37 --ttytype=xterm-256color -- /home/ingo/dev/g10/src.tar.gpg
Jun 26 2023, 11:34 AM · gnupg24, Restricted Project, gpgtar, Bug Report
werner triaged T6558: gpgtar: Does not stop spawned gpg process when exiting as Normal priority.

Can you please test by adding --exit-on-status-write-error to the gpg invocation by gpgtar?

Jun 26 2023, 9:50 AM · gnupg24, Restricted Project, gpgtar, Bug Report

Jun 23 2023

ikloecker created T6558: gpgtar: Does not stop spawned gpg process when exiting.
Jun 23 2023, 4:33 PM · gnupg24, Restricted Project, gpgtar, Bug Report
ikloecker changed the status of T6531: Gpgtar behavioral change when extracting archives from Open to Testing.

Should be fixed.

Jun 23 2023, 3:55 PM · Restricted Project, kleopatra, gpgtar
ikloecker moved T6531: Gpgtar behavioral change when extracting archives from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jun 23 2023, 10:13 AM · Restricted Project, kleopatra, gpgtar
ikloecker added a project to T6531: Gpgtar behavioral change when extracting archives: Restricted Project.
Jun 23 2023, 10:13 AM · Restricted Project, kleopatra, gpgtar
werner triaged T6556: gpgtar: Removes existing output file on error as Normal priority.
Jun 23 2023, 10:10 AM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report

Jun 22 2023

ikloecker created T6556: gpgtar: Removes existing output file on error.
Jun 22 2023, 5:44 PM · gnupg22, gnupg24, Restricted Project, gpgtar, Bug Report
werner triaged T6554: Kleopatra: Reports success when gpgtar is kill with SIGTERM or SIGKILL while folder is encrypted as Normal priority.

Due to the double fork in gpgme we won't get the exit code which gpgtar emits. Possible actions in a signal handler are also limited; in particular we can't use stdio or estream. The only option to print a status line would we by using write directly. However, this might mess with the libassuan buffering. Thus, it is not a good idea to pkill gpgtar. Same is true for gpg and gpgsm.

Jun 22 2023, 4:30 PM · gpgme, kleopatra, gpgtar, Restricted Project, Bug Report
ikloecker renamed T6554: Kleopatra: Reports success when gpgtar is kill with SIGTERM or SIGKILL while folder is encrypted from Kleopatra: Reports success when gpgtar is kill with SIGTERM while folder is encrypted to Kleopatra: Reports success when gpgtar is kill with SIGTERM or SIGKILL while folder is encrypted.
Jun 22 2023, 4:29 PM · gpgme, kleopatra, gpgtar, Restricted Project, Bug Report
ikloecker created T6554: Kleopatra: Reports success when gpgtar is kill with SIGTERM or SIGKILL while folder is encrypted.
Jun 22 2023, 4:17 PM · gpgme, kleopatra, gpgtar, Restricted Project, Bug Report

Jun 12 2023

aheinecke added a comment to T6531: Gpgtar behavioral change when extracting archives.

In the past this was done by --set-filename in libkleopatrarc-win32.desktop. But I am happy if we close this and focus on T6530.

Jun 12 2023, 3:46 PM · Restricted Project, kleopatra, gpgtar
ikloecker added a comment to T6531: Gpgtar behavioral change when extracting archives.

Which only works if gpgtar actually knows the input file name (which it will once T6530: GPGME / QGpgME Extend Archivejobs to accept input / output from a filename is done and used).

Jun 12 2023, 3:23 PM · Restricted Project, kleopatra, gpgtar
werner added projects to T6531: Gpgtar behavioral change when extracting archives: gpgtar, kleopatra.
Jun 12 2023, 3:21 PM · Restricted Project, kleopatra, gpgtar

Jun 9 2023

ikloecker changed the status of T6524: Kleopatra / Gpgtar: Cancel does not kill the job from Open to Testing.
Jun 9 2023, 5:34 PM · Restricted Project, kleopatra
ikloecker moved T6525: Kleopatra: Gpgtar progress label needs to be generalized or updated from Restricted Project Column to Restricted Project Column on the Restricted Project board.
Jun 9 2023, 5:34 PM · Restricted Project, gpgtar, kleopatra
ikloecker added a project to T6525: Kleopatra: Gpgtar progress label needs to be generalized or updated: Restricted Project.
Jun 9 2023, 5:32 PM · Restricted Project, gpgtar, kleopatra
ikloecker claimed T6524: Kleopatra / Gpgtar: Cancel does not kill the job.

Of course, those are different controllers. :-)

Jun 9 2023, 4:54 PM · Restricted Project, kleopatra
aheinecke changed the status of T6524: Kleopatra / Gpgtar: Cancel does not kill the job from Testing to Open.

As I already had my testsetup open I recompiled with your change and I tested manually cancelling and letting it run into the disk full error. In both cases the temporary file was deleted and the job was cancelled :)

Jun 9 2023, 4:36 PM · Restricted Project, kleopatra
ikloecker changed the status of T6524: Kleopatra / Gpgtar: Cancel does not kill the job from Open to Testing.
Jun 9 2023, 3:56 PM · Restricted Project, kleopatra
ikloecker added a comment to T6524: Kleopatra / Gpgtar: Cancel does not kill the job.

The processes should now be killed properly.

Jun 9 2023, 3:36 PM · Restricted Project, kleopatra
aheinecke added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

Please note that my test was not on an USB Device. I will keep this issue with your analysis and reopen a different one with my error and details on how to reproduce that one. Pretty sure it was disk full.

Jun 9 2023, 2:10 PM · gpg4win, kleopatra, gpgtar, Restricted Project
werner lowered the priority of T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID from Unbreak Now! to High.

I don't think this is a regression or something we can do anything about. Note that we see the same thing also on the command line. Actually I have seen the very same thing pretty often with USB devices. Thus lowering priority.

Jun 9 2023, 1:51 PM · gpg4win, kleopatra, gpgtar, Restricted Project
werner renamed T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID from Kleopatra / Gpgtar: System error w/o error code to Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.
Jun 9 2023, 1:39 PM · gpg4win, kleopatra, gpgtar, Restricted Project
werner added a comment to T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID.

We have seen this problem in the QA this week and could identify that this was a ERROR_FILE_INVALID (ec=1006,"The volume for a file has been externally altered so that the opened file is no longer valid"). We also noticed disk errors in the event logger but did not recorded them. The USB stick was not unplugged but merely used with VirtualBox.

Jun 9 2023, 1:39 PM · gpg4win, kleopatra, gpgtar, Restricted Project
aheinecke triaged T6526: Kleopatra / Gpgtar: Windows write error ERROR_FILE_INVALID as Unbreak Now! priority.
Jun 9 2023, 1:23 PM · gpg4win, kleopatra, gpgtar, Restricted Project
aheinecke added a project to T6524: Kleopatra / Gpgtar: Cancel does not kill the job: Restricted Project.
Jun 9 2023, 12:50 PM · Restricted Project, kleopatra
aheinecke triaged T6525: Kleopatra: Gpgtar progress label needs to be generalized or updated as High priority.
Jun 9 2023, 12:50 PM · Restricted Project, gpgtar, kleopatra
aheinecke triaged T6524: Kleopatra / Gpgtar: Cancel does not kill the job as Unbreak Now! priority.
Jun 9 2023, 12:14 PM · Restricted Project, kleopatra

Jan 19 2023

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

Mar 21 2022

werner changed the status of T4394: Use I/O callbacks in gpgtar from Open to Testing.

No need for callbacks actually. We can do it in a simpler way. See commit rGe5ef5e3b914d5c8f0b841b078b164500ea157804

Mar 21 2022, 1:27 PM · gnupg (gpg22), gpgtar

Feb 17 2022

Klausi1239 added a comment to T5839: GNUPGEX Explorer File Encryption Tar Archive long Filename Bug.

I tested encrypt two txt files with filename 1 and 2.txt and insert text: test 1 and test 2. Tararchive has been created successfull. Than i tested this Two txt files with a long name. See attached txt files, i send it already to you. Now by the first test Archive.tar.gpg.yqoirl with 0 Bytes was created.
Second test, the other archive.tar.gpg with 0 Bytes was created and gpgex hang.

Feb 17 2022, 1:28 PM · kleopatra, gpgtar, Bug Report, gpg4win
werner triaged T5839: GNUPGEX Explorer File Encryption Tar Archive long Filename Bug as Normal priority.

What you uploaded are files with a length of zero bytes. That is not valid data. The hang should not happen of course.

Feb 17 2022, 1:12 PM · kleopatra, gpgtar, Bug Report, gpg4win

Jan 22 2022

werner closed T5754: gpgtar needs to support longer filenames. as Resolved.

Implemented extended headers for filenames and linknames (on Unix).

Jan 22 2022, 6:17 PM · gnupg (gpg22), gpgtar

Jan 20 2022

werner closed T5792: gpgtar Problem with utf8 string/length of filenames as Resolved.

The bug with the long filenames has been fixed but it is not yet released. Release will be in gpg4win 4.0.1 See T5754.

Jan 20 2022, 8:19 PM · gpgtar, Bug Report, gpg4win

Jan 5 2022

werner triaged T5754: gpgtar needs to support longer filenames. as High priority.
Jan 5 2022, 11:49 AM · gnupg (gpg22), gpgtar

Jan 3 2022

ikloecker renamed T5754: gpgtar needs to support longer filenames. from gpgtar needs to support lonerg filenames. to gpgtar needs to support longer filenames..
Jan 3 2022, 11:32 AM · gnupg (gpg22), gpgtar
werner created T5754: gpgtar needs to support longer filenames..
Jan 3 2022, 10:25 AM · gnupg (gpg22), gpgtar
werner closed T5226: gpgtar: Windows decrypting a gpgtar archive with 8bit filename leads to wrong name as Resolved.

We have full Unicode support on the command line since 2.2.28 (2021-06-10)

Jan 3 2022, 10:23 AM · gpgtar

Aug 13 2021

werner changed the edit policy for gpgtar.
Aug 13 2021, 11:04 PM

Jan 11 2021

aheinecke added a comment to T5226: gpgtar: Windows decrypting a gpgtar archive with 8bit filename leads to wrong name.

We discussed this, the proper solution will be for gpgtar to accept unicode arguments on windows.

Jan 11 2021, 2:42 PM · gpgtar
aheinecke added a comment to T5226: gpgtar: Windows decrypting a gpgtar archive with 8bit filename leads to wrong name.

The problem is not with creation, that works. The problem is also not with files contained in the archive, they also work. The problem is the archive name. And that also seems to be correct in the way gpgtar extracts it as gpgtar successfully extracts the archive, but the created folder name has the broken character.

Jan 11 2021, 8:51 AM · gpgtar

Jan 8 2021

werner added a comment to T5226: gpgtar: Windows decrypting a gpgtar archive with 8bit filename leads to wrong name.

I can't replicate this on the command line. Anyway option -T is only valid with --create. Further the archive format is specified to carry utf8 filenames; thus --utf8-strings won't have an effect on --extract. Are you sure that Kleopatra runs

gpgtar --create --utf-strings -T -

and you pass utf-8 encoded filenames on stdin?

Jan 8 2021, 8:06 PM · gpgtar
aheinecke created T5226: gpgtar: Windows decrypting a gpgtar archive with 8bit filename leads to wrong name.
Jan 8 2021, 5:18 PM · gpgtar

Nov 25 2020

aheinecke added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

Works, I've tested with Kleopatra.

Nov 25 2020, 10:24 AM · Bug Report, gpg4win, kleopatra, gpgtar

Sep 15 2020

werner triaged T5070: Retain the exact name of the archive when extracting/decrypting via gpgtar as Normal priority.

Using a not yet existing directory is a security feature. The directory is created at a time the signature has not yet been verified and thus it would be too easy to trick a user into overwriting important data.

Sep 15 2020, 9:26 PM · gnupg24, gnupg (gpg23), gpgtar, Feature Request

Sep 7 2020

werner triaged T5054: Preservation of modification date upon decryption/extraction. as Normal priority.
Sep 7 2020, 10:30 AM · gnupg24, gnupg (gpg23), gpgtar, Feature Request

Sep 5 2020

werner added projects to T5054: Preservation of modification date upon decryption/extraction.: gpgtar, gnupg (gpg23).

I will consider a -p option for gpgtar.

Sep 5 2020, 8:02 PM · gnupg24, gnupg (gpg23), gpgtar, Feature Request
werner triaged T5053: More gpg arguments available for use with gpgtar as Normal priority.
Sep 5 2020, 12:35 PM · gnupg24, gnupg (gpg23), gpgtar, Feature Request

Aug 27 2020

werner closed T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work as Resolved.
Aug 27 2020, 3:04 PM · Bug Report, gpg4win, kleopatra, gpgtar
werner closed T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names. as Resolved.
Aug 27 2020, 2:24 PM · gnupg (gpg22), Feature Request, gpgtar

Aug 24 2020

werner added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

What is the current encoding? OEMCP ?

Aug 24 2020, 9:35 AM · Bug Report, gpg4win, kleopatra, gpgtar
aheinecke claimed T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

So if gnupg version >= 2.2.22 Kleopatra needs to convert the passed filenames to UTF-8 and pass them with the --utf8-strings option to gpgtar. This needs to be changed in Kleo. -> Assigned to me.

Aug 24 2020, 9:11 AM · Bug Report, gpg4win, kleopatra, gpgtar

Aug 22 2020

werner added a comment to T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..

Unicode file names will now also work - see T4083 and T5030

Aug 22 2020, 11:11 PM · gnupg (gpg22), Feature Request, gpgtar
Romans10910 added a comment to T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..

Excellent! thanks for having considered this.

Aug 22 2020, 6:40 PM · gnupg (gpg22), Feature Request, gpgtar
werner added a comment to T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.

Done for master and 2.2.22 - libgpg-error 1.39 (not yet released) is required for the actual fix.

Aug 22 2020, 2:39 PM · Bug Report, gpg4win, kleopatra, gpgtar

Aug 20 2020

werner closed T3772: gpg-zip fails with recipient names that have whitespace in them as Wontfix.
Aug 20 2020, 4:01 PM · gpgtar, Bug Report
werner changed the status of T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names. from Open to Testing.

The options now work as documented. More tests on Window are required and eventually we need to handle non-ascii characters in file names.

Aug 20 2020, 3:56 PM · gnupg (gpg22), Feature Request, gpgtar
werner claimed T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names..
Aug 20 2020, 12:42 PM · gnupg (gpg22), Feature Request, gpgtar

Aug 18 2020

werner renamed T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names. from Unable to use "--files-from" to gpgtar's "--files-from" should also handle a LF terminated list of file names..
Aug 18 2020, 11:57 AM · gnupg (gpg22), Feature Request, gpgtar
werner added a project to T5027: gpgtar's "--files-from" should also handle a LF terminated list of file names.: gpgtar.

It is indeed a limitation. We added these options to support the Kleopatra GUI. To avoid problems with filenames with embedded newlines etc. Kleoptra uses a binary nuls to delimit filenames. And that is what we only support.

Aug 18 2020, 11:56 AM · gnupg (gpg22), Feature Request, gpgtar

Dec 16 2019

aheinecke merged T4730: GpgEX: "No such file or directory" when trying to encrypt files inside unicode directories into T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.
Dec 16 2019, 5:56 PM · Bug Report, gpg4win, kleopatra, gpgtar

Jun 4 2019

Xanatos added a comment to T4554: gpgtar invalid octal number.

I did forget to mention that the key I'm using is 4096 bit long

Jun 4 2019, 4:34 PM · gpgtar, Bug Report, gpg4win
Xanatos added a comment to T4554: gpgtar invalid octal number.

I was creating a tar archive with 7-Zip on my Windows 10 machine. After the creating was completed I was encrypting the archive like so:

Jun 4 2019, 4:27 PM · gpgtar, Bug Report, gpg4win
aheinecke added a comment to T4554: gpgtar invalid octal number.

Just to clarify, you were able to decrypt and extract it without error? Which tool did you use to extract the tar archive?

Jun 4 2019, 3:58 PM · gpgtar, Bug Report, gpg4win
Xanatos added a comment to T4554: gpgtar invalid octal number.

I did encrypt the file myself with the version mentioned above.

Jun 4 2019, 8:58 AM · gpgtar, Bug Report, gpg4win

Jun 3 2019

aheinecke triaged T4554: gpgtar invalid octal number as Normal priority.

Maybe the file was encrypted with a version of gpg4win-3.1.5? We had a serious bug there that sometimes files were corrupted. See: T4332

Jun 3 2019, 4:20 PM · gpgtar, Bug Report, gpg4win
Xanatos created T4554: gpgtar invalid octal number.
Jun 3 2019, 4:15 PM · gpgtar, Bug Report, gpg4win

Mar 6 2019

werner created T4394: Use I/O callbacks in gpgtar .
Mar 6 2019, 6:01 PM · gnupg (gpg22), gpgtar

Jan 14 2019

aheinecke merged T4320: tar archive encryption failed with japanese characters into T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.
Jan 14 2019, 7:51 AM · Bug Report, gpg4win, kleopatra, gpgtar

Jul 17 2018

aheinecke created T4083: gpgtar, Kleopatra: Unicode filenames that are not native 8 bit on Windows don't work.
Jul 17 2018, 6:00 PM · Bug Report, gpg4win, kleopatra, gpgtar

Mar 13 2018

werner added a comment to T3772: gpg-zip fails with recipient names that have whitespace in them.

(BTW, --create is not an option - you meant --encrypt)

Mar 13 2018, 11:01 AM · gpgtar, Bug Report
werner triaged T3772: gpg-zip fails with recipient names that have whitespace in them as Normal priority.

That is not easy to fix in a shell script. I would prefer to get rid of gpg-zip or make it a simple wrapper around gpgtar like

Mar 13 2018, 11:00 AM · gpgtar, Bug Report