build(deps): bump ed25519-dalek from 2.2.0 to 3.0.0 #25

Open
nonos-sync wants to merge 1 commit from nonos-sync/gh-353 into main AGit
Member

Bumps ed25519-dalek from 2.2.0 to 3.0.0.

Changelog

Sourced from ed25519-dalek's changelog.

3.0.0

  • Update the digest dependency to 0.9. This requires a major version because the digest traits are part of the public API, but there are otherwise no changes to the API.

2.1.0

  • Make Scalar::from_bits a const fn, allowing its use in const contexts.

2.0.0

  • Fix a data modeling error in the serde 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 serde-json and ensures that the serde-bincode encoding matches the conventional encoding for X/Ed25519.
  • Update rand_core to 0.5, allowing use with new rand versions.
  • Switch from clear_on_drop to zeroize (by Tony Arcieri).
  • Require subtle = ^2.2.1 and remove the note advising nightly Rust, which is no longer required as of that version of subtle. See the subtle changelog for more details.
  • Update README.md for 2.x series.
  • Remove the build.rs hack which loaded the entire crate into its own build.rs to generate constants, and keep the constants in the source code.

The only significant change is the data model change to the serde feature; besides the rand_core version bump, there are no other user-visible changes.

1.2.4

  • Specify a semver bound for clear_on_drop rather than an exact version, addressing an issue where changes to inline assembly in rustc prevented clear_on_drop from working without an update.

1.2.3

  • Fix an issue identified by a Quarkslab audit (and Jack Grigg), where manually constructing unreduced Scalar values, as needed for X/Ed25519, and then performing scalar/scalar arithmetic could compute incorrect results.
  • Switch to upstream Rust intrinsics for the IFMA backend now that they exist in Rust and don't need to be defined locally.
  • Ensure that the NAF computation works correctly, even for parameters never used elsewhere in the codebase.
  • Minor refactoring to EdwardsPoint decompression.
  • Fix broken links in documentation.
  • Fix compilation on nightly broken due to changes to the #[doc(include)] path root (not quite correctly done in 1.2.2).

1.2.2

... (truncated)

Commits

Note

Automatic rebases have been disabled on this pull request as it has been open for over 30 days.


Opened on GitHub by dependabot[bot] as pull request 353. Review and merge happen there while this repository is kept in step from GitHub; this copy follows it, and is marked merged or closed when it is.

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](https://github.com/NON-OS/nonos-micro-kernel/issues/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](https://github.com/NON-OS/nonos-micro-kernel/issues/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](https://github.com/NON-OS/nonos-micro-kernel/issues/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 /> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. --- Opened on GitHub by dependabot[bot] as [pull request 353](https://github.com/NON-OS/nonos-micro-kernel/pull/353). Review and merge happen there while this repository is kept in step from GitHub; this copy follows it, and is marked merged or closed when it is.
Bumps [ed25519-dalek](https://github.com/dalek-cryptography/curve25519-dalek) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/dalek-cryptography/curve25519-dalek/releases)
- [Changelog](https://github.com/dalek-cryptography/curve25519-dalek/blob/3.0.0/CHANGELOG.md)
- [Commits](https://github.com/dalek-cryptography/curve25519-dalek/compare/ed25519-2.2.0...3.0.0)

---
updated-dependencies:
- dependency-name: ed25519-dalek
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin +refs/pull/25/head:nonos-sync/gh-353
git switch nonos-sync/gh-353
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
NON-OS/nonos-micro-kernel!25
No description provided.