Transport Layer Security (TLS)
Transport Layer Security - Wikipedia
TOC
Protocol
DNS-over-HTTPS (DoH)
- A cartoon intro to DNS over HTTPS
- DNS over HTTPS: things to consider when you go private
- Firefox將預設啟用DNS-over-HTTPS
- DNS的未來?—談DNS-over-HTTPS及其對網路治理的意涵
- Namecoin
- Ethereum Name Service
Liberating Web Data Using Decentralized Oracles for TLS (DECO)
At a high level, the prover commits to a piece of data D and proves to the verifier that D came from a TLS serverSand optionally a statement πD about D. E.g., in the exampleof proving age, the statement πD could be the predicate “D=y/m/dis Alice’s date of birth andy−2019>18.”
DECentralized Oracles DECO 目前還未開源,概念是 TLS 未完待續來個三方握手,這作法對網頁服務端透明不須做另外設置,代表網頁服務端須清楚確認內容並負責任,不過對於使用者的體驗來看可直接用滑鼠選擇要證明會更方便,因為這樣可同時將外來聚合 ajax 內容納入內容來源證明裡,只要最終引入合成在瀏覽器頁面裡面的都可用瀏覽器地址上面那個 TLS 鎖頭掛的網頁服務端憑證,來證明這網頁與連帶引入的資源都由該鎖頭而起。只是當時簽發服務端憑證範圍只是認 CN 對上網域有效性,現要衍生到後面的內容存在性簽章是否有其效力待觀察。
Liberating web data using DECO, a privacy-preserving oracle protocol 與 電子簽章法§10-全國法規資料庫 的交互作用值得探索。
第 10 條 以數位簽章簽署電子文件者,應符合下列各款規定,始生前條第一項之效力:
一、使用經第十一條核定或第十五條許可之憑證機構依法簽發之憑證。
二、憑證尚屬有效並未逾使用範圍。
Tools
TODO
TLS Session Key Log
NSS Key Log Format - Mozilla | MDN
Key logs can be written by NSS so that external programs can decrypt TLS connections. Wireshark 1.6.0 and above can use these log files to decrypt packets. You can tell Wireshark where to find the key file via Edit→Preferences→Protocols→SSL→(Pre)-Master-Secret log filename.
OpenSSL/BoringSSL applications (browsers, curl, etc) often support logging the pre-master secrets into a file by setting the SSLKEYLOGFILE environment variable. The logfile can then be easily imported into tools like Wireshark to decrypt TLS on the fly.
Traffic tapping — envoy 1.12.0-dev-358793 documentation
The tap transport socket supports both buffered and streaming, controlled by the streaming setting. When buffering, SocketBufferedTrace messages are emitted. When streaming, a series of SocketStreamedTraceSegment are emitted.
- Support dumping of crypto keys to an nss formated key log file · Issue #1043 · loadimpact/k6
- Disable BoringSSL TLS Key Logging SSLKEYLOGFILE · Issue #3479 · brave/brave-browser
- Add support for the SSLKEYLOGFILE environment variable by djc · Pull Request #171 · ctz/rustls
- No way to set ENABLE_SSLKEYLOGFILE · Issue #2210 · curl/curl
- Feature Request: Log TLS Session Keys · Issue #632 · eclipse/mosquitto