Skip to content

Wrap decrypted genesis bytes in zeroizing container #55

@kitplummer

Description

@kitplummer

Summary

crypto::open() returns decrypted genesis bytes as Vec<u8>. These should be wrapped in a zeroizing container (e.g., zeroize::Zeroizing<Vec<u8>>) to ensure automatic memory cleanup on drop.

The KEK is already properly zeroized — this extends the same protection to decrypted data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Nice to havesecuritySecurity-related

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions