//go:build darwin package main import ( "errors" "flag" "fmt" "os" "os/exec" "strings" "github.com/VeraeLLC/PrintToVeraeTimeStamp/internal/auth" "github.com/VeraeLLC/PrintToVeraeTimeStamp/internal/settings" "github.com/VeraeLLC/PrintToVeraeTimeStamp/internal/vlog" ) // macOS in-installer key registration, run by the pkg postinstall as the // console user (launchctl asuser + sudo -H -u). Native AppleScript dialogs; // passwords come back through osascript's stdout pipe only — never argv, // never files, never logs. Keys are logged masked only. const dlgTitle = "Verae Print Stamp" // AppleScript gets all user-visible text via argv (no string interpolation → // no injection). Output: "