-
Notifications
You must be signed in to change notification settings - Fork 98
Fixes for presentation during issuance workflow. #981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of nits otherwise LGTM, thanks
) | ||
} | ||
putJsonArray("claims") { | ||
// TODO: support path-based claims, e.g. ["address", "postal_code"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this comment can be removed here (and also in VerifierServlet.kt please)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -176,7 +229,7 @@ private fun calcClientMetadata(publicKey: EcPublicKey): JsonObject { | |||
} | |||
return buildJsonObject { | |||
put("authorization_encrypted_response_alg", "ECDH-ES") | |||
put("authorization_encrypted_response_enc", "A128CBC-HS256") | |||
put("authorization_encrypted_response_enc", "A128GCM") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Algorithm.A128GCM.joseAlgorithmIdentifier
might be nicer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
aca22c6
to
d4e9e93
Compare
Minimal PR that brings presentation-during-issuance implementation to the current spec, in particular with DCQL. (More work will follow up to integrate PresentmentModel with the ProvisioningModel, in particular to select potentially matching credential(s) more intellegently). Testing: tested openid4vci issuance workflow with our own openid4vci server implementation. Signed-off-by: Peter Sorotokin <sorotokin@gmail.com>
d4e9e93
to
30cfe22
Compare
Minimal PR that brings presentation-during-issuance implementation to the current spec, in particular with DCQL. (More work will follow up to integrate PresentmentModel with the ProvisioningModel, in particular to select potentially matching credential(s) more intellegently).
Testing: tested openid4vci issuance workflow with our own openid4vci server implementation.