Go CLI using cobra with mount, unmount, status, and init subcommands. Unlocks via udisks2 D-Bus (passphrase/keyfile) or cryptsetup (FIDO2/TPM2) with ordered method fallback. Includes NixOS-specific LD_LIBRARY_PATH injection for systemd cryptsetup token plugins. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
7 lines
105 B
Go
7 lines
105 B
Go
package dbus
|
|
|
|
func (t *unixTransport) SendNullByte() error {
|
|
_, err := t.Write([]byte{0})
|
|
return err
|
|
}
|