From 5cf63972d29e3a915b5ac68e78f84733b280316b Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Mon, 23 Sep 2024 20:23:35 +0800 Subject: [PATCH] fix Signed-off-by: Patrick Zheng --- cmd/notation/verify.go | 2 +- go.mod | 2 +- go.sum | 4 ++-- test/e2e/plugin/go.mod | 2 +- test/e2e/plugin/go.sum | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/notation/verify.go b/cmd/notation/verify.go index 8af06fb39..8943c087c 100644 --- a/cmd/notation/verify.go +++ b/cmd/notation/verify.go @@ -238,7 +238,7 @@ func getVerifier(ctx context.Context) (notation.Verifier, error) { if err != nil { return nil, err } - cacheRoot, err := dir.CacheFS().SysPath() + cacheRoot, err := dir.CacheFS().SysPath(dir.PathCRLCache) if err != nil { return nil, err } diff --git a/go.mod b/go.mod index bda4afe47..e0b8207ab 100644 --- a/go.mod +++ b/go.mod @@ -33,4 +33,4 @@ require ( golang.org/x/sys v0.25.0 // indirect ) -replace github.com/notaryproject/notation-go => github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07 +replace github.com/notaryproject/notation-go => github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24 diff --git a/go.sum b/go.sum index 0e64e0953..64688f555 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,7 @@ github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8= github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU= -github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07 h1:H6okFM5g1MNInNCkGcXHd3pyp0f5WTvd4+PTTdCGIjU= -github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07/go.mod h1:F6zMQl3PhVdCsI1xlIjK66kCorUQhWkoMtlZdvJWxFI= +github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24 h1:5HtwREMo8S5tESpaA2ncl1LiCppGIz0VcTkcWUqaxcw= +github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24/go.mod h1:F6zMQl3PhVdCsI1xlIjK66kCorUQhWkoMtlZdvJWxFI= github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa h1:LHTHcTQiSGT7VVbI0o4wBRNQIgn917usHWOd6VAffYI= github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa/go.mod h1:cEWa1LVoE5KvSD9ONXsZrj0z6KqySlCCNKHlLzbqAt4= github.com/cpuguy83/go-md2man/v2 v2.0.4/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= diff --git a/test/e2e/plugin/go.mod b/test/e2e/plugin/go.mod index c3cbb5f14..dae978cf3 100644 --- a/test/e2e/plugin/go.mod +++ b/test/e2e/plugin/go.mod @@ -30,4 +30,4 @@ require ( oras.land/oras-go/v2 v2.5.0 // indirect ) -replace github.com/notaryproject/notation-go => github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07 +replace github.com/notaryproject/notation-go => github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24 diff --git a/test/e2e/plugin/go.sum b/test/e2e/plugin/go.sum index b3d35e672..f02870176 100644 --- a/test/e2e/plugin/go.sum +++ b/test/e2e/plugin/go.sum @@ -1,7 +1,7 @@ github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 h1:mFRzDkZVAjdal+s7s0MwaRv9igoPqLRdzOLzw/8Xvq8= github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358/go.mod h1:chxPXzSsl7ZWRAuOIE23GDNzjWuZquvFlgA8xmpunjU= -github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07 h1:H6okFM5g1MNInNCkGcXHd3pyp0f5WTvd4+PTTdCGIjU= -github.com/Two-Hearts/notation-go v0.0.0-20240923044024-48ced53f9a07/go.mod h1:F6zMQl3PhVdCsI1xlIjK66kCorUQhWkoMtlZdvJWxFI= +github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24 h1:5HtwREMo8S5tESpaA2ncl1LiCppGIz0VcTkcWUqaxcw= +github.com/Two-Hearts/notation-go v0.0.0-20240923120617-5201cce5bc24/go.mod h1:F6zMQl3PhVdCsI1xlIjK66kCorUQhWkoMtlZdvJWxFI= github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa h1:LHTHcTQiSGT7VVbI0o4wBRNQIgn917usHWOd6VAffYI= github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa/go.mod h1:cEWa1LVoE5KvSD9ONXsZrj0z6KqySlCCNKHlLzbqAt4= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=