trillian icon indicating copy to clipboard operation
trillian copied to clipboard

Trillian log server and signer config file does not allow comments

Open font opened this issue 3 years ago • 1 comments

It would be great to allow comments in the config file for trillian_log_server and trillian_log_signer via the --config option. The library being used interprets everything as a token, even commented lines, which then fails to fully parse the actual config file options.

https://github.com/google/trillian/blob/ac281dc7977d2a28952afb1f958917e15a1f04cf/cmd/flags.go#L27

font avatar Apr 27 '22 00:04 font

Maybe the way we should go with it is to use Cobra and Viper for better command line and configuration experience.

https://github.com/spf13/cobra https://github.com/spf13/viper

pav-kv avatar May 11 '22 17:05 pav-kv