-
Notifications
You must be signed in to change notification settings - Fork 4
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
OID4VCI Integration #29
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.
The CI is failing because of async (which I've fixed in #25)
There's more code than I was expecting but it all looks good. Maybe in the future we'll realise it doesn't need to be too flexible.
I won't approve until the CI is passing and it's all tested end-to-end
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 would also like to see some consideration for the VdcCollection and key management. How does a credential get stored in the VdcCollection, and how is that associated with a keypair that can be accessed by credential presentation code.
|
||
#[uniffi::export] | ||
pub async fn oid4vci_initiate_with_offer( | ||
credential_offer: String, |
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.
What's the format of this string? The code implies that it's JSON, but a credential offer is parsed from a URI. Could we just pass the URI here instead?
4da58d6
to
d22a9c1
Compare
After syncing with @theosirian, we're going to try to merge this as-is before rebasing on the open draft PRs. We'll upstream the changes for the Would it be okay to get this final review today for merge? |
ead50a5
to
113b59d
Compare
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
…pper object export; Add async http client trait Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
… interface Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
5a6d0f0
to
a93d62e
Compare
Signed-off-by: Tiago Nascimento <tiago.nascimento@spruceid.com>
Depends on spruceid/oid4vci-rs#18.
Bindings compilation status: