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
192c48c6
Commit
192c48c6
authored
Nov 03, 2018
by
Sietse Ringers
Browse files
Fix new message for no-attribute disclosures
parent
d02771dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
irmaclient/client.go
View file @
192c48c6
...
...
@@ -518,6 +518,9 @@ func (client *Client) groupCredentials(choice *irma.DisclosureChoice, disjunctio
}
if
identifier
.
IsCredential
()
{
attributeIndices
[
i
]
=
[]
*
irma
.
DisclosedAttributeIndex
{
{
AttributeIndex
:
1
,
Identifier
:
ici
},
}
continue
// In this case we only disclose the metadata attribute, which is already handled
}
index
,
err
:=
client
.
Configuration
.
CredentialTypes
[
identifier
.
CredentialTypeIdentifier
()]
.
IndexOf
(
identifier
)
...
...
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