diff options
| author | Josh Rahm <joshuarahm@gmail.com> | 2023-02-25 12:06:25 -0700 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2023-02-25 12:06:25 -0700 |
| commit | 1a669da23bea9bb8c74cafd92e0819249ff13493 (patch) | |
| tree | 65bca35b435ed68de7defe509f5697a782fb6d0d /module-setup.sh | |
| parent | 10c1fe4071f248e976d920b3ca29971670893f33 (diff) | |
| download | acquire-key-over-ssh-1a669da23bea9bb8c74cafd92e0819249ff13493.tar.gz acquire-key-over-ssh-1a669da23bea9bb8c74cafd92e0819249ff13493.tar.bz2 acquire-key-over-ssh-1a669da23bea9bb8c74cafd92e0819249ff13493.zip | |
Add ability to acquire the key from a separate drive and shred the key when finished.
Diffstat (limited to 'module-setup.sh')
| -rwxr-xr-x | module-setup.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/module-setup.sh b/module-setup.sh index fd0bb5d..8708778 100755 --- a/module-setup.sh +++ b/module-setup.sh @@ -22,8 +22,12 @@ install() { echo "keyserver_host='$keyserver_host'" >> "$genconf" echo "keyserver_user='$keyserver_user'" >> "$genconf" echo "keyserver_port='$keyserver_port'" >> "$genconf" + echo "client_ssh_keys_device='${client_ssh_keys_device}'" >> "$genconf" + echo "client_ssh_keys_mountpoint='$client_ssh_keys_mountpoint'" >> "$genconf" + echo "client_identity_file='$client_identity_file'" >> "$genconf" + echo "shred_keys_after_use='$shred_keys_after_use'" >> "$genconf" - inst_hook pre-udev 99 "$moddir/start-ssh-acquire.sh" + inst_hook initqueue/settled 99 "$moddir/start-ssh-acquire.sh" inst_script "$moddir/poll-ssh-acquire.sh" "/bin/poll-ssh-acquire.sh" inst_simple "/root/.ssh/known_hosts" inst_simple "/root/.ssh/id_rsa.pub" |