aboutsummaryrefslogtreecommitdiff
path: root/lib/keyringer/actions
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-24 20:26:26 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-02-24 20:26:26 -0300
commit7dfa9fe0c70bf96736237aacf3c56d16695c6096 (patch)
tree6c0d72ef0220833b2958e23e3c2e99c54ff22be5 /lib/keyringer/actions
parent4cb5cd0c09da6ed55d1c00f97608e94f9e0b87ff (diff)
downloadkeyringer-7dfa9fe0c70bf96736237aacf3c56d16695c6096.tar.gz
keyringer-7dfa9fe0c70bf96736237aacf3c56d16695c6096.tar.bz2
Starting to code check action
Diffstat (limited to 'lib/keyringer/actions')
-rwxr-xr-xlib/keyringer/actions/check15
1 files changed, 9 insertions, 6 deletions
diff --git a/lib/keyringer/actions/check b/lib/keyringer/actions/check
index 669b994..14eb30b 100755
--- a/lib/keyringer/actions/check
+++ b/lib/keyringer/actions/check
@@ -7,20 +7,23 @@
# - git://lair.fifthhorseman.net/~mjgoins/cur
# - https://gitorious.org/key-report
# - https://github.com/ilf/gpg-maintenance.git
+# - https://gaffer.ptitcanardnoir.org/intrigeri/code/parcimonie/
#
-# This script can run from a crontab, client of server side to check
+# This script can run from a crontab, client or server side to check
# keyringer health status.
# Load functions
LIB="`dirname $0`/../functions"
source "$LIB" || exit 1
-# TODO: Automatically fetch absent keys from all recipients.
-# TODO: Automatically pull a repository.
+# The following should run automatically from keyringer_check_recipients:
+#
+# TODO: Pull the keyring repository.
+# TODO: Fetch absent keys from all recipients.
# TODO: Check if keys in all recipients files are about to expire.
# TODO: Time to expire can be configured via repository options.
# TODO: Users can be alerted by mail if configured by user preferences.
-# TODO: Check canaries' timestamps, warning by mail if configured by user preferences.
# TODO: Outgoing emails can be encrypted.
-echo "Not implemented :("
-exit 1
+
+# This should be done here:
+# TODO: Check canaries' timestamps, warning by mail if configured by user preferences.