You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when calling cosign’s verify-blob subcommand, it will actually load the entire message into memory first, before passing it to the SignerVerifier.VerifySignature() method. This means that verifying a 1GB file will use an additional 1GB of memory. This is likely undesirable, so this issue is requesting that it instead pass along an io.Reader of the file, so it can be streamed, instead of pre-loaded.
Uh oh!
There was an error while loading. Please reload this page.
Description
Currently, when calling cosign’s verify-blob subcommand, it will actually load the entire message into memory first, before passing it to the
SignerVerifier.VerifySignature()
method. This means that verifying a 1GB file will use an additional 1GB of memory. This is likely undesirable, so this issue is requesting that it instead pass along anio.Reader
of the file, so it can be streamed, instead of pre-loaded.cosign/cmd/cosign/cli/verify/verify_blob.go
Line 181 in 647eca1
The text was updated successfully, but these errors were encountered: