server/pkg/publisher/repository.go
Method S3Repository.GenPrivKeys
has 5 return statements (exceeds 4 allowed). Open
Open
func (repository *S3Repository) GenPrivKeys() error {
if _, err := repository.TufRepo.GenKey("root"); err != nil {
return fmt.Errorf("error generating tuf repository root key: %w", err)
}