From 9eeb584342d1f29415065efc5ba34a7045b2259b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 22 Sep 2016 11:55:10 -0400 Subject: Added --autostart mode and install FDO autostart file --autostart mode currently only uploads queued keys, but it will later be expanded to do more. Including checking the BackupRecord for problems when necessary. The autostart file is installed by keysafe --backup, so that when keysafe is installed with stack, and used, it will make sure it autostarts in the future. The autostart file is installed by the Makefile too. This will later let --autostart check for keys that have not been backed up and prompt about backing them up. This way, the user won't need to remember to run keysafe to back things up. Reused Utility.FreeDesktop from git-annex, and had to add some stuff it depends on. This commit was sponsored by Fernando Jimenez on Patreon. --- keysafe.cabal | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'keysafe.cabal') diff --git a/keysafe.cabal b/keysafe.cabal index a01983d..dc90e3c 100644 --- a/keysafe.cabal +++ b/keysafe.cabal @@ -24,6 +24,7 @@ Extra-Source-Files: keysafe.1 keysafe.service keysafe.desktop + keysafe.autostart Makefile Executable keysafe @@ -69,11 +70,14 @@ Executable keysafe , SafeSemaphore == 0.10.* , crypto-random == 0.0.* , async == 2.1.* + , unix-compat == 0.4.* + , exceptions == 0.8.* -- Temporarily inlined due to FTBFS bug -- https://github.com/ocharles/argon2/issues/2 -- argon2 == 1.1.* Extra-Libraries: argon2 Other-Modules: + AutoStart BackupRecord Benchmark ByteStrings @@ -110,6 +114,11 @@ Executable keysafe UI.Readline UI.NonInteractive UI.Zenity + Utility.Data + Utility.Env + Utility.Exception + Utility.FreeDesktop + Utility.UserInfo source-repository head type: git -- cgit v1.2.3