Update recover_pk.py with first TruST25 (ST) key

TruST25 (ST) - KeyID 0x04?
`curve=secp128r1, hash=sha256` - from block 63 in ST25TV, starting with KeyID?

Tested on multiple `ST25TV02KC` - `K04S` at block 63, signature in ... ASCII...

Signed-off-by: Benjamin DELPY <benjamin@gentilkiwi.com>
This commit is contained in:
Benjamin DELPY 2024-04-23 01:11:05 +02:00 committed by GitHub
parent b4ba36c1ff
commit e6ad06a2c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -176,6 +176,14 @@ def selftests():
"20593261", "F762CDD59EEDC075F4DDBA7ECD529FEEE5135C65A84D12EF0A250A321B2012F5"],
'pk': "046F70AC557F5461CE5052C8E4A7838C11C7A236797E8A0730A101837C004039C2"},
# TruST25 (ST) - KeyID 0x04?
# curve=secp128r1, hash=sha256 - from block 63 in ST25TV, starting with KeyID ?
{'name': "ST25TV02KC - TruST25 (ST) - KeyID 0x04?",
'samples': ["E00208000A227AAA", "FE458A550ACD30B45B9C4D10676FC63E30AC69027217547FBDF04A8F7942AD3B",
"E00208000A17DB6E", "B3ED5025F16455AAC6012CA1C1FC5F94F8C805AF1EF6A86B646081C9916CDD2E",
"E00208000A174F60", "AB42F1FA68D7470F91D4ED77C4D951B1B4AAB006812BE194BFEB7AAE48E4FA45"],
'pk': "04101e188a8b4cddbc62d5bc3e0e6850f0c2730e744b79765a0e079907fbdb01bc"},
]
succeeded = True
for t in tests: