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
d45627be
Commit
d45627be
authored
Apr 07, 2018
by
Sietse Ringers
Browse files
Exclude expire attributes as disclosure candidates
parent
65567254
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaclient/client.go
View file @
d45627be
...
...
@@ -445,6 +445,9 @@ func (client *Client) Candidates(disjunction *irma.AttributeDisjunction) []*irma
continue
}
for
_
,
attrs
:=
range
creds
{
if
!
attrs
.
IsValid
()
{
continue
}
id
:=
&
irma
.
AttributeIdentifier
{
Type
:
attribute
,
CredentialHash
:
attrs
.
Hash
()}
if
attribute
.
IsCredential
()
{
candidates
=
append
(
candidates
,
id
)
...
...
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