- Custom fork of QZ Tray 2.2.x with certificate validation bypassed - Implemented pairing key (HMAC) authentication as replacement - Modified files: PrintSocketClient.java (certificate check disabled) - New files: PairingAuth.java, PairingConfigDialog.java - Excluded build artifacts (out/, lib/javafx*) from repository - Library JARs included for dependency management
21 lines
627 B
Java
21 lines
627 B
Java
package qz.installer.provision;
|
|
|
|
import org.codehaus.jettison.json.JSONException;
|
|
import qz.common.Constants;
|
|
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
public class ProvisionerInstallerTests {
|
|
|
|
public static void main(String ... args) throws JSONException, IOException {
|
|
InputStream in = ProvisionerInstallerTests.class.getResourceAsStream("resources/" + Constants.PROVISION_FILE);
|
|
|
|
// Parse the JSON
|
|
ProvisionInstaller provisionInstaller = new ProvisionInstaller(ProvisionerInstallerTests.class, in);
|
|
|
|
// Invoke all parsed steps
|
|
provisionInstaller.invoke();
|
|
}
|
|
}
|