The old ecdsa key type is kept to be able to consume older metadata files.
Release Notes:
The go-tuf package now understands the ecdsa key type as specified by The Updateframework specification v1.0.32.
Types of changes:
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
Description of the changes being introduced by the pull request:
TUF spec v1.0.32 does not specify the ecdsa-sha2-nistp256 key type anymore. Instead the key type is ecdsa. See this PR for more details.
This fix adds ecdsa as a known key type, and the default to use when returning the "public data" for a key. The old format (ecdsa-sha2-nistp256) is still recognized as a valid key type.
Please verify and check that the pull request fulfills the following requirements:
[ ] Tests have been added for the bug fix or new feature
[ ] Docs have been added for the bug fix or new feature
The old ecdsa key type is kept to be able to consume older metadata files.
Release Notes:
The go-tuf package now understands the ecdsa key type as specified by The Updateframework specification v1.0.32.
Types of changes:
Description of the changes being introduced by the pull request: TUF spec v1.0.32 does not specify the
ecdsa-sha2-nistp256
key type anymore. Instead the key type isecdsa
. See this PR for more details. This fix addsecdsa
as a known key type, and the default to use when returning the "public data" for a key. The old format (ecdsa-sha2-nistp256
) is still recognized as a valid key type.Please verify and check that the pull request fulfills the following requirements: