summaryrefslogtreecommitdiff
path: root/init
blob: a7a4853d85510a515f079505f2c619a5bc5e08bb (plain)
1
2
3
4
5
6
7
8
#!/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

chmod go-rwx .shared_secret