kubewarden / policy-sdk-rust

Kubewarden Policy SDK for the Rust programming language
https://kubewarden.io
Apache License 2.0
8 stars 6 forks source link

fix!: Make `verify_cert()`, return `Result<BoolWithReason>` & bump version #72

Closed viccuad closed 2 years ago

viccuad commented 2 years ago

Description

Relates to https://github.com/kubewarden/verify-image-signatures/pull/47#discussion_r1034836373

Make verify_cert(), return Result<SDK::BoolWithReason>. Response either returns:

Bump version to 0.8.5

Test

No need.

Additional Information

Tradeoff

Potential improvement

viccuad commented 2 years ago

Tagged 0.8.5 in main.