transparency-dev / trillian-tessera

Go library for building tile-based transparency logs (tlogs)
Apache License 2.0
11 stars 11 forks source link

Move more settings from the config to flags #226

Closed phbnf closed 2 months ago

phbnf commented 2 months ago

Towards #200 and #88

This PR moves rejectExpired, rejectUnexpired, extKeyUsages and rejectExtensions from the config to flags.

I considered parsing the extKeyUsages and rejectExtensions with custom flag types in main.go, or even with multiflags... but one step at a time, let's err on simplicity for now.