(intermediate checkin) Templates for 'crypted' configuration.
authorRalph Ronnquist <rrq@rrq.au>
Sat, 22 Jun 2024 07:26:58 +0000 (17:26 +1000)
committerRalph Ronnquist <rrq@rrq.au>
Sat, 22 Jun 2024 07:26:58 +0000 (17:26 +1000)
debian/templates

index 3f4179d6469852843780946ed85bcfe87782e5fe..eed1989bc8ad1471d409de25de2108033c88bdc7 100644 (file)
@@ -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