Skip to content

Implement ZeroizeOnDrop for SecretKeyVT #74

Description

@dima74

Would be nice to leverage zeroize crate (already in dependencies) to zeroizing secret keys on drop.

E.g. similar to ed25519-dalek:

impl Drop for SecretKeyVT {
    fn drop(&mut self) {
        self.0.zeroize();
    }
}

impl ZeroizeOnDrop for SecretKeyVT {}

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