Skip to content

Commit e161bd2

Browse files
juagargimatzf
authored andcommitted
Allow clock drifts up to 10. (#58)
In SCIONLab the clocks are not well synchornized. We allow up to 10 seconds difference among clocks in different machines. This particular patch relies on instead of modifying the default values. (cherry picked from commit 692af45)
1 parent f0c97b8 commit e161bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go/lib/infra/modules/trust/verifier.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ type verifier struct {
4242
// control-plane PKI certificates through infra.Verifier interface.
4343
func NewVerifier(provider CryptoProvider) infra.Verifier {
4444
return &verifier{
45-
AllowSkew: 1 * time.Second,
46-
MaxAge: 2 * time.Second,
45+
AllowSkew: 10 * time.Second, // XXX scionlab: allow up to 10s skew
46+
MaxAge: 10 * time.Second, // "
4747
Store: provider,
4848
}
4949
}

0 commit comments

Comments
 (0)