Page MenuHome GnuPG

gpgtarProject
ActivePublic

Members

  • This project does not have any members.
  • View All

Watchers

  • This project does not have any watchers.
  • View All

Recent Activity

Wed, Sep 6

werner claimed T6556: gpgtar: Removes existing output file on error.
Wed, Sep 6, 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.

Wed, Sep 6, 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?

Wed, Sep 6, 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?

Wed, Sep 6, 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