replace golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp

This commit is contained in:
Paul Cacheux
2023-10-31 11:21:40 +01:00
committed by Benj Fassbind
parent f1649a647b
commit cfcab13c2a
4 changed files with 49 additions and 21 deletions
+4 -6
View File
@@ -13,12 +13,10 @@ import (
"github.com/pkg/errors"
// TODO: replace crypto/openpgp since it is deprecated
// https://github.com/golang/go/issues/44226
"golang.org/x/crypto/openpgp" //nolint:staticcheck
"golang.org/x/crypto/openpgp/clearsign" //nolint:staticcheck
openpgp_errors "golang.org/x/crypto/openpgp/errors" //nolint:staticcheck
"golang.org/x/crypto/openpgp/packet" //nolint:staticcheck
"github.com/ProtonMail/go-crypto/openpgp"
"github.com/ProtonMail/go-crypto/openpgp/clearsign"
openpgp_errors "github.com/ProtonMail/go-crypto/openpgp/errors"
"github.com/ProtonMail/go-crypto/openpgp/packet"
"golang.org/x/term"
)