Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix message to clarify what is asking for sudo password #593

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

benmccann
Copy link

@benmccann benmccann commented Jun 18, 2024

I was type checking a javascript file and through a roundabout manner it was invoking mkcert. It was quite scary that such a simple operation was asking for my sudo password without any explanation of where it was coming from or why it was needed. For such a sensitive operation I think it would be helpful to provide more details

This PR uses the text:

mkcert will now install certificates into your root certificate store.
Enter your sudo password:

If we wanted something shorter another alternative might be:

[mkcert] sudo password:

But I thought the longer message provided more explanation of why it's asking for your sudo password.

main.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant