Skip to content

simplify hashing #943

Open
Open
@jku

Description

Currently the hash module in securesystemslib supports multiple hash libraries:

  • This seems bonkers to me and I've never seen anyone use this functionality
  • It also makes type annotating the module a pain: this is pretty much the reason why securesystemslib is not yet marked as annotated (there are other unannotated modules but they are not as core the the library as hash is)

I think we can keep providing most of the API, but remove the cryptography support (from hashes module) and use only hashlib.

Metadata

Assignees

No one assigned

    Labels

    discussionIssues that require discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions