diff options
author | Koni Marti <koni.marti@gmail.com> | 2021-12-30 10:25:07 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-01-07 13:45:34 +0100 |
commit | 8813fadfe9ec33361314064a284c612e5e3fa784 (patch) | |
tree | f3547d983cc322356b67865162a1228803a0b4f0 /lib | |
parent | bc593ac7cdb20621aba685987f2a92c9bd880358 (diff) | |
download | aerc-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.go | 4 | ||||
-rw-r--r-- | lib/messageview.go | 2 |
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" |