From b4ee60cff7befef31342ff3d60ec09c50df3ad89 Mon Sep 17 00:00:00 2001 From: Ralph Ronnquist Date: Sat, 22 Jun 2024 17:26:58 +1000 Subject: [PATCH] (intermediate checkin) Templates for 'crypted' configuration. --- debian/templates | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/debian/templates b/debian/templates index 3f4179d..eed1989 100644 --- a/debian/templates +++ b/debian/templates @@ -11,7 +11,7 @@ _Description: Set timeliner logfile: Template: timeliner/opmode Type: select -__Choices: disabled, local, remote, mixed +__Choices: disabled, local, remote, mixed, crypted Default: disabled _Description: Operation mode for timeliner-cron: There are four possble operation modes for timeliner-cron. You may choose @@ -23,6 +23,7 @@ _Description: Operation mode for timeliner-cron: local = keep a local timeline only remote = keep a remote timeline only mixed = keep a remote timeline with a local rolling window + crypted = encryption and sshfs to build locally but save remotely Template: timeliner/sources Type: string @@ -64,3 +65,19 @@ _Description: Set remote or mixed mode operation target host: . *Note* that ssh needs to be set up for this hostname, including a secure ssh key for passwordless ssh access to the nominated remote host. + +Template: timeliner/crypt/passfile +Type: string +Default: /root/.ssh/timeliner.pass +Description: Pathname for password file + The password file contains the crypto password for the remote store. + +Template: timeliner/crypt/encrypted +Type: string +Default: /.enc_backup +Description: The mountpoint for the encrypted store + +Template: timeliner/crypt/decrypted +Type: string +Default: /backfs +Description: The mountpoint for the decrypted store -- 2.39.5