Skip to content

Conversation

@gabrielbaldao
Copy link

No description provided.

self.secret_key = secret_key

def signed_challenge(self, challenge):
signature = hashlib.pbkdf2_hmac('sha256', self.secret_key,"{access_key}{challenge}".format(access_key = self.access_key, challenge = challenge), 100000 )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about creating a const to keep this 100000 value?

@gabrielbaldao gabrielbaldao changed the title WIP: Initial structure Initial structure Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants