Skip to content

Commit 485ca54

Browse files
chore(deps): bump ed25519-dalek from 2.2.0 to 3.0.0 (#159)
Bumps [ed25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) from 2.2.0 to 3.0.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dalek-cryptography/curve25519-dalek/blob/3.0.0/CHANGELOG.md">ed25519-dalek's changelog</a>.</em></p> <blockquote> <h2>3.0.0</h2> <ul> <li>Update the <code>digest</code> dependency to <code>0.9</code>. This requires a major version because the <code>digest</code> traits are part of the public API, but there are otherwise no changes to the API.</li> </ul> <h2>2.1.0</h2> <ul> <li>Make <code>Scalar::from_bits</code> a <code>const fn</code>, allowing its use in <code>const</code> contexts.</li> </ul> <h2>2.0.0</h2> <ul> <li>Fix a data modeling error in the <code>serde</code> feature pointed out by Trevor Perrin which caused points and scalars to be serialized with length fields rather than as fixed-size 32-byte arrays. This is a breaking change, but it fixes compatibility with <code>serde-json</code> and ensures that the <code>serde-bincode</code> encoding matches the conventional encoding for X/Ed25519.</li> <li>Update <code>rand_core</code> to <code>0.5</code>, allowing use with new <code>rand</code> versions.</li> <li>Switch from <code>clear_on_drop</code> to <code>zeroize</code> (by Tony Arcieri).</li> <li>Require <code>subtle = ^2.2.1</code> and remove the note advising nightly Rust, which is no longer required as of that version of <code>subtle</code>. See the <code>subtle</code> changelog for more details.</li> <li>Update <code>README.md</code> for <code>2.x</code> series.</li> <li>Remove the <code>build.rs</code> hack which loaded the entire crate into its own <code>build.rs</code> to generate constants, and keep the constants in the source code.</li> </ul> <p>The only significant change is the data model change to the <code>serde</code> feature; besides the <code>rand_core</code> version bump, there are no other user-visible changes.</p> <h2>1.2.4</h2> <ul> <li>Specify a semver bound for <code>clear_on_drop</code> rather than an exact version, addressing an issue where changes to inline assembly in rustc prevented <code>clear_on_drop</code> from working without an update.</li> </ul> <h2>1.2.3</h2> <ul> <li>Fix an issue identified by a Quarkslab audit (and Jack Grigg), where manually constructing unreduced <code>Scalar</code> values, as needed for X/Ed25519, and then performing scalar/scalar arithmetic could compute incorrect results.</li> <li>Switch to upstream Rust intrinsics for the IFMA backend now that they exist in Rust and don't need to be defined locally.</li> <li>Ensure that the NAF computation works correctly, even for parameters never used elsewhere in the codebase.</li> <li>Minor refactoring to EdwardsPoint decompression.</li> <li>Fix broken links in documentation.</li> <li>Fix compilation on nightly broken due to changes to the <code>#[doc(include)]</code> path root (not quite correctly done in 1.2.2).</li> </ul> <h2>1.2.2</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/6d96eb7796d706a4f42394e14c87fe7db7a1b289"><code>6d96eb7</code></a> Bump version to 3.0.0.</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/c68b30fe13fc085e4ef36ee2cd55a06797b5dafe"><code>c68b30f</code></a> Merge pull request <a href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/330">#330</a> from isislovecruft/fix/move-coc</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/2ee61938ee15a0b7046c2b0cbfa639c98e4f9274"><code>2ee6193</code></a> Merge pull request <a href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/327">#327</a> from huitseeker/digests-0.9</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/91a0faea35ee20f3b92470f88416ee6d4ccb15d9"><code>91a0fae</code></a> Move CoC section from CONTRIBUTING.md to new file.</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/5038fcf50afd682b7f98f5a83490878ffa2526c8"><code>5038fcf</code></a> Merge pull request <a href="https://redirect.github.com/dalek-cryptography/curve25519-dalek/issues/308">#308</a> from isislovecruft/fix/pippenger-typo</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/6afd8ff212694669973043e4277f0938cebff24a"><code>6afd8ff</code></a> Update sha2, digest to 0.9</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/3cc13a7bec61d3e6047877480d98fb2bce25a80c"><code>3cc13a7</code></a> Merge branch 'master' into develop</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/c4824e1384ef188eb9284ff866e5ad6b814400f7"><code>c4824e1</code></a> Merge branch 'release/2.1.0'</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/3fc47ef8675c6c14d26b366bbe4b35767cfceffa"><code>3fc47ef</code></a> Bump version to 2.1.0</li> <li><a href="https://github.com/dalek-cryptography/curve25519-dalek/commit/f04b83055cd656f5987f9347c53d06e2674670c7"><code>f04b830</code></a> Merge branch 'master' into develop</li> <li>Additional commits viewable in <a href="https://github.com/dalek-cryptography/curve25519-dalek/compare/ed25519-2.2.0...3.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ed25519-dalek&package-manager=cargo&previous-version=2.2.0&new-version=3.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
1 parent 27c14d2 commit 485ca54

2 files changed

Lines changed: 24 additions & 139 deletions

File tree

Cargo.lock

Lines changed: 23 additions & 138 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ hex = "0.4"
3232
getrandom = "0.4"
3333
walkdir = "2.5"
3434
dirs = "6.0"
35-
ed25519-dalek = { version = "2.1", optional = true }
35+
ed25519-dalek = { version = "3.0", optional = true }
3636
ureq = { version = "3.3", optional = true }
3737

3838
[features]

0 commit comments

Comments
 (0)