- Clone https://github.com/angelyordanov/signTextJS
- Run
travis/osx..installscript or open it and run the steps manually - Run
travis/osx..script - If all goes well you'll have a
signtextjs_plus-0.0.0-macos.dmgin the repo root
-
-
Save teashawn/5f5adef38d29e5afbb0f4bb46b0fd175 to your computer and use it in GitHub Desktop.
- Install Java 8 (BISS dependency)
# https://stackoverflow.com/a/28635465
brew tap adoptopenjdk/openjdk
brew install --cask adoptopenjdk8-
Install Gemalto drivers. Open https://www.b-trust.bg/services/signature-installation, enter your email and install just the Gemalto drivers (the one behind the MacOS link).
-
Install firefox 68 ESR
-
Add the following root certificates to the firefox chain.
-
B-Trust Root Qualified CA
-
B-Trust Operational Qualified CA
-
B-Trust Root Advanced CA
-
B-Trust Operational Advanced CA
-
The "Advanced" certificates are only required if you want to use the https://test.b-trust.org and not get a SSL error
Option 1: Open B-Trust certification chains page in firefox and install the certificates by clicking on the PEM link and adding all checkboxes in the dialog that FF shows.
Option 2:
1. Set firefox to use the keychain root certs by settingsecurity.enterprise_roots.enabledtotrueinabout:config
2. Open B-Trust certification chains page and download the certificates by clicking on the DER link
3. Add them to the keychain by double clicking on each
4. OpenKeychain Access, find the certificates and move them toSystem
5. Open each certificate inKeychain Accessand setAlways Truston all fields -
-
Install the https://addons.mozilla.org/bg/firefox/addon/signtextjs-plus/ extension to firefox
-
Install signtextjs' native backend
- Make sure you have a folder
/Library/Application Support/Mozilla/NativeMessagingHosts/(check the correct name in here) - Open the
signtextjs_plus-0.0.0-macos.dmgcreated with the build_signTextJS.md (or one downloaded from https://github.com/jasp00/signTextJS/releases) - Move the two files
signtextjs_plus.appandsigntextjs_plus.jsonin theNativeMessagingHostsfolder that should be symlinked in the DMG
- Make sure you have a folder
-
Load the
Gemalto PKSC#11 Modulein Firefox- In
PreferencesopenSecurity Devices(at the bottom of the page) - Press
Loadand enterGemalto PKSC#11 Moduleas the module name and/Library/Gemalto/libidprimepkcs11.dylibas the module filename - Close the device manager and verify your smart card by opening
View Certificates...and selecting the tabYour Certificates
- In
-
Verify signtext js installation by downloading locally https://raw.githubusercontent.com/jasp00/signTextJS/master/test/html/test.html and opening it in Firefox
-
Thank me later :)
-
Install Gemalto drivers. Open https://www.b-trust.bg/services/signature-installation, enter your email, download the installer and unarchive it wit 7zip, install just the Gemalto drivers.
-
Install firefox 78 ESR and disable automatic updates by placing the following policies.json in folder
distributionnext to where the firefox EXE is.C:\Program Files\Mozilla Firefox\distribution\policies.json { "policies": { "AppAutoUpdate": false } } -
Add the following root certificates to the firefox chain.
-
B-Trust Root Qualified CA
-
B-Trust Operational Qualified CA
-
B-Trust Root Advanced CA
-
B-Trust Operational Advanced CA
-
The "Advanced" certificates are only required if you want to use the https://test.b-trust.org and not get a SSL error
Open B-Trust certification chains page in firefox and install the certificates by clicking on the PEM link and adding all checkboxes in the dialog that FF shows.
-
-
Install the https://addons.mozilla.org/bg/firefox/addon/signtextjs-plus/ extension to firefox
-
Install signtextjs' native backend vy downloading the latest release from the github page https://github.com/jasp00/signTextJS
-
Load the
Gemalto PKSC#11 Modulein Firefox- In
PreferencesopenSecurity Devices(at the bottom of the page) - Press
Loadand enterGemalto PKSC#11 Moduleas the module name and/Library/Gemalto/libidprimepkcs11.dylibas the module filename - Close the device manager and verify your smart card by opening
View Certificates...and selecting the tabYour Certificates
- In
-
Verify signtext js installation by downloading locally https://raw.githubusercontent.com/jasp00/signTextJS/master/test/html/test.html and opening it in Firefox