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 f0c53a3 commit 8e47d61Copy full SHA for 8e47d61
examples/client_validation.py
@@ -38,7 +38,7 @@ def example():
38
key_size=2048,
39
backend=default_backend()
40
)
41
- public_key = key_pair.public_key().public_bytes(Encoding.PEM, PublicFormat.PKCS1)
+ public_key = key_pair.public_key().public_bytes(Encoding.PEM, PublicFormat.SubjectPublicKeyInfo)
42
private_key = key_pair.private_bytes(Encoding.PEM, PrivateFormat.PKCS8, NoEncryption())
43
44
# Register the public key with Twilio
@@ -69,4 +69,4 @@ def example():
69
70
71
if __name__ == '__main__':
72
- example()
+ example()
0 commit comments