refactor: refactor pgp implementation
This commit refactors the internal PGP implementation to make way for GPG integration. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Koni Marti <koni.marti@gmail.com> Acked-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
afe35839ed
commit
d09636ee0b
15 changed files with 356 additions and 193 deletions
commands/msgview
|
@ -42,7 +42,7 @@ func (NextPrevMsg) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
aerc.RemoveTab(mv)
|
||||
return nil
|
||||
}
|
||||
lib.NewMessageStoreView(nextMsg, store, aerc.DecryptKeys,
|
||||
lib.NewMessageStoreView(nextMsg, store, aerc.Crypto, aerc.DecryptKeys,
|
||||
func(view lib.MessageView, err error) {
|
||||
if err != nil {
|
||||
aerc.PushError(err.Error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue