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.

  1. Install https protocol for apt-get

    # apt-get install apt-transport-https
  2. Load repository key

    # wget -O /tmp/ria-public.key https://installer.id.ee/media/install-scripts/ria-public.key
    # apt-key add /tmp/ria-public.key
    # rm -f /tmp/ria-public.key
  3. Add the Ria-repository to your apt-sources

    #echo 'deb https://installer.id.ee/media/ubuntu/ trusty  main' > /etc/apt/sources.list.d/ria-repository.list

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

    deb https://installer.id.ee/media/ubuntu/ trusty  main
  4. Download and install ID-software binaries

    # apt-get update
    # apt-get install estonianidcard
  5. 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.