Thank you for the link to the configuration documentation. Here’s what I came up with:
[Archive Definition #0]
Name=TAR (via 7-ZIP)
id=7z
extensions=7ziptar
pack-command=“C:\Program Files\7-Zip\7z.exe” a dummy -ttar -so
unpack-command=“C:\Program Files\7-Zip\7z.exe” x -si -ttar
I changed it to definition #0 (and changed the original to #1) to make it the default in the list.
Note that I made the extension 7ziptar. You could make it “tar”, but the gpgtar can’t properly unzip tars made by 7zip. A few years down the road you (well, me) might not remember that it was actually the 7zip tar. It appears that Kleopatra is smart enough that if you use a special extension it will choose the appropriate archiver from the drop-down list.
In a sense this untar works better than the original. The original PGP compatible untar made artifacts in the directory name. So if the original directory was “test”, the extracted directory would be “test.tar_1_” . Maybe this needs to be mentioned as a bug item?
Now I have to figure out if it makes sense to use GPG with 7zip this way, or if I should just use 7zip.
Thank you,
Mark