You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry for bothering you again but the latest releases for the v3 and v2 branches fail the tests.
go version
go version go1.27.1 linux/amd64
2.11.0:
go test ./...
? github.com/ProtonMail/gopenpgp/v2/armor [no test files]
? github.com/ProtonMail/gopenpgp/v2/constants [no test files]
--- FAIL: TestTextMessageEncryptionWithCompression (0.01s)
assertion_compare.go:332:
Error Trace: message_test.go:177
Error: "149" is not less than "133"
Test: TestTextMessageEncryptionWithCompression
Messages: []
--- FAIL: TestDataPacketEncryptionWithCompression (0.00s)
assertion_compare.go:332:
Error Trace: sessionkey_test.go:337
Error: "149" is not less than "133"
Test: TestDataPacketEncryptionWithCompression
Messages: []
FAIL
FAIL github.com/ProtonMail/gopenpgp/v2/crypto 2.447s
ok github.com/ProtonMail/gopenpgp/v2/helper 0.237s
? github.com/ProtonMail/gopenpgp/v2/internal [no test files]
? github.com/ProtonMail/gopenpgp/v2/models [no test files]
ok github.com/ProtonMail/gopenpgp/v2/subtle (cached)
FAIL
3.5.1:
go test ./...
? github.com/ProtonMail/gopenpgp/v3/armor [no test files]
? github.com/ProtonMail/gopenpgp/v3/constants [no test files]
--- FAIL: TestEncryptCompressionApplied (0.01s)
--- FAIL: TestEncryptCompressionApplied/PQC (0.00s)
encrypt_decrypt_test.go:956: Expected compressed encrypted message to be smaller than the encrypted message
FAIL
FAIL github.com/ProtonMail/gopenpgp/v3/crypto 8.041s
ok github.com/ProtonMail/gopenpgp/v3/internal (cached)
ok github.com/ProtonMail/gopenpgp/v3/mime (cached)
ok github.com/ProtonMail/gopenpgp/v3/mobile (cached)
? github.com/ProtonMail/gopenpgp/v3/profile [no test files]
FAIL
Activity
lubux commentedon Sep 30, 2026
Hi, thanks. Go 1.27 introduced a new zlib encoder, which is less effective on small inputs.
This should fix it;
#373
#372
mdosch commentedon Sep 30, 2026