diff --git a/signer/context.go b/signer/context.go index 134a85a..723f52a 100644 --- a/signer/context.go +++ b/signer/context.go @@ -54,7 +54,7 @@ func NewContext(config *ContextConfig, log *log.Logger) (ctx *Context, err error } if len(config.ExpDateStr) > 0 { - parsedDate, err := time.Parse("20160102", config.ExpDateStr) + parsedDate, err := time.Parse("20060102", config.ExpDateStr) if err != nil { return nil, fmt.Errorf("cannot parse expiration date: %s", err) }