summaryrefslogtreecommitdiff
path: root/init
blob: 091fa607bc053bc09c5f75693be8d50cd0771ab6 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash

cd "$(dirname "$(readlink -e "$0")")"

echo y \
| ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -oserial-api-visible 2>&1 \
| sed 's@^key: h:@@;t;d' \
> .shared_secret