Bugzilla – Bug 16170
libgpg: gpg_verify_signature no algorithm returned on non english locales
Last modified: 2024-01-27 16:47:57 UTC
In libgpg at line 66 there is a call to awk. This fails to actually get the algorithm if the output of gpg is not english as it is searching for an string in that language. This causes the signature verification to fail when casting. A possible fix would be to pass the list of allowed hashes to gpg_verify_signature and grep for them in the output of the gpg command.
Created attachment 7633 [details] Fix: change LC_ALL to LANGUAGE
The patch is problematic, see the original bug report on this issue. *** This bug has been marked as a duplicate of bug 14705 ***