From 1543e5db47187b605ee45af04f2c06894c79c864 Mon Sep 17 00:00:00 2001 From: Hugo Josefson Date: Tue, 12 Nov 2024 22:28:57 +0100 Subject: [PATCH] docs: add todo --- README.md | 14 +++++++------- readme/README.md | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 41ac2d3..d997115 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,10 @@ pass show zfs_disk_passphrase | dropbear-auto-unlock root@pve-01 ## TODO -Implement :) - -### Example that works in bash - -```bash -pass show disk-encryption-passphrase | timeout 5 sshpass -d 0 ssh -tt root@server-dropbear >/dev/null -``` +- [ ] Instead of checking first line of ssh server, spawn `ssh` and get a proper + line stream. +- [ ] Check if the prompt is an unlock prompt. If so, unlock. +- [ ] Check if we can run `zfsunlock`. If so, unlock. +- [ ] If we're in the server booted, `sleep infinity`, then wait for broken + connection indicating next boot. +- [ ] Add timeout arguments/options to `ssh` command. diff --git a/readme/README.md b/readme/README.md index 84acb44..a9d1e7d 100644 --- a/readme/README.md +++ b/readme/README.md @@ -24,10 +24,10 @@ ## TODO -Implement :) - -### Example that works in bash - -```bash -pass show disk-encryption-passphrase | timeout 5 sshpass -d 0 ssh -tt root@server-dropbear >/dev/null -``` +- [ ] Instead of checking first line of ssh server, spawn `ssh` and get a proper + line stream. +- [ ] Check if the prompt is an unlock prompt. If so, unlock. +- [ ] Check if we can run `zfsunlock`. If so, unlock. +- [ ] If we're in the server booted, `sleep infinity`, then wait for broken + connection indicating next boot. +- [ ] Add timeout arguments/options to `ssh` command.