We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2bd23 commit e5ab0baCopy full SHA for e5ab0ba
pyeudiw/x509/verify.py
@@ -151,7 +151,7 @@ def to_DER_cert(cert: str | bytes) -> bytes:
151
if _BASE64_RE.fullmatch(cert_s):
152
return B64DER_cert_to_DER_cert(cert_s)
153
154
- raise ValueError("unable to recognize input [cert] as a certificate")
+ raise ValueError("unable to recognize input as a certificate")
155
156
157
def to_PEM_cert(cert: str | bytes) -> str:
@@ -185,7 +185,7 @@ def to_PEM_cert(cert: str | bytes) -> str:
185
except UnicodeError:
186
return DER_cert_to_PEM_cert(cert_b)
187
188
189
190
def pem_to_pems_list(cert: str) -> list[str]:
191
"""
0 commit comments