Skip to content

Modernization of secure input using Console

Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 09 Oct 12:41
f7bc017
This patch was authored and released by @gwynne.

getpass() is very, very old, and deprecated everywhere it exists. This PR switches to readpassphrase() on macOS, provides a (incomplete but sufficient) re-implementation of readpassphrase() based on that of libbsd for Linux, and adds an implementation for Windows using the conio interface.