Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

part 4: allow signing with multiple TUF format #380

Merged
merged 7 commits into from
Sep 20, 2022

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Sep 16, 2022

Signed-off-by: Asra Ali asraa@google.com

  • Allow signing with multiple TUF key formats, exposing a boolean to allow for deprecated Key IDs.
  • Update scripts to add signatures associated to deprecated key IDs signing for root role
  • Simplifies code by removing the SigningAndKey struct: we use a TUF key constructor from a signature.Signer

Fixes #329

Summary

Release Note

Documentation

Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa changed the title part 4: allow signing with multiple TUF format WIP: part 4: allow signing with multiple TUF format Sep 16, 2022
Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa changed the title WIP: part 4: allow signing with multiple TUF format part 4: allow signing with multiple TUF format Sep 19, 2022
Signed-off-by: Asra Ali <asraa@google.com>
Signed-off-by: Asra Ali <asraa@google.com>
@asraa
Copy link
Contributor Author

asraa commented Sep 19, 2022

Ready for review!

@kommendorkapten
Copy link
Member

On all, the PR looks good, waiting for clarification on one comment I had (I'm probably wrong, but just want to be sure).

Signed-off-by: Asra Ali <asraa@google.com>
Copy link
Member

@kommendorkapten kommendorkapten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

dlorenc
dlorenc previously approved these changes Sep 20, 2022
joshuagl
joshuagl previously approved these changes Sep 20, 2022
cmd/tuf/app/add-delegation.go Show resolved Hide resolved
cmd/tuf/app/sign.go Outdated Show resolved Hide resolved
pkg/repo/repo.go Outdated Show resolved Hide resolved
Signed-off-by: Asra Ali <asraa@google.com>
@asraa
Copy link
Contributor Author

asraa commented Sep 20, 2022

Thank you all!

@asraa asraa merged commit d367c90 into sigstore:main Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: python-tuf incompatibility because of hex-encoded ECDSA keys
5 participants