//go:build !linux

package escrow

import (
	"context"
	"fmt"
	"runtime"
)

// runWithPassphrase is unsupported off Linux — the agent runs only on Proxmox (Linux) hosts. This
// stub lets the package compile (and its pure-Go parts, e.g. recovery-code generation, be tested)
// on other platforms.
func runWithPassphrase(_ context.Context, _ string, _ int, _ string, _ ...string) error {
	return fmt.Errorf("escrow: pty-driven key wrap is Linux-only (GOOS=%s)", runtime.GOOS)
}
