]>
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.
6 sudo .
/scan
/dev
/hidg0
2 2 $
(PASSWORD_STORE_GPG_OPTS
="--passphrase 123456789" pass show github.com
/girst|
head -n 1)
7 #`--´ `----´ `--------´ ^ ^ `-------´ `--------------´ `-------´
9 # | | | | | | | '>make sure to only fetch the first line (containing the password)
10 # | | | | |'>unicode method '>demo password '>passwordstore-entry
11 # | | | '>keyboard layout
12 # | | '>device file created by the libcomposite driver
13 # | '>name of the executable i wrote
14 # '>device file access needs root permissions (or chmodding)