Skip to content

Commit

Permalink
Add hash algorithms to registry also
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Cameron <[email protected]>
  • Loading branch information
tetsuo-cpp committed Jan 17, 2024
1 parent 3d33e9a commit 3610161
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions docs/algorithm-registry.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,22 @@ a secure set of defaults that the community can follow.
Refer to the [Sigstore: Configurable Crypto Algorithms](https://docs.google.com/document/d/18vTKFvTQdRt3OGz6Qd1xf04o-hugRYSup-1EAOWn7MQ/)
specification for the design rationale for this registry.

| Algorithm | Name | Usage |
| --- | --- | --- |
| ECDSA | ecdsa-sha2-256-nistp256 | sign/verify |
|| ecdsa-sha2-384-nistp384 | sign/verify |
|| ecdsa-sha2-512-nistp521 | sign/verify |
| EdDSA | ed25519 | sign/verify |
|| ed25519-ph | sign/verify (recommended only for `hashedrekord`) |
## Hash Algorithms

| Algorithm | Name |
|-----------|--------------|
| SHA2 | sha2-256 |
| | sha2-256/192 |
| | sha2-384 |
| SHA3 | sha3-256 |
| | sha3-384 |

## Signature Algorithms

| Algorithm | Name | Usage |
|-----------|-------------------------|---------------------------------------------------|
| ECDSA | ecdsa-sha2-256-nistp256 | sign/verify |
| | ecdsa-sha2-384-nistp384 | sign/verify |
| | ecdsa-sha2-512-nistp521 | sign/verify |
| EdDSA | ed25519 | sign/verify |
| | ed25519-ph | sign/verify (recommended only for `hashedrekord`) |

0 comments on commit 3610161

Please sign in to comment.