model-writtenrun 3602 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- shihao zhong proposed validating text returned by symmetric and public-key PGP decryption, with dedicated UTF8 tests and relocation of an existing encoding-sensitive test, in #1.
- Cary Huang reported regression failures caused by missing expected encoding errors and suggested warnings instead of transaction-aborting errors in #2.
- shihao zhong corrected the expected output in #3 and defended rejecting invalid text, explaining that callers needing arbitrary binary output should use the bytea decryption functions.
- Noah Misch committed #3 as d536aee556, preserving both validation calls while replacing the UTF8-specific tests with an encoding-independent NUL-byte test and using bytea decryption for the existing dat3 test; the commit specifies backpatching through PostgreSQL 14.
- After roughly two years, Noah Misch confirmed the landing in #4, explaining that security work on CVE-2026-2006 revived the proposal and that the main security fix already prevented invalid text from being a vulnerability; the thread ended with this additional validation adopted.