diff --git a/autosign/cmd/autosign-receiver/process.go b/autosign/cmd/autosign-receiver/process.go index d9eb3e1..35643a4 100644 --- a/autosign/cmd/autosign-receiver/process.go +++ b/autosign/cmd/autosign-receiver/process.go @@ -74,10 +74,9 @@ func ProcessIncoming(config Config) error { continue } - // XXX: use fs.Stat(fileSystem, filename + ".sig") here instead? - // github.com/jszwec/s3fs implements StatFS if _, err := os.Stat(incomingFilepath + ".sig"); err != nil { log.Printf("Warning: skipping %q because signature was not present", filename) + continue } // verify attestation