Philipp Hörist pushed to branch master at gajim / gajim
Commits: c24ad2d8 by André at 2023-04-11T19:59:02+00:00 fix: CertificateDialog: Display issued-to information correctly
- - - - -
1 changed file:
- gajim/gtk/certificate_dialog.py
Changes:
===================================== gajim/gtk/certificate_dialog.py ===================================== @@ -69,11 +69,11 @@ def __init__(self, account: str, certificate: Gio.TlsCertificate) -> None: # See https://datatracker.ietf.org/doc/html/rfc4514.html dotted_string = attribute.oid.dotted_string if dotted_string == '2.5.4.3': - self._ib_common_name = str(attribute.value) + self._it_common_name = str(attribute.value) if dotted_string == '2.5.4.10': - self._ib_organization = str(attribute.value) + self._it_organization = str(attribute.value) if dotted_string == '2.5.4.11': - self._ib_org_unit = str(attribute.value) + self._it_org_unit = str(attribute.value)
serial_str = '0{:02X}'.format(cert.serial_number) serial_str_foratted = ':'.join(
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c24ad2d8bc89573b2f914424459a47f44...