Skip to content

xaes-256-gcm: zeroize feature is not implemented for crate #862

Description

@eligrubb

Unlike other crates in AEADs, and other RustCrypto respositories, the xaes-256-gcm crate does not offer an optional zeroize feature or implement the ZeroizeOnDrop trait. While zeroization is generally a defense in depth attribute and not a security guarantee, offering zeroization in the xaes-256-gcm crate would decrease attack surface area for recovering key data.

The majority of sensitive data handling in xaes-256-gcm is via the underlying aes256gcm operation. aes, aes_gcm, and cipher, all currently implement the zeroize feature and could be used to add the feature to xaes-256-gcm.

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