Use secret-tool on Linux and fix date command compatibility. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>