From c3006f50374f70376b83e94d1eb571e882457184 Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 17 Nov 2011 00:31:16 +0100 Subject: [PATCH] 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) --- src/undertaker | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/undertaker b/src/undertaker index 67062ee..ff79db7 100755 --- 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"