--- a/eric7/WebBrowser/Network/SslErrorExceptionsDialog.py Sun Aug 29 20:21:41 2021 +0200 +++ b/eric7/WebBrowser/Network/SslErrorExceptionsDialog.py Mon Aug 30 20:02:39 2021 +0200 @@ -31,50 +31,59 @@ self.setupUi(self) self.__errorDescriptions = { - QWebEngineCertificateError.Error.SslPinnedKeyNotInCertificateChain: + QWebEngineCertificateError.Type.SslPinnedKeyNotInCertificateChain: self.tr("The certificate did not match the built-in public" " keys pinned for the host name."), - QWebEngineCertificateError.Error.CertificateCommonNameInvalid: + QWebEngineCertificateError.Type.CertificateCommonNameInvalid: self.tr("The certificate's common name did not match the" " host name."), - QWebEngineCertificateError.Error.CertificateDateInvalid: + QWebEngineCertificateError.Type.CertificateDateInvalid: self.tr("The certificate is not valid at the current date" " and time."), - QWebEngineCertificateError.Error.CertificateAuthorityInvalid: + QWebEngineCertificateError.Type.CertificateAuthorityInvalid: self.tr("The certificate is not signed by a trusted" " authority."), - QWebEngineCertificateError.Error.CertificateContainsErrors: + QWebEngineCertificateError.Type.CertificateContainsErrors: self.tr("The certificate contains errors."), - QWebEngineCertificateError.Error.CertificateNoRevocationMechanism: + QWebEngineCertificateError.Type.CertificateNoRevocationMechanism: self.tr("The certificate has no mechanism for determining if" " it has been revoked."), - QWebEngineCertificateError.Error + QWebEngineCertificateError.Type .CertificateUnableToCheckRevocation: self.tr("Revocation information for the certificate is" " not available."), - QWebEngineCertificateError.Error.CertificateRevoked: + QWebEngineCertificateError.Type.CertificateRevoked: self.tr("The certificate has been revoked."), - QWebEngineCertificateError.Error.CertificateInvalid: + QWebEngineCertificateError.Type.CertificateInvalid: self.tr("The certificate is invalid."), - QWebEngineCertificateError.Error.CertificateWeakSignatureAlgorithm: + QWebEngineCertificateError.Type.CertificateWeakSignatureAlgorithm: self.tr("The certificate is signed using a weak signature" " algorithm."), - QWebEngineCertificateError.Error.CertificateNonUniqueName: + QWebEngineCertificateError.Type.CertificateNonUniqueName: self.tr("The host name specified in the certificate is" " not unique."), - QWebEngineCertificateError.Error.CertificateWeakKey: + QWebEngineCertificateError.Type.CertificateWeakKey: self.tr("The certificate contains a weak key."), - QWebEngineCertificateError.Error + QWebEngineCertificateError.Type .CertificateNameConstraintViolation: self.tr("The certificate claimed DNS names that are in" " violation of name constraints."), - QWebEngineCertificateError.Error.CertificateValidityTooLong: + QWebEngineCertificateError.Type.CertificateValidityTooLong: self.tr("The certificate has a validity period that is" " too long."), - QWebEngineCertificateError.Error.CertificateTransparencyRequired: + QWebEngineCertificateError.Type.CertificateTransparencyRequired: self.tr("Certificate Transparency was required for this" " connection, but the server did not provide" " information that complied with the policy."), + QWebEngineCertificateError.Type + .CertificateKnownInterceptionBlocked: + self.tr("The certificate is known to be used for interception" + " by an entity other than the device owner."), + QWebEngineCertificateError.Type.SslObsoleteVersion: + self.tr("The connection uses an obsolete version of SSL/TLS."), + QWebEngineCertificateError.Type.CertificateSymantecLegacy: + self.tr("The certificate is a legacy Symantec one that's no" + " longer valid."), } for host, errors in errorsDict.items():