feat: switch to version 2.0 (pre) of the signature crate#217
feat: switch to version 2.0 (pre) of the signature crate#217tarcieri merged 5 commits intoRustCrypto:masterfrom
Conversation
|
Converted to draft to prevent merging the PR with |
0cd2049 to
c28a2c1
Compare
|
FYI, I'm cutting a crate prerelease here shortly: RustCrypto/traits#1145 |
|
@dignifiedquire @tarcieri gracious ping for the review. |
|
@lumag can you rebase? |
|
@tarcieri rebased |
tarcieri
left a comment
There was a problem hiding this comment.
This looks fine now as a first pass.
Curious what @dignifiedquire thinks about another breaking release so soon.
We should coordinate with ed25519-dalek and the https://github.com/RustCrypto/signatures crates to have signature v2.0 releases ready at the same time.
|
|
@dignifiedquire yeah, the plan is to coordinate with I think everything on |
|
@lumag can you rebase please? |
Done |
|
@lumag looks good other than the one nit about the RNG trait bounds |
Rework the crate to implement traits from the preview of the signature crate. Use Vec<u8> as Self::Repr type. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Drop the hand-crafted From traits, replacing them with the implementation of the Keypair trait. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Now that the signature's hazmat-preview feature has matured, enable corresponding interfaces by default and drop the 'hazmat' feature. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Allow generating random SigningKey structs directly. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
@tarcieri Added the `?Sized` where it seems suitable.
|
|
The PRs for updating the This is the only remaining one. I'd suggest we merge this soon so we can further iterate on |
Rework the crate to implement traits from the preview of the signature crate. Use Vec as Self::Repr type.
Note: I'm yet to see how will this impact the code in my projects. But for the evaluation I'd first need
ecdsa/p384to be updated.cc @tarcieri @dignifiedquire