-
Notifications
You must be signed in to change notification settings - Fork 309
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create abstract Verifier and Signer, remove key_id hack from App Engine and IAM signers #115
Conversation
…ne and IAM signers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly LG
to :attr:`key_id` and :meth:`sign`. This could result in a signature | ||
that was signed with a different key than the one indicated by | ||
:attr:`key_id`. It's recommended that if you use this in your code | ||
that you account for this behavior by building in retry logic. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
google/auth/crypt.py
Outdated
|
||
|
||
class RSASigner(Signer): | ||
"""Signs messages with a RSA private key. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
google/auth/crypt.py
Outdated
def __init__(self, private_key, key_id=None): | ||
self._key = private_key | ||
self._key_id = key_id | ||
"""""" |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
LGTM? |
Resolves #112