On Mon, 2024-06-24 at 18:43 +0200, Andreas Metzler wrote: > Thank you, I have forwarded this to the upstream tracker.
Thanks a lot. To give out a bit more context, we got an python Exception on mentors.debian.net triggered by an upload, signed by sq (Sequoia). The tool apparently adds a random binary salt to the signature as notation data, which is then present in the status output. We read the status output as utf-8 encoded data (perhaps wrongfully) and python failed to decode the output because the salt was neither escaped properly nor valid utf-8 output. I do expect we will not be the only one affected by this issue. I'd like to point out that other function in gpg seem to escape char over 127 (such as in `print_hashline` from `g10/gpg.c`). Best, -- Baptiste Beauplat
signature.asc
Description: This is a digitally signed message part