Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 5573db6

Browse files
committed
added docstring warnings
1 parent ddacaf2 commit 5573db6

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

google/auth/crypt/_python_rsa.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ def _bit_list_to_bytes(bit_list):
7474
class RSAVerifier(base.Verifier):
7575
"""Verifies RSA cryptographic signatures using public keys.
7676
77+
.. deprecated::
78+
The `rsa` library has been archived. Please migrate to
79+
`cryptography`.
80+
7781
Args:
7882
public_key (rsa.key.PublicKey): The public key used to verify
7983
signatures.
@@ -126,6 +130,10 @@ def from_string(cls, public_key):
126130
class RSASigner(base.Signer, base.FromServiceAccountMixin):
127131
"""Signs messages with an RSA private key.
128132
133+
.. deprecated::
134+
The `rsa` library has been archived. Please migrate to
135+
`cryptography`.
136+
129137
Args:
130138
private_key (rsa.key.PrivateKey): The private key to sign with.
131139
key_id (str): Optional key ID used to identify this private key. This

0 commit comments

Comments
 (0)