From 667be2c1d66fc26a210397c5e0318b7b15f8618e Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sat, 23 May 2020 15:27:14 -0400 Subject: [PATCH] HomebrewFormula: run service at login (without sudo) not at boot Fixes #25 --- HomebrewFormula/yubikey-agent.rb | 3 --- README.md | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/HomebrewFormula/yubikey-agent.rb b/HomebrewFormula/yubikey-agent.rb index 6a066da..b3cc945 100644 --- a/HomebrewFormula/yubikey-agent.rb +++ b/HomebrewFormula/yubikey-agent.rb @@ -26,9 +26,6 @@ def post_install (var/"log").mkpath end - # TODO: figure out if we can avoid the suggested command including "sudo". - plist_options :startup => true - def plist <<~EOS diff --git a/README.md b/README.md index a692cf1..d94abb8 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Written in pure Go, it's based on [github.com/go-piv/piv-go](https://github.com/ ``` brew tap filippo.io/yubikey-agent https://filippo.io/yubikey-agent brew install yubikey-agent -brew services start yubikey-agent # do NOT use sudo +brew services start yubikey-agent yubikey-agent -setup # generate a new key on the YubiKey ```