Commit 8c780ff8 authored by Sietse Ringers's avatar Sietse Ringers
Browse files

Send multiple ProofP JWTs in issuance

parent 8553270d
......@@ -379,9 +379,9 @@ func (ks *keyshareSession) Finish(challenge *big.Int, responses map[SchemeManage
return
}
message := gabi.IssueCommitmentMessage{Proofs: list, Nonce2: ks.session.(*IssuanceRequest).state.nonce2}
for _, response := range responses {
message.ProofPjwt = response
break
message.ProofPjwts = map[string]string{}
for manager, response := range responses {
message.ProofPjwts[manager.String()] = response
}
ks.sessionHandler.KeyshareDone(message)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment