Knut Ahlers

Results 63 comments of Knut Ahlers

I'm not sure if it's worth the investment in time and complexity, as to trigger this race-condition you would need to have a sub-second precision in requesting the same secret...

Hm, why add new configuration options and basically duplicate the code for expiries? The customizations are only set by a systems operator, and there is already a translation from seconds...

I think the most simple implementation would be to switch `ExpiryChoices` from `[]int64` to `[]time.Duration`. In YAML you then can specify i.e. `168h`, `1h`, `1s`, … - We just need...