← 全部应用

Assinador Serpro

Serpro专有

Digital signer for ICP-Brasil certificates

第一次使用?配置 FlatPark →
办公Proprietaryv4.6.0

关于

This is a community package of Assinador Serpro, maintained independently and unaffiliated with Serpro. It downloads the official Linux installer from Serpro at install time and takes the program out of it without running the installer. Using the program means accepting Serpro's terms of use. A new version reaches this package after it has been tested with a physical token.

Two small pieces of code are added inside the app. A PKCS#11 module, which Assinador Serpro loads for A3 tokens through its own PKCS11_DRIVER setting, passes the calls to the host's p11-kit, so the token's driver runs on the host; it hides p11-kit's trust slots and adjusts two calls to what p11-kit's RPC accepts. A library preloaded with LD_PRELOAD resolves assinador-desktop.serpro.gov.br to 127.0.0.1 inside the sandbox, because the native installer adds that name to /etc/hosts, which a sandboxed app cannot do. Nothing else is changed. Serpro's launcher is not used: this package starts the same Java command directly, and Flatpak does the updating.

Assinador Serpro is Serpro's desktop signer, for the Brazilian ICP-Brasil certificates. It signs documents with an A1 certificate file or an A3 token or smart card, and lets web pages in your browser request signatures through a local server.

Permissions: this package grants network access (web pages reach the signer through a local server, and it fetches revocation lists and timestamps), your Documents and Downloads folders, where A1 certificate files and documents to sign usually are, and the host's p11-kit socket for A3 tokens (below). Settings and logs stay inside the sandbox. To open certificates or documents from anywhere in your home folder: flatpak override --user --filesystem=home br.gov.serpro.desktop.assinador.

Signing from web pages needs one line on the host, because your browser runs outside the sandbox and the name is not in public DNS: echo '127.0.0.1 assinador-desktop.serpro.gov.br' | sudo tee -a /etc/hosts. The native installer adds the same line.

A3 tokens and smart cards need a one-time setup on the host, because the token's driver cannot run inside the sandbox. Install the driver from your certificate vendor and make sure pcscd is running, as for any Linux installation, and register the driver with p11-kit if the vendor does not (a file in ~/.config/pkcs11/modules/ with the line module: /path/to/the/driver.so). Then run a p11-kit server that listens on $XDG_RUNTIME_DIR/p11-kit/pkcs11: where your distribution ships the systemd user socket, that is systemctl --user enable --now p11-kit-server.socket. On an immutable system, Tessera from FlatPark can serve the driver instead of a package on the host. A1 certificate files need none of this.

详情

开发者
Serpro
许可证
Proprietary
运行时
Freedesktop 26.08
架构
x86_64
版本
4.6.0 · 2026-10-29
网站
主页

权限

5 项需确认
  • X11 窗口系统

    传统显示协议;可窥探其他 X11 窗口的输入

  • 网络访问

    可访问互联网和本地网络

  • 文件:xdg-documents

  • 文件:xdg-download

  • 文件:xdg-run/p11-kit/pkcs11

  • 进程间通信

    与主机共享 IPC 命名空间

  • 持久化存储:.serpro

  • 持久化存储:.signer

  • 持久化存储:.demoiselle

  • GPU 加速

打包方式

有改动
  • 向应用注入了代码

    一个小型 PKCS#11 模块,由 Assinador Serpro 通过它自己的 PKCS11_DRIVER 设置加载,把 A3 令牌的调用转给宿主的 p11-kit,令牌驱动在宿主上运行。它会隐藏 p11-kit 的信任槽,并调整两个调用以符合 p11-kit RPC 的要求。

  • 向应用注入了代码

    一个小型库通过 LD_PRELOAD 预加载,在沙盒内把 assinador-desktop.serpro.gov.br 解析为 127.0.0.1。原生安装程序会把这个名称写入 /etc/hosts,而沙盒内的应用无法这样做。其他名称原样交给 C 库处理。

这些级别是什么意思 →