Keyboard Viewer will not display passwords

Keyboard Viewer, accessible from the Keyboard & Character Viewer menu bar utility, won’t visualise the letters you type when using your Mac’s physical keyboard to enter a password.