If you think that the computer that you are using is not trustworthy, for example when using a public computer in a library, everything that you type might be recorded by a hardware keylogger.

You can use the GNOME screen keyboard to protect you against a hardware keylogger when typing passwords and sensitive text. To display the screen keyboard, see the corresponding documentation.