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

Commit 3dd119f

Browse files
Update google/auth/crypt/rsa.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 02dace8 commit 3dd119f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google/auth/crypt/rsa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(self, private_key, key_id=None):
102102
elif module_str.startswith(CRYPTOGRAPHY_KEY_MODULE_PREFIX):
103103
impl_lib = _cryptography_rsa
104104
else:
105-
raise ValueError(f"unrecognized private key type: {private_key}")
105+
raise ValueError(f"unrecognized private key type: {type(private_key)}")
106106
self._impl = impl_lib.RSASigner(private_key, key_id=key_id)
107107

108108
@property # type: ignore

0 commit comments

Comments
 (0)