Skip to content

Install

Petr Tobiska edited this page Feb 17, 2016 · 2 revisions

Installation of Asterix

Asterix is written for Python 2.7, depends on PyCrypto and Pyscard packages, they shall be installed first.

PyCrypto

provides RSA, (3)DES and AES cryptography functions. Source files are available on its website, rpm/deb for linux are available as python-crypto package. Windows binaries are available at voidspace. Asterix is tested against PyCrypto 2.6.1.

Pyscard

provides communication with a smartcard via PCSC reader. Source files are available on github, rpm/deb for linux are available as python-pyscard package. It depends on pcscd package, however its installation is not forced. Windows binaries are available at AppVeyor, choose your platform and click to Artifacts to download .exe/.msi installer. Asterix is tested against Pyscard 1.6.16 or later.

Asterix

Download release .zip (currently https://github.com/suma12/asterix/releases/download/v0.2/asterix-0.2.zip), unzip and run python setup.py install (with administrative privileges).

Debian-based system (ubuntu)

Assert that python --version returns Python 2.7.x. Then run

sudo apt-get install pcscd python-pyscard python-crypto
wget https://github.com/suma12/asterix/releases/download/v0.2/asterix-0.2.zip
unzip asterix-0.2.zip
cd asterix-0.2
sudo python setup.py install

You may delete asterix-0.2 directory.

Clone this wiki locally