2014-02-18 17:02:47 +04:00
|
|
|
Yubico Authenticator
|
|
|
|
====================
|
|
|
|
|
|
|
|
The Yubico Authenticator is a graphical desktop tool for generating
|
|
|
|
Open AuTHentication (OATH) event-based HOTP and time-based TOTP
|
|
|
|
one-time password codes, with the help of a Yubikey NEO that protects
|
|
|
|
the shared secrets.
|
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
Yubico Authenticator is licensed under GPLv3+, see COPYING for
|
|
|
|
details.
|
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
|
|
|
To build the Yubico Authenticator you need the following Python
|
|
|
|
modules: PySide, PBKDF2, pyscard. To use it, you need a YubiKey NEO
|
|
|
|
with the OATH applet loaded.
|
|
|
|
|
|
|
|
Building Windows binaries
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
For Windows you will need python, PySide, PyInstaller and Pywin32
|
|
|
|
installed (32 or 64-bit versions depending on the architecture of the
|
|
|
|
binary your are building).
|
|
|
|
|
|
|
|
Clone the git repository and checkout the desired release tag (or
|
|
|
|
branch):
|
|
|
|
|
2014-02-18 18:07:08 +04:00
|
|
|
git clone https://github.com/Yubico/yubioath-desktop.git
|
2014-02-18 17:02:47 +04:00
|
|
|
cd yubico-authenticator
|
|
|
|
|
|
|
|
To sign the executable, copy the pfx file to yubicoauth.pfx and place
|
|
|
|
it in the root of the project folder. You will need signtool.exe (from
|
|
|
|
the Windows SDK) either copied into the root as well or in a location
|
|
|
|
in your PATH.
|
|
|
|
|
|
|
|
Run "pyinstaller.exe -w -i yubico.ico yubicoauthenticator.spec" from
|
|
|
|
the main project folder.
|
|
|
|
|
2014-02-26 16:57:17 +04:00
|
|
|
|
2014-02-18 17:02:47 +04:00
|
|
|
Building Mac OSX binaries
|
|
|
|
-------------------------
|
|
|
|
|
2014-03-05 12:20:26 +04:00
|
|
|
Install PyInstaller via pip
|
|
|
|
|
2014-03-06 19:26:33 +04:00
|
|
|
Run "pyinstaller -w -i "yubioath-48.png" yubicoauthenticator.spec"
|
|
|
|
from the main project folder.
|
2014-03-05 12:20:26 +04:00
|
|
|
|
|
|
|
Codesign the code with:
|
2014-03-05 12:40:25 +04:00
|
|
|
codesign -s 'Developer ID Application' /path/to/directory/project.app --deep
|
2014-03-05 12:20:26 +04:00
|
|
|
|
|
|
|
Build the package with:
|
|
|
|
http://s.sudre.free.fr/Software/Packages/about.html
|
2014-02-18 17:02:47 +04:00
|
|
|
|
2014-02-21 13:15:36 +04:00
|
|
|
|
|
|
|
Running from Linux / OSX
|
2014-02-26 18:47:56 +04:00
|
|
|
------------------------
|
2014-02-21 13:15:36 +04:00
|
|
|
|
2014-05-03 13:48:09 +04:00
|
|
|
Install Python 2.7.x
|
2014-02-26 18:47:56 +04:00
|
|
|
|
|
|
|
cd yubicoauthenticator/
|
2014-05-08 13:37:24 +04:00
|
|
|
Run "python yubico_authenticator.py --help"
|
|
|
|
Run "python yubico_authenticator.py"
|
2014-02-21 13:15:36 +04:00
|
|
|
|
|
|
|
The application will start and sit on the system's systray.
|
|
|
|
|
2014-05-03 13:48:09 +04:00
|
|
|
On Ubuntu 14.04 you need the following packages first.
|
|
|
|
|
|
|
|
sudo apt-get install pcscd python-pyscard python-pbkdf2 python-pyside.qtgui
|
2014-02-21 13:15:36 +04:00
|
|
|
|
|
|
|
|
2014-05-08 13:17:50 +04:00
|
|
|
No systray mode
|
2014-05-08 13:05:24 +04:00
|
|
|
--------------
|
|
|
|
|
|
|
|
For users without a systrabar or running desktop envinronment with non standard Qt behaviour
|
|
|
|
|
|
|
|
cd yubicoauthenticator/
|
2014-05-08 13:37:24 +04:00
|
|
|
Run "python yubico_authenticator.py --disable-systray"
|
2014-05-08 13:05:24 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-26 18:47:56 +04:00
|
|
|
ToDo
|
|
|
|
----
|
2014-02-21 13:15:36 +04:00
|
|
|
|
2014-02-26 16:57:17 +04:00
|
|
|
* .deb packaging
|