Be sure that maven is installed https://maven.apache.org/. To package the application run:
mvn clean packageThis will create an executable jar in the target folder transparenzsoftware.jar.
If you encounter an error like Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test failed: The forked VM terminated without properly saying goodbye. VM crash or System.exit called?
set export _JAVA_OPTIONS=-Djdk.net.URLClassPath.disableClassPathURLCheck=true, this is a known
issue in the current openjdk version.
Run with:
java -jar target/transparenzsoftware.jar-venables the logging-cliruns it as cli app-f <path>verifies the file runned in cli-hprints help text
In IntelliJ open the project as a maven project (choose the pom.xml file).
Create a public key from the commandline:
openssl genpkey -algorithm EC -pkeyopt ec_paramgen_curve:P-192 -pkeyopt ec_param_enc:named_curve
openssl openssl ecparam -name secp192r1 -out pvk_file.pem
openssl ec -in pvk_file.pem -pubout -out public_key_file.pemThe main entry point of the application is the App class. There is the
static main function which does parameter parsing and initializing and starting
the app.
The application has 4 major packages.
guithis holds theJava Swingclasses for rendering the gui. The main entry point in this package is theTransparenzSoftwareMainclass which holds, all the components and event listeners.i18nholds a class wrapping the loading of translated stringsoutputcontains classes for generating the resulting xmlverifificationcontains the logic to load and verify all implemented formats