| decode_ssl_tokens_cache.py |
Decode and display the contents of an ssl_tokens_cache.bin file.
File format:
magic: 4 bytes b"STCF"
version: 1 byte
Version 2:
body: zlib-compressed bincode-1.3 Vec<PersistedRecord>
PersistedRecord contains separate token and cert-chain fields with raw DER.
Version 3:
body: bincode-1.3 Vec<PersistedRecord>
checksum: 4-byte little-endian Adler-32 of body
PersistedRecord contains a single compressed_payload field
(token + cert info packed together and compressed).
Run with ``uv run decode_ssl_tokens_cache.py`` for automatic dependency
installation, or ``pip install brotli cryptography darkdetect humanize rich``
for plain Python.
|
14067 |
- |