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 889b784 commit 0036df8Copy full SHA for 0036df8
packages/google-auth/google/auth/crypt/__init__.py
@@ -29,7 +29,7 @@
29
To sign messages use :class:`RSASigner` with a private key::
30
31
private_key = open('private_key.pem').read()
32
- signer = crypt.RSASigner(private_key)
+ signer = crypt.RSASigner.from_string(private_key)
33
signature = signer.sign(message)
34
"""
35
0 commit comments