aboutsummaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
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 'lib')
-rw-r--r--lib/keystore.go4
-rw-r--r--lib/messageview.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/keystore.go b/lib/keystore.go
index dcdbd740..df048f4f 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 532d2c88..8db7994a 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"