Page MenuHome GnuPG
Feed Advanced Search

Aug 23 2023

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 · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), 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 · gnupg24 (gnupg-2.4.2), gnupg22 (gnupg-2.2.42), Restricted Project, gpgtar, Bug Report