How to parse leaf_input in CTLog

233 views
Skip to first unread message

Ray Zheng

unread,
May 8, 2020, 6:16:48 AM5/8/20
to certificate-transparency
We have a project to parse the information in leaf_input and monitor certificates of domains/organization are issued.

We use Python to deal with this.

get-entries api will return a list of entries with leaf_input and extra_data, I think we only need to parse leaf_input.

According to the doc https://tools.ietf.org/html/rfc6962, the leaf_input is in base64 format, and we use b64decode to decode the data, and the data doesn't looks like readable. Any one know how to parse the information in leaf_input.

By the way, we also find a tool at https://redkestrel.co.uk/products/decoder/, looks like it could recognize this leaf_input quite well and display the certificate properly.


Reply all
Reply to author
Forward
0 new messages