[PR #368] [CLOSED] Feature | Use OSX password prompt #454

Closed
opened 2026-02-25 22:33:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/FiloSottile/mkcert/pull/368
Author: @LeoBorai
Created: 5/31/2021
Status: Closed

Base: masterHead: feat/use-osx-sudo-prompt


📝 Commits (1)

  • 7107d18 feat: use osx password prompt

📊 Changes

2 files changed (+8 additions, -4 deletions)

View changed files

📝 main.go (+4 -0)
📝 truststore_darwin.go (+4 -4)

📄 Description

Instead of asking for password with the custom "Sudo password" prompt
use the osx password prompt by attempting to run a "sudo-required"
command.

This will prompt as follows on OSX, even is there's a typo in the password, we
have retry capabilities by using the native password prompt feature.

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/FiloSottile/mkcert/pull/368 **Author:** [@LeoBorai](https://github.com/LeoBorai) **Created:** 5/31/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/use-osx-sudo-prompt` --- ### 📝 Commits (1) - [`7107d18`](https://github.com/FiloSottile/mkcert/commit/7107d18443d5f29023288fe4244925cb74122c40) feat: use osx password prompt ### 📊 Changes **2 files changed** (+8 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `main.go` (+4 -0) 📝 `truststore_darwin.go` (+4 -4) </details> ### 📄 Description Instead of asking for password with the custom "Sudo password" prompt use the osx password prompt by attempting to run a "sudo-required" command. This will prompt as follows on OSX, even is there's a typo in the password, we have retry capabilities by using the native password prompt feature. ![image](https://user-images.githubusercontent.com/34756077/120127336-24fc5c00-c18d-11eb-95bd-68fdec4fadc7.png) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 22:33:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/mkcert#454
No description provided.