Commit 8c66ff79 authored by Leon's avatar Leon Committed by Sietse Ringers

Remove overlapping validation of credential

parent eb6ac396
......@@ -94,11 +94,6 @@ func (s *Server) validateIssuanceRequest(request *irma.IssuanceRequest) error {
}
cred.KeyCounter = int(privatekey.Counter)
// Check that the credential is consistent with irma_configuration
if err := cred.Validate(s.conf.IrmaConfiguration); err != nil {
return err
}
// Ensure the credential has an expiry date
defaultValidity := irma.Timestamp(time.Now().AddDate(0, 6, 0))
if cred.Validity == nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment