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

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 · 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 · 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 · 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 · 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 · 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

Nov 15 2017

werner added a comment to T3500: Gpgtar creates dirs named "-_1_" when decrypting from stdin.

FWIW, I added a gpgtar.1

Nov 15 2017, 10:28 AM · gnupg (gpg22), gpg4win, gpgtar, Bug Report
aheinecke closed T3500: Gpgtar creates dirs named "-_1_" when decrypting from stdin as Resolved.

Pushed to 2.2

Nov 15 2017, 10:25 AM · gnupg (gpg22), gpg4win, gpgtar, Bug Report
werner added a comment to T3500: Gpgtar creates dirs named "-_1_" when decrypting from stdin.

You could use the --directory option. However< I agree that your suggested changes is less surprising then the current behaviour. Thus I would consider this a bug fix. Can you please apply to 2.2?

Nov 15 2017, 9:20 AM · gnupg (gpg22), gpg4win, gpgtar, Bug Report

Nov 14 2017

aheinecke created T3500: Gpgtar creates dirs named "-_1_" when decrypting from stdin.
Nov 14 2017, 2:19 PM · gnupg (gpg22), gpg4win, gpgtar, Bug Report

Jul 27 2017

marcus closed T2687: 98 chars limits on archived filenames for windows (gpgtar) as Wontfix.

To remain compatible with PGP6 we are limited to ustar. If you want to support other archive types, archive first and then encrypt/sign the archive.

Jul 27 2017, 5:33 PM · gpgtar, Bug Report, gpg4win

Mar 30 2017

admin created gpgtar.
Mar 30 2017, 6:42 PM

Sep 19 2016

bernhard updated subscribers of T2687: 98 chars limits on archived filenames for windows (gpgtar).

@werner, if I understand the description at
https://www.gnu.org/software/tar/manual/html_section/tar_68.html
then ustar would also be able to read "posix" archives.

Sep 19 2016, 8:36 AM · gpgtar, gpg4win, Bug Report
werner added a comment to T2687: 98 chars limits on archived filenames for windows (gpgtar).

ustar is the format introduced by PGP 6; also for Windows. This is the only
reason we use it. PGP users demanded that we support that "pgpzip". We can't
drop it.

Sep 19 2016, 8:19 AM · gpgtar, gpg4win, Bug Report

Sep 15 2016

aheinecke added a comment to T2687: 98 chars limits on archived filenames for windows (gpgtar).

What I meant by "KArchive" is that we already have all that nice archiving code
in Kleopatra already: https://api.kde.org/frameworks/karchive/html/index.html
To work with standard formats like tar / zip / 7zip etc.

This would get us the included platform abstraction through Qt for stuff like
filenames etc. and we wouldn't have to maintain our own implementations for
these archive formats.

Sep 15 2016, 11:55 AM · gpgtar, gpg4win, Bug Report
bernhard added a comment to T2687: 98 chars limits on archived filenames for windows (gpgtar).

Can you create a new issue with the data "loss" part?

As for the default format:
I think we should use and propose a default format that is mostly compatible
over platforms (and robust in the future). tar "posix" seems to be
such a format. Am not sure how this evaluates for karchive or 7zip.

Sep 15 2016, 11:47 AM · gpgtar, gpg4win, Bug Report
bernhard updated subscribers of T2687: 98 chars limits on archived filenames for windows (gpgtar).
Sep 15 2016, 11:47 AM · gpgtar, gpg4win, Bug Report
aheinecke added a project to T2687: 98 chars limits on archived filenames for windows (gpgtar): Bug Report.
Sep 15 2016, 9:49 AM · gpgtar, gpg4win, Bug Report
aheinecke added a comment to T2687: 98 chars limits on archived filenames for windows (gpgtar).

https://www.gnu.org/software/tar/manual/html_section/tar_68.html gives a good
overview imo.

So yes raising the file name length limit could be problematic with
compatibility and we might have to change more in our implementation to create
formats of a different spec.

From the discussion in the forum it looks like the error was silently discarded
when used in Kleopatra. We need error handling in that case. So I think this is
an Urgent bug as silent discard of archive contents can lead to data loss. So
for me this part is an urgent bug. Actually handling longer filenames is another
issue.

As a sidenote:
Kleopatra already links KArchive for svgz handling so it already contains a good
API for ZIP file creation. I'd like to add that to Kleopatra and make it default
so that the default is not our own error prone tar implementation. (Other tar
implementations also are problematic for windows). In that case we could also
drop the extraction as zip file support is native in the windows file explorer.

And as suggested in the forum entry we should probably also document how to add
7zip support to kleopatra or check for this at runtime and add some 7zip archive
options if it is available.
This should be doable by editing libkleopatrarc but I'd have to check the syntax
myself in the code as its not documented afaik.

Sep 15 2016, 9:49 AM · gpgtar, gpg4win, Bug Report
aheinecke removed a project from T2687: 98 chars limits on archived filenames for windows (gpgtar): Feature Request.
Sep 15 2016, 9:49 AM · gpgtar, gpg4win, Bug Report
aheinecke raised the priority of T2687: 98 chars limits on archived filenames for windows (gpgtar) from Wishlist to High.
Sep 15 2016, 9:49 AM · gpgtar, gpg4win, Bug Report
bernhard added a comment to T2687: 98 chars limits on archived filenames for windows (gpgtar).

I'm unsure about the compatibility issues with using a higher filename-length
limit.

Sep 15 2016, 9:31 AM · gpgtar, gpg4win, Bug Report