Skip to content

Trait for weak keys #1738

@baloo

Description

@baloo

It would be great to get a trait to test for weak keys.

For example there are 64 known weak keys for DES (https://en.wikipedia.org/wiki/Weak_key#Weak_keys_in_DES), or an AES key with zeros on the upper half.

The purpose is the rejection of weak keys as specified in the TPM spec section 11.4.10.4:
https://trustedcomputinggroup.org/wp-content/uploads/TPM-2.0-1.83-Part-1-Architecture.pdf#page=82

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