Firma Digital Costa Rica Manjaro 20.1

  1. Install dependencies

    sudo pacman -S java-openjfx
    sudo pacman -S cpio rpm-tools pcsclite ccid icedtea-web

  2. Download Drivers

  3. Unzip downloaded file


  4. Copy Certificates to the system

    cd sfdClientesLinuxRPM64_Rev14/Firma\ Digital/Certificados/
    sudo cp -p ./* /usr/share/ca-certificates/trust-source/anchors/

  5. Update CA TrustStore

    sudo update-ca-trust

  6. Build/compile driver

    cd PinTool/IDProtect\ PINTool\ 7.24.02/RPM/
    rpm2cpio idprotectclient-7.24.02-0.x86_64.rpm | cpio -dim ./usr/lib/x64-athena/

    95133 blocks <= successful

  7. Import compiled driver, create symbolic links and references

    sudo cp -p usr/lib/x64-athena/ /usr/lib/
    sudo mkdir -p /usr/lib/x64-athena/
    sudo mkdir -p /FirmaDigital/LIBRERIAS/
    sudo ln -s /usr/lib/ /usr/lib/x64-athena/
    sudo ln -s /usr/lib/ /usr/local/lib/
    sudo ln -s /usr/lib/ /Firma
    sudo ln -s /usr/share/ca-certificates/trust-source/anchors /Firma_Digital/CERTIFICADOS

  8. Driver Instructions metadata

    sudo mkdir /etc/Athena/
    sudo nano /etc/Athena/IDPClientDB.xml
    <?xml version="1.0" encoding="utf-8" ?>
    <ATR type='hexBinary'>3BDC00FF8091FE1FC38073C821106600000000000000</ATR>
    <ATRMask type='hexBinary'>FFFF00FFF0FFFFFFFFFFFFFFFFF0FF00000000000000</ATRMask>

  9. Create/Add module to the system

    sudo nano /usr/share/p11-kit/modules/firma-digital.module
    remote: |bwrap --unshare-all --dir /tmp --proc /proc --dev /dev --ro-bind /etc /etc --ro-bind /usr /usr --ro-bind /run /run p11-kit remote /usr/lib/

  10. Add it as a Systemd service
    sudo systemctl enable --now pcscd.socket

  11. Restart Firefox or dependent app

  12. If you need to sign documents you could use:

  13. Even though the Device has been loaded to Firefox for some reason is not working, I solved adding Athena manually to the loaded devices

    1. about:preferences#privacy > Security Devices
    2. Load: /Firma_Digital/LIBRERIAS/
    3. Ignore the Errors and OK.


You'll only receive email when they publish something new.

More from Jeremy Molina