DigiDoc for Debian 8 Jessie

DigiDoc is a system that’s widely-used
in Estonia for storing, sharing and digitally signing documents.

Because digital signatures carry the same legal weight as paper signatures in
Estonia, a secure, easy-to-use platform is needed to give government
institutions, businesses and private persons a way to transmit files and add
digital certifications.

Usage of Ubuntu Trusty Packages in Debian 8 Jessie

Unlike with Debian 7, the versions of the libraries used in Debian 8 Jessie are
very close to those used in Ubuntu Trusty. This allows sometimes to use
directly ubuntu packages and PPA’s in Debian 8 Jessie.

Installation of Estonian DigiDoc ID-software

You need to be root to execute the following steps. Alternative installation
methods are decribed here.

This creates a file /etc/apt/sources.list.d/ria-repository.list with the
content:

deb https://installer.id.ee/media/ubuntu/ trusty main

Download and install ID-software binaries

# apt-get update
# apt-get install estonianidcard

Install missing dependancies
should work out of the box, if not try

# apt-get install -f

Alternative: Compile DigiDoc yourself

Alternatively you can compile the binaries for Debian yourself.
Instructions for the different version of DigiDoc can be found
here.
The software is hosted in Github
in the repository "open-eid"
and most of the software there should build successfully
with dpkg-buildpackage -b -rfakeroot -us -uc on Debian.