aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorKoni Marti <koni.marti@gmail.com>2021-12-30 10:25:07 +0100
committerRobin Jarry <robin@jarry.cc>2022-01-07 13:45:34 +0100
commit8813fadfe9ec33361314064a284c612e5e3fa784 (patch)
treef3547d983cc322356b67865162a1228803a0b4f0 /widgets
parentbc593ac7cdb20621aba685987f2a92c9bd880358 (diff)
downloadaerc-8813fadfe9ec33361314064a284c612e5e3fa784.tar.gz
pgp: update openpgp packages (go-crypto and go-pgpmail)
Replaces golang.org/x/crypto with github.com/ProtonMail/go-crypto consistently and updates go-pgpmail to v0.2.0 Signed-off-by: Koni Marti <koni.marti@gmail.com>
Diffstat (limited to 'widgets')
-rw-r--r--widgets/aerc.go2
-rw-r--r--widgets/compose.go1
-rw-r--r--widgets/pgpinfo.go4
3 files changed, 4 insertions, 3 deletions
diff --git a/widgets/aerc.go b/widgets/aerc.go
index b84dd878..3c52f7ee 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -9,10 +9,10 @@ import (
"strings"
"time"
+ "github.com/ProtonMail/go-crypto/openpgp"
"github.com/emersion/go-message/mail"
"github.com/gdamore/tcell/v2"
"github.com/google/shlex"
- "golang.org/x/crypto/openpgp"
"git.sr.ht/~rjarry/aerc/config"
"git.sr.ht/~rjarry/aerc/lib"
diff --git a/widgets/compose.go b/widgets/compose.go
index d3e57c51..5ca09324 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -15,6 +15,7 @@ import (
"strings"
"time"
+ "github.com/ProtonMail/go-crypto/openpgp"
"github.com/emersion/go-message/mail"
"github.com/gdamore/tcell/v2"
"github.com/mattn/go-runewidth"
diff --git a/widgets/pgpinfo.go b/widgets/pgpinfo.go
index febf29ad..6c07ed91 100644
--- a/widgets/pgpinfo.go
+++ b/widgets/pgpinfo.go
@@ -6,8 +6,8 @@ import (
"git.sr.ht/~rjarry/aerc/config"
"git.sr.ht/~rjarry/aerc/lib/ui"
- "golang.org/x/crypto/openpgp"
- pgperrors "golang.org/x/crypto/openpgp/errors"
+ "github.com/ProtonMail/go-crypto/openpgp"
+ pgperrors "github.com/ProtonMail/go-crypto/openpgp/errors"
)
type PGPInfo struct {