From 54996b3c0bff79c9f42df9551f87152ac1179146 Mon Sep 17 00:00:00 2001 From: mrjoelkamp Date: Thu, 2 May 2024 16:07:04 -0500 Subject: [PATCH] docs: pr comments --- README.md | 7 +++---- pkg/attest/example_verify_test.go | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index db378a6..784059b 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,11 @@ library to create, verify, and evaluate policy for attestations on container images # usage -## verifying attestations -See [example_verify_test.go](./pkg/attest/example_verify_test.go) - -## signing attestations +## signing and verifying attestations See [example_sign_test.go](./pkg/attest/example_sign_test.go) +See [example_verify_test.go](./pkg/attest/example_verify_test.go) + ## mirroring TUF repositories to OCI See [example_mirror_test.go](./pkg/mirror/example_mirror_test.go) diff --git a/pkg/attest/example_verify_test.go b/pkg/attest/example_verify_test.go index ebdb6ac..a221073 100644 --- a/pkg/attest/example_verify_test.go +++ b/pkg/attest/example_verify_test.go @@ -66,5 +66,6 @@ func ExampleVerify_remote() { print("policy passed: %v\n", policy) return // passed policy } - // no policy for image + // no policy found for image + print("no policy for image") }