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
a9e76934
Commit
a9e76934
authored
Aug 22, 2018
by
Sietse Ringers
Browse files
Don't set context/nonce in signature session tests
parent
324d9102
Changes
1
Hide whitespace changes
Inline
Side-by-side
internal/sessiontest/session_test.go
View file @
a9e76934
...
...
@@ -7,8 +7,6 @@ import (
"testing"
"time"
"math/big"
"github.com/privacybydesign/irmago"
"github.com/privacybydesign/irmago/internal/fs"
"github.com/privacybydesign/irmago/internal/test"
...
...
@@ -33,10 +31,6 @@ func getSigningJwt(name string, id irma.AttributeTypeIdentifier) interface{} {
return
irma
.
NewSignatureRequestorJwt
(
name
,
&
irma
.
SignatureRequest
{
Message
:
"test"
,
DisclosureRequest
:
irma
.
DisclosureRequest
{
BaseRequest
:
irma
.
BaseRequest
{
Nonce
:
big
.
NewInt
(
1
),
Context
:
big
.
NewInt
(
1
),
},
Content
:
irma
.
AttributeDisjunctionList
([]
*
irma
.
AttributeDisjunction
{{
Label
:
"foo"
,
Attributes
:
[]
irma
.
AttributeTypeIdentifier
{
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