Skip to content

TypeError: Unicode-objects must be encoded before hashing #14

@walter-morawa

Description

@walter-morawa

To avoid this error, change line 36 to:

        signature = hmac.new(self.secret.encode('utf-8'), url.encode('utf-8'), hashlib.sha512).hexdigest()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions