Skip to content

Nitrokey/opensc-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
opensc-0.20.0-1, opensc-pkcs11-0.20.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
opensc-0.20.0-1, opensc-pkcs11-0.20.0-1
Ubuntu Eoan 19.10 opensc-0.20.0-1, opensc-pkcs11-0.20.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
opensc-0.20.0-1, opensc-pkcs11-0.20.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
opensc-0.20.0-1, opensc-pkcs11-0.20.0-1
Debian Buster 10 opensc-0.20.0-1, opensc-pkcs11-0.20.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.

About

Quick builds of OpenSC for Ubuntu and Debian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages