Skip to content

deps(deps): update frodo-kem-rs requirement from 0.9 to 0.10 - #30

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/frodo-kem-rs-0.10
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/frodo-kem-rs-0.10

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown

Updates the requirements on frodo-kem-rs to permit the latest version.

Changelog

Sourced from frodo-kem-rs's changelog.

[0.10.0]

Changed

  • Breaking: Algorithm::decapsulate, DecryptionKey::decapsulate, and hazmat::Kem::decapsulate now return the recovered message mu' as Zeroizing<Vec<u8>>, so it is wiped when dropped. It derefs to Vec<u8>; compare with *mu or mu.as_slice(). Zeroizing is re-exported from the crate root so callers can name it without depending on zeroize.

  • Breaking: DecryptionKey::decapsulate no longer takes an unused generic parameter B, which could not be inferred and forced a turbofish at every call site.

  • Breaking: Algorithm::encryption_key_from_decryption_key now returns FrodoResult<EncryptionKey>, and From<&DecryptionKey> for EncryptionKey is replaced by TryFrom. Both reject a key from another algorithm with Error::AlgorithmMismatch and a wrong-length key with Error::InvalidSecretKeyLength.

  • Breaking (hazmat): Expanded::expand_a_rows is now the required method and expand_a is provided on top of it. The four full-matrix expand_a implementations were removed; the KEM only ever used the row-streaming path.

Added

  • Algorithm::decapsulate_shared_secret and DecryptionKey::decapsulate_shared_secret return only the shared secret and skip message recovery (one SHAKE and two allocations less per call).

Security

  • Zeroize sensitive intermediate values as soon as they are no longer needed, matching the FIPS 203 §3.3 requirement for ML-KEM:
    • SHAKE hasher state (which absorbs seedSE, mu || salt, k, and s) is wiped on drop by enabling the shake zeroize feature.
    • Decapsulation wipes the re-encryption matrices B'' and C', which are derived from mu'.
    • Temporary heap copies made during serde serialization and deserialization (hex strings and byte buffers) are wiped.
    • TryFrom<Vec<u8>> and TryFrom<Box<[u8]>> wipe the consumed buffer.
    • Binary serde deserialization of the top-level types now requests an owned byte buffer (deserialize_byte_buf) and wipes it, so formats that hand over a Vec<u8> (such as serde_bare) no longer drop an unwiped copy of the key or shared secret.

Fixed

  • hazmat::Kem::generate_keypair_from_seed checked the seed length only in debug builds; a wrong-length seed in release either panicked on a slice or silently fed the surplus into the matrix-A seed. It now panics in all builds, and the panic conditions of the hazmat encapsulate and

... (truncated)

Commits
  • 7030b48 fix: resolve CI build and cargo-outdated failures
  • 4d297d8 feat!: zeroize recovered message and harden key handling (0.10.0)
  • cb7881f fix: resolve clippy and cargo-outdated CI failures
  • 59288c9 fix reported security finding
  • 77662e4 Update rstest requirement from 0.26 to 0.27
  • 9c7b5df release 0.9.1
  • 702bdc5 Bump codecov/codecov-action from 5 to 7
  • See full diff in compare view

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 commands and options

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)

Updates the requirements on [frodo-kem-rs](https://github.com/mikelodder7/frodoKem) to permit the latest version.
- [Changelog](https://github.com/mikelodder7/frodoKem/blob/main/CHANGELOG.md)
- [Commits](mikelodder7/frodoKem@v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: frodo-kem-rs
  dependency-version: 0.10.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Nov 30, 2026

Copy link
Copy Markdown
Author

Labels

The following labels could not be found: cargo, dependencies. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants