summaryrefslogtreecommitdiffhomepage
path: root/keysafe.cabal
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-09-22 11:55:10 -0400
committerJoey Hess <joeyh@joeyh.name>2016-09-22 11:59:12 -0400
commit9eeb584342d1f29415065efc5ba34a7045b2259b (patch)
tree39ab33f724a7061fc6ebe9cf37917dd273b857d4 /keysafe.cabal
parent44c4f503ae4c79739c52c73fdfa35e754621011c (diff)
downloadkeysafe-9eeb584342d1f29415065efc5ba34a7045b2259b.tar.gz
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.
Diffstat (limited to 'keysafe.cabal')
-rw-r--r--keysafe.cabal9
1 files changed, 9 insertions, 0 deletions
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