From 8813fadfe9ec33361314064a284c612e5e3fa784 Mon Sep 17 00:00:00 2001 From: Koni Marti Date: Thu, 30 Dec 2021 10:25:07 +0100 Subject: 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 --- lib/keystore.go | 4 ++-- lib/messageview.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/keystore.go b/lib/keystore.go index dcdbd74..df048f4 100644 --- a/lib/keystore.go +++ b/lib/keystore.go @@ -5,9 +5,9 @@ import ( "os" "path" + "github.com/ProtonMail/go-crypto/openpgp" + "github.com/ProtonMail/go-crypto/openpgp/packet" "github.com/kyoh86/xdg" - "golang.org/x/crypto/openpgp" - "golang.org/x/crypto/openpgp/packet" ) var ( diff --git a/lib/messageview.go b/lib/messageview.go index 532d2c8..8db7994 100644 --- a/lib/messageview.go +++ b/lib/messageview.go @@ -5,10 +5,10 @@ import ( "io" "io/ioutil" + "github.com/ProtonMail/go-crypto/openpgp" "github.com/emersion/go-message" _ "github.com/emersion/go-message/charset" "github.com/emersion/go-pgpmail" - "golang.org/x/crypto/openpgp" "git.sr.ht/~rjarry/aerc/models" "git.sr.ht/~rjarry/aerc/worker/lib" -- cgit 1.4.1-2-gfad0