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

No make rules for re-creating pre-built 'policy.wasm' #427

Open
berrange opened this issue Oct 2, 2024 · 0 comments
Open

No make rules for re-creating pre-built 'policy.wasm' #427

berrange opened this issue Oct 2, 2024 · 0 comments

Comments

@berrange
Copy link

berrange commented Oct 2, 2024

The recently released prebuilt dcap 1.22 archive contains a new file ./prebuilt/opa_bin/policy.wasm

There do not appear to be any makefile rules that generate this binary file. Given the name I'm guessing that it was probably created from the ./QuoteVerification/appraisal/qal/opa_bin/qal_script.rego file, but I'm unclear what exact opa command line to use to generate the WASM file from this rego file in a reproducible way.

Please at least document this, but preferably provide makefile rules to allow users to generate it during the build process.

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