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 /widgets | |
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 'widgets')
-rw-r--r-- | widgets/aerc.go | 2 | ||||
-rw-r--r-- | widgets/compose.go | 1 | ||||
-rw-r--r-- | widgets/pgpinfo.go | 4 |
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 { |