Add custom QZ Tray fork with pairing key authentication

- 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
This commit is contained in:
2025-10-02 02:27:45 +03:00
parent 755400a269
commit c7266c32ee
444 changed files with 63195 additions and 1 deletions

View File

@@ -0,0 +1,158 @@
[
{
"description": "[ERROR EXPECTED] missing 'type' and 'phase'",
"os": "*",
"data": "foo.bar=1"
},
{
"description": "[ERROR EXPECTED] invalid 'remover' id",
"type": "remover",
"os": "*",
"phase": "install",
"data": "bbb"
},
{
"description": "[ERROR EXPECTED] missing 'type'",
"os": "*",
"phase": "install",
"data": "this_file_does_not_exist"
},
{
"description": "[ERROR EXPECTED] 'data' file missing",
"type": "script",
"os": "*",
"phase": "install",
"data": "this_file_does_not_exist"
},
{
"description": "[ERROR EXPECTED] 'arch' is invalid",
"type": "property",
"os": "*",
"arch": "sparc",
"data": "bar.foo=2"
},
{
"description": "[ERROR EXPECTED] 'os' is invalid",
"type": "property",
"os": "quake",
"arch": "*",
"data": "bar.foo=2"
},
{
"description": "[WINDOWS SCRIPT] powershell at 'install'",
"type": "script",
"os": "windows",
"phase": "install",
"data": "script1.ps1"
},
{
"description": "[MAC SCRIPT] powershell at 'install'",
"type": "script",
"os": "mac",
"phase": "install",
"data": "script1.ps1"
},
{
"description": "[LINUX SCRIPT] python at 'startup'",
"type": "script",
"os": "linux",
"phase": "startup",
"data": "script4.py"
},
{
"description": "[LINUX & MAC SCRIPT] bash without extension at 'install'",
"type": "script",
"os": "linux|mac",
"phase": "install",
"data": "script2"
},
{
"description": "[ALL OS SCRIPT] with '.sh' extension at 'install'",
"type": "script",
"os": "*",
"phase": "install",
"data": "script3.sh"
},
{
"description": "[AARCH64 ONLY SCRIPT] with '.sh' extension at 'install'",
"type": "script",
"os": "*",
"arch": "aarch64",
"phase": "install",
"data": "script2"
},
{
"description": "[CERTIFICATE] at 'startup' (allowed.dat)",
"type": "cert",
"os": "*",
"data": "cert1.crt"
},
{
"description": "[PROPERTY] at wrong phase (qz-tray.properties)",
"type": "property",
"phase": "startup",
"os": "*",
"data": "foo=bar"
},
{
"description": "[PROPERTY] at 'install' (qz-tray.properties)",
"type": "property",
"phase": "install",
"os": "*",
"data": "websocket.secure.ports=9191,9292,9393,9494"
},
{
"description": "[PROPERTY] at 'certgen' (qz-tray.properties)",
"type": "property",
"phase": "install",
"os": "*",
"data": "websocket.insecure.ports=9192,9293,9394,9495"
},
{
"description": "[PROPERTY] at 'certgen' (qz-tray.properties)",
"type": "property",
"os": "*",
"data": "log.size=2097152"
},
{
"description": "[PREFERENCE] at 'startup' (prefs.properties)",
"type": "preference",
"os": "*",
"data": "tray.notifications=true"
},
{
"description": "[REMOVER] at 'install' ('QZ Tray' rebranded 'Cherry Connect')",
"type": "remover",
"os": "*",
"phase": "install",
"data": "Cherry Connect,cc-util,cc"
},
{
"description": "[REMOVER] at 'install' QZ-branded version",
"type": "remover",
"os": "*",
"phase": "install",
"data": "qz"
},
{
"description": "[CA] at 'install'",
"type": "ca",
"os": "*",
"data": "selfsigned1.crt"
},
{
"description": "[CONF] at 'install'",
"type": "conf",
"os": "*",
"data": "java.net.useSystemProxies=true",
"path": "net.properties"
},
{
"description": "[SOFTWARE] at 'install'",
"type": "software",
"os": "windows",
"data": "DCDSetup1.5.0.17.exe",
"args": "/S /v/qn"
}
]