Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
/ sthset2pollen Public archive

Download Chromium STHSet and output as STH Pollen (obsolete since Chromium no longer uses STHSets)

Notifications You must be signed in to change notification settings

SSLMate/sthset2pollen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sthset2pollen downloads Chromium's latest STHSet and outputs
it in the form of an STH pollen JSON object as specified in
<https://tools.ietf.org/html/draft-ietf-trans-gossip-00#section-5.2.3>.

The code is based on Adam Langley's crlset-tools
<https://github.com/agl/crlset-tools>.  Many thanks to Graham Edgecombe
<https://www.grahamedgecombe.com/> for explaining to me how STHSets work.


INSTALLATION

sthset2pollen is written in Go.  To install, run:

	go get software.sslmate.com/src/sthset2pollen


USAGE

Just run:

	sthset2pollen

To upload the latest STHSet to an auditor which implements the
sth-pollination endpoint, run:

	sthset2pollen | curl -sS --data-binary @- -H "Content-Type: application/json" https://example.com/.well-known/ct/v1/sth-pollination

About

Download Chromium STHSet and output as STH Pollen (obsolete since Chromium no longer uses STHSets)

Topics

Resources

Stars

Watchers

Forks

Languages