Last active
June 22, 2016 20:46
-
-
Save nicr9/a8ed60b1d76a899303189b4bf2c094d9 to your computer and use it in GitHub Desktop.
Setting up yubikey personalization CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/src/github.com/Yubico | |
cd !$ | |
# dependancies | |
sudo apt-get install -y libusb-1.0-0-dev libusb-dev autoconf libtool asciidoc | |
# Build libyubikey-dev from source | |
git clone https://github.com/Yubico/yubico-c.git | |
cd yubico-c | |
autoreconf --install | |
./configure | |
make check | |
sudo make install | |
sudo ln -s /usr/local/lib/libyubikey.so.0 /usr/lib/libyubikey.so.0 | |
# Build yubikey-personalization tools from source | |
cd .. | |
git clone https://github.com/Yubico/yubikey-personalization.git | |
cd yubikey-personalization | |
autoreconf --install | |
./configure | |
make check | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment