Open wkloucek opened 1 year ago
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.
Pre-submission Checks
Feature description
Have the ability to store pre master keys during SSL handshake to a file for debug / testpilotcloud builds.
These keys can be taken by Wireshark to decrypt the SSL traffic and inspect it.
Proposed solution
Use
SSLKEYLOGFILE
described by https://firefox-source-docs.mozilla.org/security/nss/legacy/key_log_format/index.html, which is supported by many software stacks, like Firefox or Chromium (in debug builds).An example implementation can be found here: https://git.lekensteyn.nl/peter/wireshark-notes/tree/src/sslkeylog.c
Alternative solutions you considered
Switch transport to http. This needs to be done on the server side and cannot be done without changing the server configuration.
I did it for oCIS and it is quite a pain:
ocis server
with following options:PROXY_TLS=false
OCIS_URL=http://localhost:9200
MICRO_REGISTRY=mdns
OCIS_OIDC_ISSUER=https://localhost:9201
ocis proxy server
with following options:OCIS_URL=http://localhost:9200
PROXY_HTTP_ADDR=127.0.0.1:9201
PROXY_DEBUG_ADDR=127.0.0.1:9204
MICRO_REGISTRY=mdns
OCIS_OIDC_ISSUER=https://localhost:9201
~/.config/testpilotcloud/testpilotcloud.cfg
or the respective file for your OS / Desktop client flavor. Changehttps://localhost:9201
tohttp://localhost:9200
Additional context
No response