I realize I'm far from a typical use case, which is why I'm so glad when people consider password ergonomics. It makes life easier for me and does not make it harder for anyone else.
sleep 3; xdotool type "abc123"Alright if you prefer:
read PW; sleep 3; xdotool type "$PW"
Or if it's already on your clipboard: sleep 3; xdotool type "$(xclip -o)" $ export HISTCONTROL=ignoreboth
$ echo 'supersecret' | whateverIt is also the default on fish shell in the same anecdotal experience.
Software typing of password:
Linux - ydotool / xdotool. Win/Mac have similar tools:
$ sleep 5 ; xdotool type 'RC-A"c\EJe,0l@q'
>> physical device provided by the customer.Hardware : Rubber Ducky - https://shop.hak5.org/products/usb-rubber-ducky
In your obscure set of requirements (no paste?), yes you might have to copy it again, but at least you don't have to remember it.
Your comment was interesting to me, so I was trying to come up with the most "ergonomically unsound" password. How did I do?
Å`÷½¸Å^çÏ+Í?«~Ðñø'`¾ ĮǶľƶₔâ¾ijĤĬ辶ıęśij²ÔķÕĜ́北¹«ƶħĸ«Have you tried entering a random password using the buttons and dials on the back of a Sony camera? After three tries, I just gave up.
With that it would be easy to build a temporary "type my secret key" dongle.
An ESP32 S2 or S3 dev kit board from a reputable source along with the other necessary hardware would probably be under $20.
There are also some models of Arduino that have the necessary USB support such as the Arduino Leonardo [2], but the Leonardo is more than an EPS32 at the non-sketchy sellers I've seen.
Even if you've never played around with microcontrollers this would be a beginner level project.
[1] https://github.com/espressif/arduino-esp32/tree/master/libra...
But that usually requires some sort of two way communication between your computer or phone and the device you are setting up or requires that the device has a network connection to a server that your phone or computer can also connect to.
You may still need to manually enter the password for that network connection.
Many WiFi streaming TV boxes are like that if I recall correctly. Manual setup to give them network access, but then later when setting up apps on them for Disney+, Netflix, and the like the apps can use an authentication protocol that doesn't need manual password entry.
I make my WiFi password easy to type for that reason.
I use a password manager but generally set it to only upper, lower and numbers and 24 characters, because so many sites seem to be broken for symbols.
But I do live in fear of the sites that are broken for long passwords (or even worse, silently broken).