Open ni4 opened 2 months ago
Seems to be reproducible via windows-2022 runner, with gpg 2.4.5 and 2-bit chunk size:
2024-09-24T14:34:00.2243804Z D:/a/rnp/rnp/build/src/rnp/rnp.exe rnp.exe --homedir C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\.rnp --bzip2 --aead --aead-chunk-bits=2 --cipher CAMELLIA128 --pass-fd 4 --passwords 1 -c C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\cleartext.txt --output C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\cleartext.enc
2024-09-24T14:34:00.2244261Z Working directory: D:\a\rnp\rnp\build\src\tests
2024-09-24T14:34:00.2244283Z
2024-09-24T14:34:00.2244298Z
2024-09-24T14:34:00.2247452Z D:/a/rnp/rnp/build/src/rnp/rnp.exe rnp.exe --homedir C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\.rnp --pass-fd 4 --decrypt C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\cleartext.enc --output C:\Users\RUNNER~1\AppData\Local\Temp\rnpctmpzfgywivg\cleartext.rnp
2024-09-24T14:34:00.2247760Z Working directory: D:\a\rnp\rnp\build\src\tests
2024-09-24T14:34:00.2247772Z
2024-09-24T14:34:00.2247778Z
2024-09-24T14:34:00.2252853Z C:/Program Files/Git/usr/bin/gpg.exe gpg.exe --display-charset UTF-8 --homedir /C/Users/RUNNER~1/AppData/Local/Temp/rnpctmpzfgywivg/.gpg --pinentry-mode=loopback --batch --yes --passphrase password --trust-model always -o /C/Users/RUNNER~1/AppData/Local/Temp/rnpctmpzfgywivg/cleartext.rnp -d /C/Users/RUNNER~1/AppData/Local/Temp/rnpctmpzfgywivg/cleartext.enc
2024-09-24T14:34:00.2255855Z Working directory: D:\a\rnp\rnp\build\src\tests
2024-09-24T14:34:00.2256133Z gpg: CAMELLIA128.OCB encrypted session key
2024-09-24T14:34:00.2256341Z gpg: encrypted with 1 passphrase
2024-09-24T14:34:00.2256654Z gpg: gcry_cipher_checktag (final) failed: Checksum error
2024-09-24T14:34:00.2257216Z gpg: block_filter 0x0000000a000079c0: read error (size=1260,a->size=479)
2024-09-24T14:34:00.2257471Z gpg: bz2lib inflate problem: rc=-4
Description
In MSYS runner, test
test_sym_encryption__rnp_aead()
failed with the following log. This could just a random glitch or some rarely happening issue:GPG version information: