Created
August 23, 2022 18:34
-
-
Save oberstet/670c913419e0c39fd347e0ab88f5e1bc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(cpy39_1) (base) oberstet@intel-nuci7:~/scm/crossbario/crossbar-examples/authentication/tls/static$ make test_client_tx_good | |
python client_tx.py --url wss://localhost:8080/ws --channel_binding="tls-unique" --key client0.key --cert client0.crt | |
2022-08-23T20:26:47+0200 Connecting to wss://localhost:8080/ws: requesting realm=realm1, authid=None | |
2022-08-23T20:26:47+0200 initializing component: ComponentConfig(realm=<realm1>, extra={'channel_binding': 'tls-unique', 'authid': None, 'exit_details': None}, keyring=None, controller=None, shared=None, runner=<autobahn.twisted.wamp.ApplicationRunner object at 0x7f288bd754c0>) | |
2022-08-23T20:26:47+0200 connected to router | |
2022-08-23T20:26:47+0200 authenticating using authextra={'channel_binding': 'tls-unique', 'authid': None, 'exit_details': None} and channel_binding=tls-unique .. | |
2022-08-23T20:26:47+0200 session joined: {'authextra': {'x_cb_node': 'intel-nuci7-47182', | |
'x_cb_peer': 'tcp4:127.0.0.1:33818', | |
'x_cb_pid': 47286, | |
'x_cb_worker': 'worker001'}, | |
'authid': 'client_0', | |
'authmethod': 'tls', | |
'authprovider': 'static', | |
'authrole': 'backend', | |
'realm': 'realm1', | |
'resumable': False, | |
'resume_token': None, | |
'resumed': False, | |
'serializer': 'cbor.batched', | |
'session': 7321384668693720, | |
'transport': {'channel_framing': 'websocket', | |
'channel_id': {'tls-unique': b'\xf7\x0f\xcc]\xe3w<c\x88s\xda%' | |
b'\x1d,s\xf1\xcc\xcb\xc0\x84' | |
b'\xd0\x0e\xcb\xbbt7`l?\x11\x15\x10'}, | |
'channel_serializer': None, | |
'channel_type': 'tls', | |
'http_cbtid': None, | |
'http_headers_received': None, | |
'http_headers_sent': None, | |
'is_secure': True, | |
'is_server': False, | |
'own': None, | |
'own_fd': -1, | |
'own_pid': 47585, | |
'own_tid': 47585, | |
'peer': 'tcp4:127.0.0.1:8080', | |
'peer_cert': None, | |
'websocket_extensions_in_use': None, | |
'websocket_protocol': None}} | |
2022-08-23T20:26:47+0200 ******************************************************************************** | |
2022-08-23T20:26:47+0200 OK, successfully authenticated with WAMP-cryptosign: realm="realm1", authid="client_0", authrole="backend" | |
2022-08-23T20:26:47+0200 ******************************************************************************** | |
2022-08-23T20:26:47+0200 session closed: CloseDetails(reason=<wamp.close.normal>, message='None') | |
2022-08-23T20:26:47+0200 connection to router closed | |
2022-08-23T20:26:47+0200 Main loop terminated. | |
2022-08-23T20:26:47+0200 CloseDetails(reason=<wamp.close.normal>, message='None') | |
(cpy39_1) (base) oberstet@intel-nuci7:~/scm/crossbario/crossbar-examples/authentication/tls/static$ make test_client_tx_good | |
python client_tx.py --url wss://localhost:8080/ws --channel_binding="tls-unique" --key client0.key --cert client0.crt | |
2022-08-23T20:33:00+0200 Connecting to wss://localhost:8080/ws: requesting realm=realm1, authid=None | |
2022-08-23T20:33:00+0200 initializing component: ComponentConfig(realm=<realm1>, extra={'channel_binding': 'tls-unique', 'authid': None, 'exit_details': None}, keyring=None, controller=None, shared=None, runner=<autobahn.twisted.wamp.ApplicationRunner object at 0x7f3fb74abe80>) | |
2022-08-23T20:33:00+0200 connected to router | |
2022-08-23T20:33:00+0200 authenticating using authextra={'channel_binding': 'tls-unique', 'authid': None, 'exit_details': None} and channel_binding=tls-unique .. | |
2022-08-23T20:33:00+0200 session joined: {'authextra': {'x_cb_node': 'intel-nuci7-47829', | |
'x_cb_peer': 'tcp4:127.0.0.1:34506', | |
'x_cb_pid': 47933, | |
'x_cb_worker': 'worker001'}, | |
'authid': 'client_0', | |
'authmethod': 'tls', | |
'authprovider': 'static', | |
'authrole': 'backend', | |
'realm': 'realm1', | |
'resumable': False, | |
'resume_token': None, | |
'resumed': False, | |
'serializer': 'cbor.batched', | |
'session': 524543548171200, | |
'transport': {'channel_framing': 'websocket', | |
'channel_id': {'tls-unique': b'\xf4\xc9\x0btNa\xc2]m\x84\xf8\xdc' | |
b'\t\xc8\xe1S\xeb\xa2\xe7\xeb' | |
b'N\xa1e\x0f\xc5\xf5q\xa6?R\x0e\xe1'}, | |
'channel_serializer': None, | |
'channel_type': 'tls', | |
'http_cbtid': None, | |
'http_headers_received': None, | |
'http_headers_sent': None, | |
'is_secure': True, | |
'is_server': False, | |
'own': None, | |
'own_fd': -1, | |
'own_pid': 48147, | |
'own_tid': 48147, | |
'peer': 'tcp4:127.0.0.1:8080', | |
'peer_cert': None, | |
'websocket_extensions_in_use': None, | |
'websocket_protocol': None}} | |
2022-08-23T20:33:00+0200 ******************************************************************************** | |
2022-08-23T20:33:00+0200 OK, successfully authenticated with WAMP-cryptosign: realm="realm1", authid="client_0", authrole="backend" | |
2022-08-23T20:33:00+0200 ******************************************************************************** | |
2022-08-23T20:33:00+0200 session closed: CloseDetails(reason=<wamp.close.normal>, message='None') | |
2022-08-23T20:33:00+0200 connection to router closed | |
2022-08-23T20:33:00+0200 Main loop terminated. | |
2022-08-23T20:33:00+0200 CloseDetails(reason=<wamp.close.normal>, message='None') | |
(cpy39_1) (base) oberstet@intel-nuci7:~/scm/crossbario/crossbar-examples/authentication/tls/static$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment