Uh oh!
There was an error while loading. Please reload this page.
signature: use Fn(&mut D) for *DigestSigner/*DigestVerifier - #2004
Conversation
Uh oh!
There was an error while loading. Please reload this page.
90bda63 to
322b948CompareUh oh!
There was an error while loading. Please reload this page.
tarcieri
commented
Sep 12, 2025
I think it would be good to add some comments about the expected contract of this function, namely that it should expect to perform all of its updates in a single invocation, and if called repeatedly it should perform the same sequence of updates |
322b948 to
7789863Comparedaxpedda
commented
Sep 12, 2025
Update for the signatures repo is up: RustCrypto/signatures#1064. |
7789863 to
77c001cCompareUh oh!
There was an error while loading. Please reload this page.
FYI because Also just noticing that if we actually do EDIT: Went with |
Fn(&mut D) for Async/Randomized/Digest/Signer/VerifierFn(&mut D) for *DigestSigner/*DigestVerifierUh oh!
There was an error while loading. Please reload this page.
tarcieri
commented
Sep 13, 2025
@daxpedda this is kind of annoying re: Maybe it should just be |
daxpedda
commented
Sep 13, 2025
Yeah, we can just use I mentioned this before, but we might want to add |
Also bumps `ecdsa` to v0.17.0-rc.7 This brings `*DigestSigner`/`*DigestVerifier` changes introduced in RustCrypto/traits#2004
tarcieri
commented
Sep 13, 2025
Aah, I see, it looks like it did in |
Also bumps `ecdsa` to v0.17.0-rc.7 This brings `*DigestSigner`/`*DigestVerifier` changes introduced in RustCrypto/traits#2004
This brings `*DigestSigner`/`*DigestVerifier` changes introduced in RustCrypto/traits#2004
This brings `*DigestSigner`/`*DigestVerifier` changes introduced in RustCrypto/traits#2004
This brings `*DigestSigner`/`*DigestVerifier` changes introduced in RustCrypto/traits#2004
## Added - `RandomizedSignerMut` trait (#1448) - `core::error::Error` support (#1711) - Async traits incorporated from the `async-signature` crate (#1720, #2288) - `MultipartSigner` and `MultipartVerifier` traits (#1880) ## Changed - Edition changed to 2024 and MSRV bumped to 1.85 (#1759) - Use `Fn(&mut D)` for `*DigestSigner`/`*DigestVerifier` (#2004) - Bump `rand_core` to v0.10 (#2250) - Bump `digest` to v0.11 (#2300) ## Removed - Error source from display message (#1689) - `std` feature (#1829) - `derive` feature (#1843) - `SignerMut` blanket implementation for `Signer` (#1915) - `PrehashSignature` trait (#1924)
I honestly tried to find the right words for the documentation, but it all sounds rather off to me.
My suspicion is that we will actually need
FnMuthere if users intend to use someReaderAPI inside.Companion PR: RustCrypto/signatures#1064.
Resolves#2003.