DigiDoc4-Client icon indicating copy to clipboard operation
DigiDoc4-Client copied to clipboard

DigiDoc4 Client is an application for digitally signing and encrypting documents; the software includes functionality to manage Estonian ID-card - change pin codes etc.

DigiDoc4 Client

European Regional Development Fund

Building

Build Status

  • Ubuntu
  • macOS
  • Windows

Ubuntu

  1. Install dependencies (libdigidocpp-dev must be installed from RIA repository)

    • Add custom RIA repository to APT repository list

      curl https://installer.id.ee/media/install-scripts/C6C83D68.pub | gpg --dearmor | tee /etc/apt/trusted.gpg.d/ria-repository.gpg > /dev/null
      echo "deb http://installer.id.ee/media/ubuntu/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/ria-repository.list
      sudo apt update
      
    • Install

      # Ubuntu
      sudo apt install cmake qttools5-dev libqt5svg5-dev qttools5-dev-tools libpcsclite-dev libssl-dev libdigidocpp-dev libldap2-dev gettext pkg-config
      # Fedora
      sudo dnf install qt5-qttools-devel qt5-qtsvg-devel qt5-linguist pcsc-lite-devel openssl-devel libdigidocpp openldap-devel gettext pkg-config
      
    • Also runtime dependency opensc-pkcs11 and pcscd is needed

  2. Fetch the source

     git clone --recursive https://github.com/open-eid/DigiDoc4-Client
     cd DigiDoc4-Client
    
  3. Configure

     cmake -B build -S .
    
  4. Build

     cmake --build build
    
  5. Execute

     ./build/client/qdigidoc4
    

macOS

  1. Install dependencies from

    • XCode
    • http://www.cmake.org
    • http://qt-project.org
      Since Qt 5.6 default SSL backend is SecureTransport and this project depends on openssl.
      Build Qt with openssl backend using provided prepare_osx_build_environment.sh script; by default Qt is built in the ~/cmake_builds folder but alternate build path can be defined with the -p option.
    • libdigidocpp-*.pkg
  2. Fetch the source

     git clone --recursive https://github.com/open-eid/DigiDoc4-Client
     cd DigiDoc4-Client
    
  3. Configure

     cmake -DCMAKE_PREFIX_PATH="~/cmake_builds/Qt-6.3.1-OpenSSL/lib/cmake/Qt6" -B build -S .
    
  4. Build

     cmake --build build
    
  5. Execute

     open build/client/qdigidoc4.app
    

Windows

  1. Install dependencies from

  2. Fetch the source

     git clone --recursive https://github.com/open-eid/DigiDoc4-Client
     cd DigiDoc4-Client
    
  3. Configure

     cmake -G"NMAKE Makefiles" -DCMAKE_PREFIX_PATH="C:\Qt\6.3.1\msvc2019\lib\cmake\Qt6" -B build -S .
    
  4. Build

     cmake --build build
    
  5. Execute

     build\client\qdigidoc4.exe
    

Support

Official builds are provided through official distribution point id.ee. If you want support, you need to be using official builds. Contact our support via www.id.ee for assistance.

Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.