~mdw
/
distorted-keys
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ec3628d
)
keys.list-keepers: Identify the current recovery key instance.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 20 Sep 2012 00:01:22 +0000
(
01:01
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 20 Sep 2012 00:10:17 +0000
(
01:10
+0100)
Otherwise we never print anything useful about key revelation status.
keys.list-keepers
patch
|
blob
|
blame
|
history
diff --git
a/keys.list-keepers
b/keys.list-keepers
index
297c83e
..
da47af4
100755
(executable)
--- a/
keys.list-keepers
+++ b/
keys.list-keepers
@@
-45,6
+45,10
@@
if [ -d $KEYS/recov ]; then
for r in *; do
if [ ! -d $r ]; then continue; fi
for r in *; do
if [ ! -d $r ]; then continue; fi
+ ## Collect the current instance number.
+ rcur=$(readlink $r/current)
+ eval rcur_$r=\$rcur
+
## Now work through the instances of this recovery key.
for ri in $r/*; do
## Now work through the instances of this recovery key.
for ri in $r/*; do