]>
git.gir.st - sendHID.git/blob - hardpass-demo.sh
3 # this is a demo that fetches a password from the password store (must be initialized) and types it over the usb-hid interface to the host computer.
4 # see github.com/girst/hardpass -> readme for how to initialize the driver.
5 # since 471f0ed text to type is read from stdin instead of the last parameter!
7 PASSWORD_STORE_GPG_OPTS
="--passphrase 123456789" pass show github.com
/girst |
head -n 1 | sudo .
/scan
/dev
/hidg0
2 2
8 # `-------´ `--------------´ `-------´ `----´ `--------´ ^ ^
9 # '>demo password '>pass-entry | get only | | | '>unicode method
10 # '>first line | | '>keyboard layout
11 # | '>device file of hid-gadget
12 # '>name of executable