feat(identity): switch from libsecp256k1 to k256#5892
feat(identity): switch from libsecp256k1 to k256#5892mergify[bot] merged 23 commits intolibp2p:masterfrom
Conversation
|
This is very interesting. The test vector for secp256k1(aka k256) contains a p256(aka ecdsa) public key, so the test failed. But the test should fail before switching to |
Are you sure that this is the case for the test failing ? in This is consistent in both the PR branch and the master branch. After this , this just calls the Secp256k1's Also the public key you mentioned is derived from certificate's subject public key info while the public key used in this is from certificate's |
That makes sense. Thanks for the explanation! |
|
cc @jxs |
|
|
|
CI reported |
The tag for |
jxs
left a comment
There was a problem hiding this comment.
The tag for
libp2p-identity-v0.2.10was missing. Pushed it now and re-ran the CI check.semver check is still failing because of this:
Line 87 in 3b72e75
which is not linked to the workspace, but patched by:
Lines 148 to 156 in 3b72e75
I'm not sure how do deal with this.
it's expected, we need to release it for cargo-semver-checks to stop complaining
That means we will merge with the failed check, right? I know it is not a required check though. |
jxs
left a comment
There was a problem hiding this comment.
it's expected, we need to release it for
cargo-semver-checksto stop complainingThat means we will merge with the failed check, right? I know it is not a required check though.
yeah exactly
default feature for libp2p-identity is for testing purpose only
jxs
left a comment
There was a problem hiding this comment.
Thanks DHuang, looks almost ready. Left some final comments
Description
libsecp256k1is considered unmaintained, see #159.Brief discussion here: #5888.
k256is also a pure Rust implementation just likelibsecp256k1.Notes & open questions
Change checklist
I have made corresponding changes to the documentation