Free software means that the users have the freedom to run, edit, contribute to, and share the software.
Idea behind this project is to provide free (open source) alternative for PodpisGov application.
Implementation is based on available sources of information from the internet, it is not guaranteed that it is 100% compatible with PodpisGOV application and suitable for all the cases. Use with caution.
eu.europa.esig.dss
package is used to communicate with HSM. It uses Sun PKCS11 implementation, so as of now
Sun / Oracle JDK shall be used to run the application. It would be great to migrate to any kind of open PKCS11 implementation
to remove this limitation (please feel free to submit Pull Request)eu.europa.esig.dss
doesn't have possibility to find all available slots, so you need to provide slot number manually.1
for most cases.Please add description for other vendors if you will test application with it - submit PR or create issue.
files
directory for convenience.src/main/java/pl/podpisfree/Config.java
, adjust paths for the library and slot index../gradlew run
PodpisFree is ready
message in your browser.If during usage of the application you see PIN or Smart Card related errors, please try to change slot index in configuration and restart application.
Please note, that usually Smart Card allows only 3 tries for PIN, so if slot was not selected properly and have different PIN, you can lock the PIN if too many attempts to use the slot is performed.
./gradlew check
before submitting PR.eu.europa.esig.dss
does not currently support it, consider to
submit PR to theirs repository or create fork - it is open-source library.