File: include-cloak-scripts.patch

package info (click to toggle)
tomb 2.13%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,292 kB
  • sloc: sh: 10,354; ansic: 496; python: 311; cpp: 165; makefile: 138; perl: 57; xml: 11
file content (62 lines) | stat: -rw-r--r-- 2,230 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
Description: Include cloakify/decloakify into the build
 Modify Makefile to fit Debian's needs.
 In the manual page, debianize the description of the cloak command.
 Alter comment in tomb to be more generic, i.e. not specific to the pbkdf2
 helper tools.
Forwarded: not-needed
Author: Sven Geuer <sge@debian.org>
Last Update: 2025-08-18
---
 doc/tomb.1            | 11 ++++++-----
 extras/cloak/Makefile |  5 +++--
 tomb                  |  2 +-
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/doc/tomb.1 b/doc/tomb.1
index c7703ce..71ee5ac 100644
--- a/doc/tomb.1
+++ b/doc/tomb.1
@@ -221,11 +221,12 @@ key is buried in any image or not.
 
 .B
 .IP "cloak"
-Cloaks a tomb key (\fI-k\fR) disguising it as a text file using a
-cipher from \fIextras/cloak/ciphers\fR (second argument) using
-\fIcloakify\fR. This option is useful to backup tomb keys in
-unsuspected places; it needs \fIextras/cloak\fR installed and
-\fIpython3\fR.
+Cloaks a tomb key (\fI-k\fR) disguising it as text using a cipher file
+(first argument) writing the result to stdout or optionally an output
+file (second argument). See
+\fI/usr/share/doc/tomb/examples/cloak-ciphers\fR for potential cipher
+files. However, it is recommended to create and use one's own ciphers.
+This option is useful to backup tomb keys in unsuspected places.
 
 .B
 .IP "uncloak"
diff --git a/extras/cloak/Makefile b/extras/cloak/Makefile
index 740e37c..b16c001 100644
--- a/extras/cloak/Makefile
+++ b/extras/cloak/Makefile
@@ -1,5 +1,6 @@
 PREFIX ?= /usr/local
+BINDIR = /libexec/tomb
 
 install:
-	install -Dm755 cloakify.py ${DESTDIR}${PREFIX}/bin/cloakify
-	install -Dm755 decloakify.py ${DESTDIR}${PREFIX}/bin/decloakify
+	install -Dm755 cloakify.py ${DESTDIR}${PREFIX}${BINDIR}/cloakify
+	install -Dm755 decloakify.py ${DESTDIR}${PREFIX}${BINDIR}/decloakify
diff --git a/tomb b/tomb
index 555d310..319c3ff 100755
--- a/tomb
+++ b/tomb
@@ -108,7 +108,7 @@ typeset _MSG_FD_OVERRIDE # if set, _msg will write to this file descriptor
 
 # Make sure sbin is in PATH (man zshparam)
 path+=( /sbin /usr/sbin )
-# Make sure location of kdb-pbkdf2 binaries is in PATH
+# Make sure location of helper tools is in PATH
 path+=( /usr/libexec/tomb )
 
 # For gettext