Skip to content
This repository was archived by the owner on Sep 22, 2019. It is now read-only.
This repository was archived by the owner on Sep 22, 2019. It is now read-only.

[ Simple verification: Failure ] Trying to verify/disclose early issued attributes  #31

@mrtuborg

Description

@mrtuborg

Hello,

I was able repeat the whole demo.
I have instances of irma_api_server, Irma_configuration, keyshare_server and running irma_mobile on iOS.

I was able to issue attributes on my instance of Irma_api_server with example/issue.html-website hosted on irma_api_server.

But every time I am trying to verify attributes with example/verify.html returns me:

Result Failure!

in the browser.

On the log screen I have following:

13:35:04.527 [qtp196732636-32] INFO  o.i.api.web.resources.BaseResource - Received get, token: gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw
13:35:04.527 [qtp196732636-32] INFO  o.i.api.web.sessions.IrmaSession - Delaying removal of session gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw with 600 seconds
13:35:05.606 [qtp196732636-34] INFO  o.i.api.web.resources.IssueResource - Received commitments, token: gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw
13:35:05.746 [qtp196732636-34] INFO  o.i.api.web.sessions.IrmaSession - Delaying removal of session gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw with 120 seconds
13:35:05.756 [qtp196732636-32] INFO  org.irmacard.api.web.StatusSocket - WebSocket Close: NO_STATUS_CODE 
13:35:36.754 [qtp196732636-38] INFO  org.irmacard.api.common.JwtParser - Trying signed JWT
13:35:36.757 [qtp196732636-38] INFO  org.irmacard.api.common.JwtParser - Trying unsigned JWT
13:35:36.757 [qtp196732636-38] WARN  org.irmacard.api.common.JwtParser - Discarding JWT signature!
13:35:36.761 [qtp196732636-38] INFO  o.i.api.web.sessions.IrmaSession - Delaying removal of session NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych with 120 seconds
13:35:36.792 [qtp196732636-34] INFO  org.irmacard.api.web.StatusSocket - WebSocket Connect: WebSocketSession[websocket=JsrAnnotatedEventDriver[websocket=org.irmacard.api.web.StatusSocket@4943ab11],behavior=SERVER,connection=WebSocketServerConnection@724478c1{IDLE}{f=Flusher[queueSize=0,aggregateSize=0,failure=null],g=Generator[SERVER,validating],p=Parser@3d3f3aee[ExtensionStack,s=START,c=0,len=0,f=null,p=WebSocketPolicy@e7c4778[behavior=SERVER,maxTextMessageSize=65536,maxTextMessageBufferSize=32768,maxBinaryMessageSize=65536,maxBinaryMessageBufferSize=32768,asyncWriteTimeout=60000,idleTimeout=0,inputBufferSize=4096]]},remote=WebSocketRemoteEndpoint@5ab36e85[batching=true],incoming=JsrAnnotatedEventDriver[websocket=org.irmacard.api.web.StatusSocket@4943ab11],outgoing=ExtensionStack[queueSize=0,extensions=[],incoming=org.eclipse.jetty.websocket.jsr356.JsrSession,outgoing=org.eclipse.jetty.websocket.server.WebSocketServerConnection]]
13:35:39.933 [qtp196732636-38] INFO  o.i.api.web.resources.BaseResource - Received get, token: NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych
13:35:39.933 [qtp196732636-38] INFO  o.i.api.web.sessions.IrmaSession - Delaying removal of session NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych with 600 seconds
13:35:41.051 [qtp196732636-34] INFO  o.i.api.web.sessions.IrmaSession - Delaying removal of session NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych with 120 seconds
13:35:41.052 [qtp196732636-34] INFO  o.i.a.w.r.VerificationResource - Received proofs, token: NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych
13:35:41.054 [qtp196732636-38] INFO  org.irmacard.api.web.StatusSocket - WebSocket Close: NO_STATUS_CODE 
13:35:41.055 [qtp196732636-42] INFO  o.i.api.web.sessions.IrmaSession - Closing session NIbHEY3oxGavF6QQIeZc8oJZWUUGNtlwsM8c0Adwoych
13:37:05.752 [Timer-2] WARN  o.i.api.web.sessions.IrmaSession - Session gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw timeout, removing
13:37:05.752 [Timer-2] WARN  org.irmacard.api.web.StatusSocket - StatusSocket.sendUpdate() called but no websocket registered
13:37:05.753 [Timer-2] INFO  o.i.api.web.sessions.IrmaSession - Closing session gvkwYljQmUOj2PEGcmkM0TTUOf6MntDbgqNuoeYw

I have generated keys with utils/keygen.sh, as it said in README.md,
and have following src/main/resources/config.json

Also I put generated keys into issuers/verifiers directories following way:

irma_api_server% ls src/main/resources/verifiers  
pk.der
irma_api_server% ls src/main/resources/issuers  
sk.der

What else can I perform to have verification/disclosure working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions