How to force pre 0.16.1 behavior (no lazy curve precomputation)? #277
-
Is there any way one can opt in for the old behavior where all the curves where computed during import? Usecase: I'm running some signature checks at certain points in time, each time with a different key and even though this theoretically only impacts the first verification, I'd rather do as much as possible at import time to catch nasty bugs such as this one: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Any operation with the curve generator will cause the precomputation to happen, so just take a generator for the curve you'll use and then multiply it by 2 or such, like: from ecdsa import NIST256p
NIST256p.generator * 2 iterate over all curves to precompute all |
Beta Was this translation helpful? Give feedback.
Any operation with the curve generator will cause the precomputation to happen, so just take a generator for the curve you'll use and then multiply it by 2 or such, like:
iterate over all curves to precompute all