Skip to content

User and Password macros

cajhin edited this page May 25, 2022 · 3 revisions

I store my username and password in secret macros, because I need to type them often.

Security matters. If I stored the password in a file, I'd have to do serious encryption.

Instead, I type the password once after each reboot. It is stored only in memory, in an obfuscated (not encrypted!) manner, meaning: if someone scans a memory dump for ASCII strings, the password will not show up, it looks like binary stuff. Not NSA-proof but good enough for me.

tap Caps + LCtrl + U : start recording the username (stop with ESC).
tap Caps + U : replay the username

COMBO  U   [^^^T ^^^^ ^^&^] > recordSecretMacro(11) #U/P needs taps because Ctrl+Caps+U -> Ctrl+End
COMBO  U   [^^^T ^^^^ ^^^^] > playMacro(11)
COMBO  P   [^^^T ^^^^ ^^&^] > recordSecretMacro(12)
COMBO  P   [^^^T ^^^^ ^^^^] > playMacro(12)

This works everywhere, including the Windows login screen

WARNING

It is easy for others to see and understand the tap Caps + P action.
If anyone else repeats that in a text editor, they see your recorded password.

Be extra careful when sharing your screen. If you playback into the wrong text field, they see the whole password at once, you have no time to realize and stop typing as you would when you type manually.

If the debug console is on, it does not show recording and playback of secret macros.