Re: 2.5.21 regression with file mode
Vinay Sajip via Gnupg-devel <[email protected]> Wed, 15 Jul 2026 08:05:03 +0000 (UTC)
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============1207119950113234520== Content-Type: multipart/alternative; boundary="----=_Part_2138801_2022744884.1784102703758" Content-Length: 2703 ------=_Part_2138801_2022744884.1784102703758 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Dear Ingo, > Check if running gpg with --compatibility-flags=no-partial-file-guard works for you. Thanks for the suggestion. I tried it, but the result is the same. Does the --compatibility-flags argument have to be in a particular position in the argument list? Kind regards, Vinay Sajip # Run failing decryption with compatibility flag gpg2 --pinentry-mode loopback --status-fd 2 --no-tty --no-verbose --fixed-list-mode --batch --with-colons --homedir /tmp/keys-eidfw1_9 --passphrase-fd 0 --debug-quick-random --decrypt --yes --output /tmp/pygpg-test-qjrpzkgk.dec --compatibility-flags=no-partial-file-guard # Status output from gpg [GNUPG:] NODATA 2 [GNUPG:] FAILURE decrypt 429496729 gpg: decrypt_message failed: Unknown system error # Messages from test harness gpg returned a non-zero error code: 2 # The compatibility flag didn't change the result - the mode was still changed Mode changed for /tmp/pygpg-test-qjrpzkgk.dec: 0o100664 vs. 0o100700 ------=_Part_2138801_2022744884.1784102703758 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami= ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Dear = Ingo,</div><br><div>> Check if running gpg with --compatibility-flags=3D= no-partial-file-guard works for </div>you.<br><br><div>Thanks for the sugge= stion. I tried it, but the result is the same. Does the --compatibility-fla= gs argument have to be in a particular position in the argument list?</div>= <div><br></div><div dir=3D"ltr" data-setdir=3D"false">Kind regards,</div><d= iv dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir= =3D"false">Vinay Sajip</div><br><font face=3D""lucida console", s= ans-serif"># Run failing decryption with compatibility flag<br>gpg2 --pinen= try-mode loopback --status-fd 2 --no-tty --no-verbose --fixed-list-mode --b= atch --with-colons --homedir /tmp/keys-eidfw1_9 --passphrase-fd 0 --debug-q= uick-random --decrypt --yes --output /tmp/pygpg-test-qjrpzkgk.dec --compati= bility-flags=3Dno-partial-file-guard<br># Status output from gpg<br>[GNUPG:= ] NODATA 2<br>[GNUPG:] FAILURE decrypt 429496729<br>gpg: decrypt_message fa= iled: Unknown system error<br># Messages from test harness<br>gpg returned = a non-zero error code: 2<br># The compatibility flag didn't change the resu= lt - the mode was still changed<br>Mode changed for /tmp/pygpg-test-qjrpzkg= k.dec: 0o100664 vs. 0o100700<br></font><br></div></body></html> ------=_Part_2138801_2022744884.1784102703758-- --===============1207119950113234520== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel --===============1207119950113234520==--