Fedora Account System
Red Hat Associate
Red Hat Customer
A flaw was found in sequoia-openpgp. The default ASCII-armor ReaderMode is Tolerant. Header detection treats Unicode dash punctuation, including en dash and em dash, as armor framing dashes, and the header search ignores leading quote characters such as greater-than. A byte stream can therefore contain an out-of-specification armor region that this reader accepts and a later specification-compliant region that a strict reader accepts. The two readers then yield different data. sequoia-openpgp 2.4.2 has no ReaderMode::Strict. The unreleased fix adds that mode as an opt-in. The default remains tolerant.