Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
IRMA
Github mirrors
irmago
Commits
8c66ff79
Commit
8c66ff79
authored
Jan 23, 2020
by
Leon
Committed by
Sietse Ringers
Feb 05, 2020
Browse files
Remove overlapping validation of credential
parent
eb6ac396
Changes
1
Hide whitespace changes
Inline
Side-by-side
internal/servercore/helpers.go
View file @
8c66ff79
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment