nvda
814f11eb - Check if on secure desktop when checking if Windows is locked (#14288)

Commit
3 years ago
Check if on secure desktop when checking if Windows is locked (#14288) Fixes #14286 Summary of the issue: isWindowsLocked is meant to return False when on secure screens. isWindowsLocked should return True, only when Windows is on the lock screen, to prevent users from escaping the lock screen. This is because NVDA secure mode prevents a different set of exploits for secure screens. 2022.3.1 introduced a regression where when using a secure screen, isWindowsLocked returned True. Description of user facing changes NVDA menu and other functionality is re-enabled on secure screens. Description of development approach A new function has been added to check if NVDA is running on the secure desktop. If that is the case, isWindowsLocked returns False , Returning False if NVDA is in a secure mode was not a viable path. This is because if NVDA is running on secure mode via the --secure parameter, and a user navigates to the Windows lock screen, then there would be no security parameters.
Author
Parents
Loading