You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
What is the "Password:" for which I'm prompted when I run mkcert -install on a Mac? #178
$ mkcert -install
Created a new local CA at "/Users/kenny/Library/Application Support/mkcert" 💥
Password:
I'm pretty sure this is my Keychain password (the 'login' password for my user) but it's certainly not clear that that's what's being requested. Could this (or should) this be documented in the README? (I'd be willing to make a stab at doing so if it's considered helpful.)
This is a confusing thing that mkcert silently runs sudo. Maybe necessary, but a little more output would be useful, knowing that sudo may go ahead and prompt for password.
Actually, at least in macOS Sierra, it is not needed to use sudo for security command line tool, as this will automatically ask user whether they allow changes and would even allow using TouchID to confirm such changes.
Activity
hauleth commentedon Jul 29, 2019
Current account password. The same you use when you do
sudo truerfay commentedon Jul 29, 2019
This is a confusing thing that mkcert silently runs sudo. Maybe necessary, but a little more output would be useful, knowing that sudo may go ahead and prompt for password.
hauleth commentedon Jul 29, 2019
Actually, at least in macOS Sierra, it is not needed to use
sudoforsecuritycommand line tool, as this will automatically ask user whether they allow changes and would even allow using TouchID to confirm such changes.darwin: drop 'sudo' from all security cli commands ran
adamdecaf commentedon Jul 30, 2019
I created #183 which removes
sudowhere we can, but since we add the mkcert root to the System Keychainsudoappears to be required still.darwin: drop 'sudo' from security commands where we can
FiloSottile commentedon Jul 30, 2019
We should probably always pass
--prompt="Sudo password:"tosudo.kenny-evitt commentedon Jul 31, 2019
@FiloSottile That's a good idea too but a brief mention in the README would nicely set expectations too:
sudorequirement by kenny-evitt · Pull Request #185 · FiloSottile/mkcertadamdecaf commentedon Jul 31, 2019
I like the idea of passing
--promtptosudo.Specify a "Sudo password:" prompt for sudo