mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
recover_pk: add note about hashes
This commit is contained in:
parent
31c96ae7cf
commit
55224eed75
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ debug = False
|
||||||
|
|
||||||
def recover(data, signature):
|
def recover(data, signature):
|
||||||
recovered = set()
|
recovered = set()
|
||||||
|
# Some, like Vivokey Spark1, are doing a SHA256
|
||||||
|
# alghash = "sha256"
|
||||||
alghash = None
|
alghash = None
|
||||||
if len(signature) == 32:
|
if len(signature) == 32:
|
||||||
curve = sslcrypto.ecc.get_curve("secp128r1")
|
curve = sslcrypto.ecc.get_curve("secp128r1")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue