[Gajim-devel] Cert encoding error in nbxmpp [PATCH]
robert.marx at mailbox.org
Fri Jun 8 07:06:50 CEST 2018
A small addendum: this is a variant of #51, with some ISO8859-1
characters outside the allowed UTF8 range.
Am 07.06.2018 um 21:22 schrieb Robert Marx:
> Dear Gajim developers,
> python-nbxmpp (master) seems to fail loading certificates that contain
> characters which are not allowed in utf-8 files. Some Linux
> distributions ship certificates that are encoded using ISO8859-1. This
> prevents gajim from establishing TLS connections, thus effectively
> rendering it nonfunctional. Ive read (ok skimmed) the relevant RFCs
> concerning the PEM and crt file formats and could not find any
> indication that these files (PEM, crt) are required to be UTF8 encoded.
> I've attached a patch against the master branch that fixes this problem
> with certificates using the ISO8859-1 encoding. The patch might be
> extended by including other encoding options. The ANSI encoding might be
> superfluous (probably a strict subset of UTF8) but I included it
> nonetheless to be safe.
> PS: Sorry for not going through gitlab, but I happen to be hesitant to
> subscribe for a single patch.
> Gajim-devel mailing list
> Gajim-devel at gajim.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6803 bytes
Desc: not available
More information about the Gajim-devel