Closed danbev closed 2 years ago
Currently, commands like in-toto-sign, and in-toto-run support a command line option named --key-type:
in-toto-sign
in-toto-run
--key-type
-t {rsa,ed25519}, --key-type {rsa,ed25519}
Would it be possible to add support for ECDSA key types?
The reason for asking this that it would be nice to be able to use keys generated by cosign but currently it looks like cosign only generates ECDSA-P256 keys and uses SHA256 hashes.
cosign
I'm not sure if this helps or not, but it looks like securesystemslib has support for KEY_TYPE_ECDSA.
securesystemslib
Sorry, I opened this against the wrong repo.
Currently, commands like
in-toto-sign
, andin-toto-run
support a command line option named--key-type
:Would it be possible to add support for ECDSA key types?
The reason for asking this that it would be nice to be able to use keys generated by
cosign
but currently it looks likecosign
only generates ECDSA-P256 keys and uses SHA256 hashes.I'm not sure if this helps or not, but it looks like
securesystemslib
has support for KEY_TYPE_ECDSA.