Skip to content

[ROS] Improve sanitization of sensitive data in memory after use #634

Open

Description

@hko-s

See RPG-024 in 2024 ROS Evaluation for more detail.

The ROS evaluation recommends zeroize annotations on:

  • Passphrase strings
  • Secret keys derived by the String-to-Key (S2K) mechanism

And for the upcoming 0.11 RustCrypto releases:

  • enable zeroize for the sha1 and sha2 crates (and potentially other hash libraries)

Finally, the report also recommends:

Improve the public documentation on what rPGP considers sensitive.

Activity

  1. changed the title [-]Consider further mitigation of resource exhaustion with excessive argon2 parameters[/-] [+][ROS] Consider further mitigation of resource exhaustion with excessive argon2 parameters[/+] on Sep 2, 2025
  2. changed the title [-][ROS] Consider further mitigation of resource exhaustion with excessive argon2 parameters[/-] [+][ROS] Improve sanitization of sensitive data in memory after use[/+] on Jan 26, 2026
  3. invd commented on Feb 13, 2026

    @invd

    Partially related: #669, which motivated some improvements in #694.

  4. ros-cr commented on Apr 9, 2026

    @ros-cr
    Contributor

    Some relevant improvements: #745

  5. ros-cr commented on Apr 9, 2026

    @ros-cr
    Contributor

    The 0.11 versions of the RustCrypto sha crates are still not stable. Relevant open PR on the rpgp side: #573.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions