Skip to content

Commit

Permalink
docs: add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
hugojosefson committed Nov 15, 2024
1 parent 65c4fea commit 1543e5d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
14 changes: 7 additions & 7 deletions readme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 1543e5d

Please sign in to comment.