Fix failing lint check for deprecated x/crypto/openpgp library
This commit is contained in:
parent
7aeaec9b48
commit
2fc4e06890
|
@ -9,6 +9,9 @@ import (
|
|||
"log"
|
||||
"strings"
|
||||
|
||||
// TODO: replace crypto/openpgp since it is deprecated
|
||||
// https://github.com/golang/go/issues/44226
|
||||
//lint:file-ignore SA1019 openpgp is deprecated but there are no good alternatives yet
|
||||
"golang.org/x/crypto/openpgp"
|
||||
openpgpArmor "golang.org/x/crypto/openpgp/armor"
|
||||
openpgpErrors "golang.org/x/crypto/openpgp/errors"
|
||||
|
|
|
@ -9,6 +9,10 @@ import (
|
|||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
|
||||
// TODO: replace crypto/openpgp since it is deprecated
|
||||
// https://github.com/golang/go/issues/44226
|
||||
//lint:file-ignore SA1019 openpgp is deprecated but there are no good alternatives yet
|
||||
"golang.org/x/crypto/openpgp"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue