Quick builds of OpenSC for Ubuntu and Debian
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
artful Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
bionic Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
cosmic Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
jessie Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
stretch Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
xenial Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
LICENSE Initial commit May 3, 2018
OpenSC-build.sh
README.md Add OpenSC 0.19.0 and build for Ubuntu Cosmic Cuttlefish Oct 21, 2018
docker-compose.yml

README.md

Quick builds of OpenSC for Debian and Ubuntu

This repo contains some selfmade builds of OpenSC for Debian and Ubuntu. They are based on the most recent packages available for each version (working with apt-src). The binaries are built using the official docker containers of the corresponding system and a simple script.

Please have a look at the docker-compose file and the script. You can use the script to build the binaries yourself, but you may have to adapt things.

Installation

Just download the two .deb packages for your version of Debian/Ubuntu and install them.

Codename Version Direct Link to Package Files
Ubuntu Xenial 16.04 opensc-0.18.0-1, opensc-pkcs11-0.18.0-1
opensc-0.19.0-1, opensc-pkcs11-0.19.0-1
Ubuntu Artful 17.10 opensc-0.18.0-1, opensc-pkcs11-0.18.0-1
opensc-0.19.0-1, opensc-pkcs11-0.19.0-1
Ubuntu Bionic 18.04 opensc-0.18.0-1, opensc-pkcs11-0.18.0-1
opensc-0.19.0-1, opensc-pkcs11-0.19.0-1
Ubuntu Cosmic 18.10 opensc-0.19.0-1, opensc-pkcs11-0.19.0-1
Debian Jessie 8 opensc-0.18.0-1, opensc-pkcs11-0.18.0-1
opensc-0.19.0-1, opensc-pkcs11-0.19.0-1
Debian Stretch 9 opensc-0.18.0-1, opensc-pkcs11-0.18.0-1
opensc-0.19.0-1, opensc-pkcs11-0.19.0-1

After downloading the packages please type in the following in a terminal:

# Install libccid and pcscd
sudo apt-get update && sudo apt-get install libccid pcscd
# Download, install and reload UDEV rules for Nitrokey devices
wget https://raw.githubusercontent.com/Nitrokey/libnitrokey/master/data/41-nitrokey.rules
sudo mv 41-nitrokey.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules && sudo udevadm trigger
# move to download folder and install OpenSC
cd Downloads
sudo dpkg --install opensc_*_amd64.deb opensc-pkcs11_*_amd64.deb

Removal

If you decide to remove the package and go back to the previous state just type:

sudo dpkg --remove opensc opensc-pkcs11
sudo rm /etc/udev/rules.d/41-nitrokey.rules

Note that newer packages built by Debian/Ubuntu themselves should override this selfbuilt version automatically.