1 2 3 4 5 6
#!/bin/bash echo y \ | ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible 2>&1 \ | sed 's@^key: h:@@;t;d' \ > .shared_secret