Skip to content

Commit

Permalink
Silence go-staticcheck about openpgp use
Browse files Browse the repository at this point in the history
We already silence the CI linters, this silences warnings
in the Visual Studio Code default configuration.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac committed Mar 14, 2022
1 parent 73a7946 commit e429596
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions signature/mechanism.go
Expand Up @@ -13,6 +13,7 @@ import (
// code path, where cryptography is not relevant. For now, continue to
// use this frozen deprecated implementation. When mechanism_openpgp.go
// migrates to another implementation, this should migrate as well.
//lint:ignore SA1019 See above
"golang.org/x/crypto/openpgp" //nolint:staticcheck
)

Expand Down
1 change: 1 addition & 0 deletions signature/mechanism_openpgp.go
Expand Up @@ -20,6 +20,7 @@ import (
// For this verify-only fallback, we haven't reviewed any of the
// existing alternatives to choose; so, for now, continue to
// use this frozen deprecated implementation.
//lint:ignore SA1019 See above
"golang.org/x/crypto/openpgp" //nolint:staticcheck
)

Expand Down

0 comments on commit e429596

Please sign in to comment.