-
Notifications
You must be signed in to change notification settings - Fork 331
Closed
Labels
bugunintended behaviour in ecdsa codeunintended behaviour in ecdsa code
Milestone
Description
Given that scale()
will be called by __mul__()
, and it technically mutates the object, and it's the operation used for signing, it may happen that two scale()
will execute at the same time, causing the generated point to be malformed.
wrap scale()
in threading.Lock()
to prevent that from happening
Metadata
Metadata
Assignees
Labels
bugunintended behaviour in ecdsa codeunintended behaviour in ecdsa code