MargTools replacement
Go to file
2023-11-13 10:37:42 +01:00
LICENSE Add unlicense 2023-11-13 09:01:36 +01:00
margfools Support signing multiple documents 2023-11-13 10:37:42 +01:00
margfools.desktop Add desktop file 2023-11-13 09:01:36 +01:00
README.md Add README 2023-11-13 09:01:36 +01:00
UNLICENSE Add unlicense 2023-11-13 09:01:36 +01:00

margfools

Python script to replace MargTools. Can be used to sign documents with GovernmentConnect.

Usage

Create the configuration file ~/.margfools with the paths to your TLS private key and certificate in PEM format:

[https://gcsign.example.com/BCSign/]
user-key = <path/to/key.pem>
user-cert = <path/to/cert.pem>

Section name is the percent-decoded value of baseURL in

bc-digsign://sign?accessToken=…&baseUrl=https%3a%2f%2fgcsign.example.com%2fBCSign%2f&…'

You can set margfools as the default program for bc-digsign URLs by copying the margfools.desktop file to ~/.local/share/applications/ and running

xdg-mime default margfools.desktop x-scheme-handler/bc-digsign

or by setting the default application in your browser.