Skip to content

Commit

Permalink
Merge pull request #654 from jvanz/image_manifest_capability
Browse files Browse the repository at this point in the history
feat: update policy-evaluator enabling OCI image capability.
  • Loading branch information
jvanz authored Feb 7, 2024
2 parents ba14600 + d6f686f commit f8e16ac
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 45 deletions.
125 changes: 82 additions & 43 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ opentelemetry = { version = "0.21", default-features = false, features = [
] }
opentelemetry_sdk = { version = "0.21", features = ["rt-tokio"] }
procfs = "0.16"
policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.14.2" }
policy-evaluator = { git = "https://github.com/kubewarden/policy-evaluator", tag = "v0.15.0" }
rayon = "1.8"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion src/policy_downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ async fn create_verifier(
None
}
};
Verifier::new(sources, fulcio_and_rekor_data.as_ref())
Ok(Verifier::new(sources, fulcio_and_rekor_data.as_ref())?)
}

#[cfg(test)]
Expand Down

0 comments on commit f8e16ac

Please sign in to comment.