@kate @homelab the most obvious answer to the WG problem you stated that came to my mind was just to terminate WG to another machine in this case which can boot on its own, maybe a router, so you don't have to solve it.
You can then use port forwards or whatever to access the boot ssh securely without needing WG in initrd at all.
@kate @homelab it's possible to use TPM to unlock a LUKS volume, so I guess you could create a small volume with the ssh/wg key files etc. that the initrd could unlock first. That would give you a small amount of data at rest / tamper resistance for the keys I guess.
There are also some methods of using a key server with a shared secret to automate boot, if you don't want to manually unlock.
@shinmera @nina_kali_nina I randomly saw this and thought "I wonder what those look like inside" and that's how I came across this beautiful repair for your switch problem: https://imgur.com/a/6ssB4cn
(In this reddit thread: https://www.reddit.com/r/RemarkableTablet/comments/12aqocb/replacement_power_button/ )
Just short the wires, apparently! ⚡⚡⚡
@mcc @a2_4am most of the problems I've hand held people through with gparted (or parted, or fdisk/gdisk) in the last few years amounted to this:
"When it asks you for the partition type, it's asking for what 16 bit random number to put in the GPT table. It's not asking for the file system. That is a separate step. Actually nothing in Linux cares about that number at all, despite there being dozens of numbers available. Only EFI and maybe Windows care."
Partitions are... Confusing.
@thomasjwebb @dalias I mean, the Windows source code is available.
What's to stop me from strapping on a joker mask, backing up a sewage tanker in front of Copilot's maw and cackling "exactly this but GPL!" before opening the valves and sprinting away?
What I'm saying is, a world where there's one rule for commercial code and another one for you is exactly what's going to happen.
@xssfox the only reliable methods to transfer files off Android that I've ever found are:
- run an ssh server on the phone and scp or
- get the developer kit and adb pull over usb
It's kinda... Amazing.
@wolfcoder @vfrmedia @soatok even in the hypothetical situation where saving half a cycle on a bounds check mattered, the right thing to do would be to litter the code base with debug asserts or, even better, come up with an api where the bounds check isn't needed.
C isn't a forgiving language and a good programmer doesn't trust that their own code does what it's supposed to unless they can prove it, much less anyone else's.