On Tue, 5 Mar 2019 10:05, gpir...@manymore.fr said: > In the previous version the parameter -passphrase did the trick (although > not the most secured) but it isn't working anymore.
Given that it is an unattended environment, a passphrase to protect the private key does not make any sense (in most cases). Thus remove the passphrase and you are fine: gpg --passwd KEYID and then enter an empty string and confirm. Also make sure that --batch is passed to gpg. To avoid DoS (think uncompression) it is also often useful to add --max-output=REASONABLE_LARGE_BYTE_COUNT Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
signature.asc
Description: PGP signature
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users