aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
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 028cc6a7..1b51d6d3 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 {