-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "3.0.13")  
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Native developer build: no Click package metadata/install layout.
-- Configuring done (0.4s)
-- Generating done (0.0s)
-- Build files have been written to: <build-qt>
[  1%] Building CXX object CMakeFiles/sshproxy_portable.dir/src/MorphLaunchConfig.cpp.o
[  3%] Building CXX object CMakeFiles/sshproxy_portable.dir/src/VaultCrypto.cpp.o
[  3%] Built target test_proxy_relay_autogen_timestamp_deps
[  5%] Building CXX object CMakeFiles/sshproxy_portable.dir/src/SshNetwork.cpp.o
[  7%] Automatic MOC for target test_proxy_relay
[  7%] Built target test_proxy_relay_autogen
[  9%] Building CXX object tests/CMakeFiles/test_proxy_relay.dir/test_proxy_relay_autogen/mocs_compilation.cpp.o
[ 11%] Building CXX object tests/CMakeFiles/test_proxy_relay.dir/test_proxy_relay.cpp.o
[ 13%] Building CXX object tests/CMakeFiles/test_proxy_relay.dir/__/src/SshRelay.cpp.o
[ 15%] Linking CXX static library libsshproxy_portable.a
[ 17%] Linking CXX executable test_proxy_relay
[ 17%] Built target sshproxy_portable
[ 17%] Built target sshproxy_autogen_timestamp_deps
[ 17%] Built target test_vault_crypto_autogen_timestamp_deps
[ 17%] Built target test_ssh_network_autogen_timestamp_deps
[ 17%] Built target test_morph_launch_config_autogen_timestamp_deps
[ 17%] Built target desktop_entry_fixture_autogen_timestamp_deps
[ 17%] Built target test_config_transfer_autogen_timestamp_deps
[ 19%] Built target test_proxy_relay
[ 21%] Automatic MOC for target sshproxy
[ 23%] Automatic MOC for target test_vault_crypto
[ 25%] Automatic MOC for target test_ssh_network
[ 26%] Automatic MOC for target test_morph_launch_config
[ 26%] Built target test_ssh_network_autogen
[ 26%] Built target test_vault_crypto_autogen
[ 26%] Built target test_morph_launch_config_autogen
[ 28%] Automatic MOC for target desktop_entry_fixture
[ 30%] Automatic MOC for target test_config_transfer
[ 32%] Building CXX object tests/CMakeFiles/test_ssh_network.dir/test_ssh_network_autogen/mocs_compilation.cpp.o
[ 32%] Built target desktop_entry_fixture_autogen
[ 34%] Building CXX object tests/CMakeFiles/test_ssh_network.dir/test_ssh_network.cpp.o
[ 36%] Building CXX object tests/CMakeFiles/test_vault_crypto.dir/test_vault_crypto_autogen/mocs_compilation.cpp.o
[ 38%] Building CXX object tests/CMakeFiles/test_vault_crypto.dir/test_vault_crypto.cpp.o
[ 38%] Built target sshproxy_autogen
[ 40%] Building CXX object tests/CMakeFiles/test_morph_launch_config.dir/test_morph_launch_config_autogen/mocs_compilation.cpp.o
[ 42%] Building CXX object tests/CMakeFiles/test_morph_launch_config.dir/test_morph_launch_config.cpp.o
[ 42%] Built target test_config_transfer_autogen
[ 44%] Building CXX object tests/CMakeFiles/desktop_entry_fixture.dir/desktop_entry_fixture_autogen/mocs_compilation.cpp.o
[ 46%] Building CXX object tests/CMakeFiles/desktop_entry_fixture.dir/desktop_entry_fixture.cpp.o
[ 48%] Linking CXX executable test_vault_crypto
[ 50%] Built target test_vault_crypto
[ 51%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/test_config_transfer_autogen/mocs_compilation.cpp.o
[ 53%] Linking CXX executable desktop_entry_fixture
[ 55%] Linking CXX executable test_morph_launch_config
[ 57%] Built target desktop_entry_fixture
[ 59%] Generating qrc_resources.cpp
[ 61%] Building CXX object CMakeFiles/sshproxy.dir/sshproxy_autogen/mocs_compilation.cpp.o
[ 63%] Built target test_morph_launch_config
[ 65%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/test_config_transfer.cpp.o
[ 67%] Linking CXX executable test_ssh_network
[ 69%] Built target test_ssh_network
[ 71%] Building CXX object CMakeFiles/sshproxy.dir/src/main.cpp.o
[ 73%] Building CXX object CMakeFiles/sshproxy.dir/src/ConfigTransfer.cpp.o
[ 75%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/__/src/ConfigTransfer.cpp.o
[ 76%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/__/src/ProxyBackend.cpp.o
[ 78%] Building CXX object CMakeFiles/sshproxy.dir/src/ProxyBackend.cpp.o
[ 80%] Building CXX object CMakeFiles/sshproxy.dir/src/MorphLauncher.cpp.o
[ 82%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/__/src/MorphLauncher.cpp.o
[ 84%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/__/src/SshTunnel.cpp.o
[ 86%] Building CXX object CMakeFiles/sshproxy.dir/src/SshTunnel.cpp.o
[ 88%] Building CXX object CMakeFiles/sshproxy.dir/src/SshRelay.cpp.o
[ 90%] Building CXX object CMakeFiles/sshproxy.dir/qrc_resources.cpp.o
[ 92%] Building CXX object tests/CMakeFiles/test_config_transfer.dir/__/src/SshRelay.cpp.o
[ 96%] Linking CXX executable test_config_transfer
[ 96%] Linking CXX executable sshproxy
[ 98%] Built target test_config_transfer
[100%] Built target sshproxy
Internal ctest changing into directory: <build-qt>
UpdateCTestConfiguration  from :<build-qt>/DartConfiguration.tcl
Parse Config file:<build-qt>/DartConfiguration.tcl
UpdateCTestConfiguration  from :<build-qt>/DartConfiguration.tcl
Parse Config file:<build-qt>/DartConfiguration.tcl
Test project <build-qt>
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 1
    Start 1: ssh_network

1: Test command: <build-qt>/tests/test_ssh_network
1: Working Directory: <build-qt>/tests
1: Test timeout computed to be: 1500
1: PASS family interleaving preserves preference, deduplicates and handles empty input
1: PASS address and socket candidate count is bounded
1: PASS system resolver respects localhost without external DNS
1: PASS repeated hostname lookups invoke resolver afresh
1: PASS DNS cancellation is nonblocking, discards late results and caps outstanding workers
1: PASS resolver errors release slots and do not copy arbitrary exception text
1: PASS real TCP connection logs destination/source and configures liveness guards
1: PASS immediate refusal advances to next candidate without stagger delay
1: PASS stalled first address does not block second; losing sockets are closed
1: PASS global TCP timeout is bounded and identifies pre-handshake failure
1: PASS cancelling pending TCP attempts is prompt and closes their descriptors
1: PASS unavailable IPv6 endpoint falls back to usable IPv4 endpoint
1: PASS source-route checks send no UDP payload and close probe sockets
1: PASS pre-cancelled, empty and invalid numeric requests fail safely
1: 14 native SSH network cases passed.
1/7 Test #1: ssh_network ......................   Passed    0.43 sec
test 2
    Start 2: proxy_relay

2: Test command: <build-qt>/tests/test_proxy_relay
2: Working Directory: <build-qt>/tests
2: Test timeout computed to be: 1500
2: PASS browser CONNECT is forwarded byte-for-byte without a local token or mail endpoint restriction
2: PASS ordinary absolute-form HTTP GET and its full response pass unchanged
2: PASS HTTP request bodies arriving with headers preserve UTF-8 bytes
2: PASS remote HTTP 403 is returned intact without restarting the tunnel
2: PASS unexpected upstream authentication response is passed to the browser, not suppressed
2: PASS idle preconnections expire after five seconds without reserving an SSH forwarding channel
2: PASS bounded idle admission pool does not block a subsequent browser connection
2: PASS eight simultaneous browser channels preserve binary byte streams
2: PASS local write half-close still drains the SSH response
2: PASS serialized open EAGAIN (including direction changes) preserves both browser streams
2: PASS serialized write EAGAIN (including direction changes) preserves both browser streams
2: PASS serialized read EAGAIN (including direction changes) preserves both browser streams
2: PASS serialized adjust EAGAIN (including direction changes) preserves both browser streams
2: PASS serialized eof EAGAIN (including direction changes) preserves both browser streams
2: PASS serialized free EAGAIN (including direction changes) preserves both browser streams
2: PASS new local bytes and another channel cannot change a blocked write's pointer, length or payload
2: PASS disconnect and stop retain the packet owner; no live-wire cleanup calls interleave
2: 17 relay cases passed (real loopback sockets; deterministic libssh2 double)
2/7 Test #2: proxy_relay ......................   Passed    6.71 sec
test 3
    Start 3: vault_crypto

3: Test command: <build-qt>/tests/test_vault_crypto
3: Working Directory: <build-qt>/tests
3: Test timeout computed to be: 1500
3: PASS UTF-8 password and profile round trip through AES-256-GCM
3: PASS rewriting the profile uses a fresh nonce with the unlocked key
3: PASS new vaults use independent random salts and derived keys
3: PASS wrong password fails without returning plaintext or a usable session key
3: PASS version, KDF, salt, nonce, ciphertext and tag tampering are rejected
3: PASS truncated, oversized and excessive-cost vaults fail before unbounded work
3: PASS password and profile size limits enforced
3: PASS maximum allowed profile encrypts and decrypts without truncation
3: PASS cleared key is zeroed and cannot encrypt; plaintext wipe clears its buffer
3: 9 vault cases passed
3/7 Test #3: vault_crypto .....................   Passed    0.70 sec
test 4
    Start 4: morph_launch_config

4: Test command: <build-qt>/tests/test_morph_launch_config
4: Working Directory: <build-qt>/tests
4: Test timeout computed to be: 1500
4: PASS numeric loopback proxy flag has no markdown or DIRECT fallback
4: PASS session-launch client does not inherit or forge an application identity
4: PASS display, input method, session bus, XDG and UTF-8 user paths are retained
4: PASS Click loader paths removed while system/vendor paths remain
4: PASS preloads, debugger and inherited sandbox overrides removed
4: PASS desktop entry supplies flags instead of relying on parent environment forwarding
4: PASS proxy-specific temporary directory and isolation variables are not inherited
4: PASS bundle filtering respects directory boundaries
4: PASS internal launch helper replaces the normal and localized main names
4: PASS helper is hidden from app menus without being marked deleted
4: PASS installed icon, touch, confinement and splash metadata are preserved
4: PASS primary Exec injects one correctly quoted environment argument and retains URL field code
4: PASS new-window and private-window actions also use the proxy and retain their translations
4: PASS no MIME/default-browser claim or D-Bus activation bypass
4: PASS inherited NoDisplay/Hidden keys cannot disable the internal launcher
4: PASS installer ownership and non-secret port are recorded
4: PASS unrelated desktop files are not considered managed
4: PASS every generated Exec uses the saved custom port
4: PASS zero ports, missing Exec, non-applications and duplicate primary groups rejected
4: PASS duplicate Exec, already wrapped entries, oversize input and NULs rejected
4: PASS UTF-8 metadata and quoted executable preserved; CRLF normalized to LF
4: PASS source system desktop text is not modified
4: 22 launcher configuration cases passed
4/7 Test #4: morph_launch_config ..............   Passed    0.00 sec
test 5
    Start 5: desktop_entry_gio

5: Test command: /usr/local/bin/python3 "<source>/tests/test_desktop_entry_gio.py" "<build-qt>/tests/desktop_entry_fixture"
5: Working Directory: <build-qt>/tests
5: Test timeout computed to be: 1500
5: test_custom_port_and_utf8_argument_real_execution (__main__.DesktopExecution.test_custom_port_and_utf8_argument_real_execution) ... ok
5: test_default_port_real_desktop_execution (__main__.DesktopExecution.test_default_port_real_desktop_execution) ... ok
5: test_incognito_action_real_execution (__main__.DesktopExecution.test_incognito_action_real_execution) ... ok
5: test_new_window_action_real_execution (__main__.DesktopExecution.test_new_window_action_real_execution) ... ok
5: test_shipped_standalone_file_parses (__main__.DesktopExecution.test_shipped_standalone_file_parses) ... ok
5: 
5: ----------------------------------------------------------------------
5: Ran 5 tests in 0.183s
5: 
5: OK
5/7 Test #5: desktop_entry_gio ................   Passed    0.27 sec
test 6
    Start 6: config_transfer

6: Test command: <build-qt>/tests/test_config_transfer
6: Working Directory: <build-qt>/tests
6: Test timeout computed to be: 1500
6: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
6: PASS export is UTF-8 JSON with readable settings and no plaintext key
6: PASS UTF-8 export password decrypts the complete profile
6: PASS wrong export password imports nothing
6: PASS blank password reads only the readable settings
6: PASS UTF-8 byte-order mark is accepted and UTF-16 is refused
6: PASS foreign, newer, broken and oversized documents are refused
6: PASS plain-text private keys are refused
6: PASS damaged encrypted profiles are refused
6: PASS settings-only export omits the key and short export passwords are refused
6: SSH Proxy: 2026-11-07T07:12:42.541Z INFO Configure SSH and create an app password. Hostname and username have no defaults.
6: SSH Proxy: 2026-11-07T07:12:42.541Z INFO Save and connect clicked. Validating settings...
6: SSH Proxy: 2026-11-07T07:12:42.618Z INFO SSH settings and private key saved in the encrypted vault. Starting connection...
6: SSH Proxy: 2026-11-07T07:12:42.618Z INFO Connect/reconnect requested. Old transport will not be reused.
6: SSH Proxy: 2026-11-07T07:12:42.618Z INFO Opening a pinned SSH connection. No direct network fallback is provided by this relay.
6: SSH Proxy: 2026-11-07T07:12:42.618Z INFO Attempt 4: Using configured numeric SSH address 127.0.0.1; no DNS lookup.
6: SSH Proxy: 2026-11-07T07:12:42.618Z INFO Stop tunnel clicked.
6: SSH Proxy: 2026-11-07T07:12:42.619Z INFO Tunnel stopped. All relay connections are closed; unlocked settings remain in memory.
6: SSH Proxy: 2026-11-07T07:12:42.619Z INFO Export configuration to file clicked.
6: SSH Proxy: 2026-11-07T07:12:42.619Z ERROR Enter matching export passwords of at least 8 characters. Anyone with the file can try to guess it offline, so use a long, unique passphrase.
6: SSH Proxy: 2026-11-07T07:12:42.619Z INFO Export configuration to file clicked.
6: SSH Proxy: 2026-11-07T07:12:42.619Z ERROR Enter matching export passwords of at least 8 characters. Anyone with the file can try to guess it offline, so use a long, unique passphrase.
6: SSH Proxy: 2026-11-07T07:12:42.619Z INFO Export configuration to file clicked.
6: SSH Proxy: 2026-11-07T07:12:42.689Z INFO Configuration exported to /tmp/sshproxy.barrydegraaff-XfFiHW/Documents/sshproxy-config-20261107-081242.json. The private key inside is encrypted with the export password; the server, username and fingerprint are readable. Delete the file after importing it.
6: SSH Proxy: 2026-11-07T07:12:42.689Z INFO Export configuration to file clicked.
6: SSH Proxy: 2026-11-07T07:12:42.689Z INFO Configuration exported without the private key to /tmp/sshproxy.barrydegraaff-XfFiHW/Documents/sshproxy-config-20261107-081242-2.json. Paste the key again after importing it.
6: SSH Proxy: 2026-11-07T07:12:42.689Z INFO Copy configuration to clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:42.758Z INFO Configuration JSON copied to the clipboard, with the private key encrypted. Other apps can read the clipboard; clear it after pasting.
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Locked. Tunnel stopped and retained key buffers cleared. Morph is not closed automatically.
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Export configuration to file clicked.
6: SSH Proxy: 2026-11-07T07:12:42.759Z ERROR Unlock the saved settings before exporting them.
6: PASS old phone exports owner-only JSON files and refuses locked or weak exports
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Configure SSH and create an app password. Hostname and username have no defaults.
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Find configuration files clicked.
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Found 1 configuration file(s). Select one to import.
6: PASS fresh installation finds exported files in Downloads
6: SSH Proxy: 2026-11-07T07:12:42.759Z INFO Import configuration from file clicked: SSHProxy-Config-from-old-phone.json
6: SSH Proxy: 2026-11-07T07:12:42.826Z ERROR Import from SSHProxy-Config-from-old-phone.json failed. Incorrect export password, or the encrypted profile is damaged. Nothing was imported.
6: SSH Proxy: 2026-11-07T07:12:42.826Z INFO Import configuration from file clicked: SSHProxy-Config-from-old-phone.json
6: SSH Proxy: 2026-11-07T07:12:42.826Z INFO Imported settings from SSHProxy-Config-from-old-phone.json without its private key, because no export password was entered. Enter it and import again, or paste the key. Review the form, choose a new app password, then press Save and connect.
6: SSH Proxy: 2026-11-07T07:12:42.826Z INFO Import configuration from file clicked: SSHProxy-Config-from-old-phone.json
6: SSH Proxy: 2026-11-07T07:12:42.897Z INFO Imported settings and the encrypted private key from SSHProxy-Config-from-old-phone.json. Nothing is saved yet. Review the form, choose a new app password, then press Save and connect.
6: PASS import fills settings, keeps the decrypted key in the backend
6: SSH Proxy: 2026-11-07T07:12:42.897Z INFO Import configuration from file clicked: sshproxy-tampered.json
6: SSH Proxy: 2026-11-07T07:12:42.963Z ERROR Import from sshproxy-tampered.json failed. The readable settings differ from the encrypted profile, so the file was edited or damaged. Nothing was imported.
6: PASS edited readable settings are refused when the encrypted profile is opened
6: SSH Proxy: 2026-11-07T07:12:42.963Z INFO Save and connect clicked. Validating settings...
6: SSH Proxy: 2026-11-07T07:12:42.963Z ERROR Enter matching app passwords of at least 8 characters. A long, unique passphrase is recommended.
6: SSH Proxy: 2026-11-07T07:12:42.963Z INFO Save and connect clicked. Validating settings...
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO SSH settings and private key saved in the encrypted vault. Starting connection...
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Connect/reconnect requested. Old transport will not be reused.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Opening a pinned SSH connection. No direct network fallback is provided by this relay.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Attempt 4: Using configured numeric SSH address 127.0.0.1; no DNS lookup.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Stop tunnel clicked.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Tunnel stopped. All relay connections are closed; unlocked settings remain in memory.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Locked. Tunnel stopped and retained key buffers cleared. Morph is not closed automatically.
6: SSH Proxy: 2026-11-07T07:12:43.031Z INFO Unlock and connect clicked.
6: SSH Proxy: 2026-11-07T07:12:43.099Z INFO Connect/reconnect requested. Old transport will not be reused.
6: SSH Proxy: 2026-11-07T07:12:43.100Z INFO Opening a pinned SSH connection. No direct network fallback is provided by this relay.
6: SSH Proxy: 2026-11-07T07:12:43.100Z INFO Attempt 9: Using configured numeric SSH address 127.0.0.1; no DNS lookup.
6: SSH Proxy: 2026-11-07T07:12:43.100Z INFO Stop tunnel clicked.
6: SSH Proxy: 2026-11-07T07:12:43.100Z INFO Tunnel stopped. All relay connections are closed; unlocked settings remain in memory.
6: SSH Proxy: 2026-11-07T07:12:43.100Z INFO Locked. Tunnel stopped and retained key buffers cleared. Morph is not closed automatically.
6: PASS blank key field saves the imported key into a new vault with a new app password
6: SSH Proxy: 2026-11-07T07:12:43.169Z INFO Unlock and connect clicked.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Connect/reconnect requested. Old transport will not be reused.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Opening a pinned SSH connection. No direct network fallback is provided by this relay.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Attempt 14: Using configured numeric SSH address 127.0.0.1; no DNS lookup.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Stop tunnel clicked.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Tunnel stopped. All relay connections are closed; unlocked settings remain in memory.
6: SSH Proxy: 2026-11-07T07:12:43.236Z INFO Import configuration from clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Imported settings and the encrypted private key from the clipboard. Nothing is saved yet. Review the form, then press Save and connect to replace the saved profile.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Pending imported private key discarded.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Import configuration from clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Imported settings from the clipboard. The file has no private key; paste it into the form. Review the form, then press Save and connect to replace the saved profile.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Import configuration from clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Imported settings from the clipboard. The file has no private key; paste it into the form. Review the form, then press Save and connect to replace the saved profile.
6: SSH Proxy: 2026-11-07T07:12:43.304Z INFO Import configuration from clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:43.372Z INFO Imported settings and the encrypted private key from the clipboard. Nothing is saved yet. Review the form, then press Save and connect to replace the saved profile.
6: SSH Proxy: 2026-11-07T07:12:43.372Z INFO Locked. Tunnel stopped and retained key buffers cleared. Morph is not closed automatically.
6: SSH Proxy: 2026-11-07T07:12:43.372Z INFO Import configuration from clipboard clicked.
6: SSH Proxy: 2026-11-07T07:12:43.372Z ERROR Unlock the existing vault, or forget it, before importing a configuration.
6: PASS clipboard import, discard and lock clear the pending key
6: 15 configuration transfer tests passed.
6/7 Test #6: config_transfer ..................   Passed    1.20 sec
test 7
    Start 7: qml_load

7: Test command: /usr/local/bin/python3 "<source>/tests/test_qml_load.py" "<build-qt>/sshproxy"
7: Working Directory: <build-qt>/tests
7: Test timeout computed to be: 1500
7: PASS packaged QML loaded on the setup screen without QML errors
7/7 Test #7: qml_load .........................   Passed    8.08 sec

100% tests passed, 0 tests failed out of 7

Total Test time (real) =  17.39 sec
