commit c3006f50374f70376b83e94d1eb571e882457184
parent e0db6318fef6babe4eb95d967b32db244bbc9cd8
Author: boyska <piuttosto@logorroici.org>
Date: Thu, 17 Nov 2011 00:31:16 +0100
add near:///path/to/grave.tomb
which just rewrites to /path/to/grave.tomb.key
Stupid, but nice to have. Also, could be good if changing the way
we create the key (a move from gpg to pbkdf2 is planned)
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/undertaker b/src/undertaker
@@ -121,6 +121,10 @@ function undertaker_scheme() {
fi
done
;;
+ near)
+ ###Given the path to the tomb, search the key near to that
+ undertaker_scheme file ${keypath}.key
+ ;;
*)
if ! which undertaker-$scheme &> /dev/null; then
error "url protocol not recognized: $scheme"