Skip to content
This repository has been archived by the owner on Mar 5, 2024. It is now read-only.

verify poc key pair #1312

Merged
merged 2 commits into from Apr 25, 2022
Merged

verify poc key pair #1312

merged 2 commits into from Apr 25, 2022

Conversation

andymck
Copy link
Contributor

@andymck andymck commented Apr 25, 2022

This verifies the presented secret ( a key pair ) as part of a receipt v2 txn are valid, ie the public key was derived from the private key. It also checks the presented poc key hash was derived from the same public key. This ties the secret to the active/public POC on the ledger and guards against spurious secrets being presented

@andymck andymck added this to In progress in Light Hotspots via automation Apr 25, 2022
@andymck andymck removed this from In progress in Light Hotspots Apr 25, 2022
@evanmcc evanmcc merged commit 5e123b0 into master Apr 25, 2022
@evanmcc evanmcc deleted the andymck/verify-poc-secret branch April 25, 2022 23:25
@andymck andymck mentioned this pull request Apr 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants