protected function getCurrentPassword($prompt)
{
// Assuming its safe to statically cache since only one user should be running the program
// ...and user should have only one local account & password
if (!Arrays::vod(self::$configCache, '__PASSWD__')) {
/** @var \Bart\Shell $shell */
$shell = Diesel::create('\\Bart\\Shell');
self::$configCache['__PASSWD__'] = $shell->std_in_secret($prompt);
}
return self::$configCache['__PASSWD__'];
}