-
Notifications
You must be signed in to change notification settings - Fork 51
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
Make in-toto-golang sig env agnostic, enable DSSE #228
Conversation
So far, it doesn't implement DSSE support, it just introduces support via the Metadata interface. I'm waiting on a couple of PRs in go-securesystemslib to move to use here. |
692ab4d
to
81d8e43
Compare
I've added some tests to runlib for the DSSE envelope. I'm missing more comprehensive tests for verifylib. I have a simple one using a DSSE layout but the more complicated one is going to be regenerating link metadata using DSSE and storing them in a non confusing way. The best bet may be to rename the steps |
BTW, this PR is blocked on an upstream release of go-securesystemslib. |
Yup, that makes sense. |
I added a DSSE stack of tests @pxp928 as well. |
bb3e8a4
to
8a9cbe7
Compare
* Move them into attestations.go * Remove DSSE signer in favour of go-securesystemslib implementation Signed-off-by: Aditya Sirish <aditya@saky.in>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This change introduces the signature wrapper agnostic Metadata interface and support for DSSE. Signed-off-by: Aditya Sirish <aditya@saky.in>
Fixes issue: #148, supersedes #151
Description:
Makes in-toto-golang agnostic to the signature wrapper used via a generic
Metadata
interface that can handle either Metablock or DSSE.Please verify and check that the pull request fulfills the following
requirements: