FilOzone / FilOzone/SessionKeyRegistry

Support secp256r1

Open
#3 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Solidity
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

A registry user wanting to support multiple curves would need to check both, or have a flag identifying which.

Without FIL having the precompile, would need to support it via a library like https://gist.github.com/Vectorized/599b0d8a94d21bc74700eb1354e2f55c

There are some differences between these libraries and ecrecover
1. ecrecover returns an address (pk-hash)
2. these libraries and also 7212 and eip-7951 require you to pass the public key to the signature verification

So this will be a more complicated flow than secp256k1 unless we can find a library that recovers the public key.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.