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

Attestors not registered when using the attestation package directly #172

Open
adityasaky opened this issue Feb 27, 2024 · 1 comment
Open

Comments

@adityasaky
Copy link
Member

When I used the https://github.com/in-toto/go-witness/tree/main/attestation package for the attestation collection, I wasn't able to unmarshal a collection (with its collectionattestations) because attestors are registered separately in https://github.com/in-toto/go-witness/blob/main/imports.go. After pulling in these imports (and thus invoking their inits), I was able to proceed.

Note that imports.go is missing material / product, I think they're pulled in somewhere else.

@adityasaky
Copy link
Member Author

FWIW, this probably applies to signers as well, I just didn't run into that.

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

No branches or pull requests

1 participant