about summary refs log tree commit diff stats
path: root/aerc.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-03-03 16:20:07 -0500
committerDrew DeVault <sir@cmpwn.com>2020-03-03 16:49:52 -0500
commitf3158b36f1f210ff54febbe82b571c1379b30c98 (patch)
tree10cde839c9517609f55b8f1057b1cf84ac592632 /aerc.go
parent89f1684ea4b5e680db7ff06a54b2d4e78212cd12 (diff)
downloadaerc-f3158b36f1f210ff54febbe82b571c1379b30c98.tar.gz
Initial support for PGP decryption & signatures
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/aerc.go b/aerc.go
index 028cc6a..1b51d6d 100644
--- a/aerc.go
+++ b/aerc.go
@@ -166,6 +166,10 @@ func main() {
 		ui.EnableMouse()
 	}
 
+	logger.Println("Initializing PGP keyring")
+	lib.InitKeyring()
+	defer lib.UnlockKeyring()
+
 	logger.Println("Starting Unix server")
 	as, err := lib.StartServer(logger)
 	if err != nil {