Skip to content

zeroize: stack zeroization support #810

@tarcieri

Description

@tarcieri

It would be nice to be able to zeroize the stack, particularly being able to track how deep the stack grew while executing a particular section of code, and then zeroing out that whole portion of the stack.

This crate might provide the functionality needed to implement such functionality: https://crates.io/crates/psm

Additionally some proc macro annotation might be needed like #[sensitive] which could inject code to instrument the stack and track its depth.

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