Add nbdssl support

This commit is contained in:
Lucian Petrut
2026-09-07 12:46:00 +00:00
parent c3e3fa5769
commit b7131ec0af
14 changed files with 375 additions and 99 deletions
+9
View File
@@ -14,5 +14,14 @@ class TestNfcAuth:
assert ticket.host
assert ticket.port
assert ticket.sessionId
assert session.nfc_ssl is True
assert session.authd_sock.version()
assert session.authd_sock.cipher()
def test_authd_nbd_handshake_completes(self, lab: LabEnv) -> None:
"""Complete authd with plaintext NFC after PROXY (nbd)."""
with lab.authenticate(nfc_ssl=False) as session:
assert session.nfc_ssl is False
assert session.ticket.sessionId
assert session.authd_sock.version()
assert session.authd_sock.cipher()