Skip to content
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

feat(mdoc): proximity flow for Android functionality #202

Merged
merged 4 commits into from
Nov 19, 2024

Conversation

berendsliedrecht
Copy link
Member

Signed-off-by: Berend Sliedrecht sliedrecht@berend.io

Copy link
Member

@TimoGlastra TimoGlastra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noice noice noice. Should we move it to a separate package as well? Most agent stuff is handled in agent now

agent: EasyPIDAppAgent
}

export const shareDeviceResponse = async (options: ShareDeviceResponseOptions) => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that it!??

Comment on lines 16 to 25
const issuerSignedDocuments = mdocs.map((mdoc) => {
const docType = mdoc.getTag('DocType') as string
return parseIssuerSigned(TypedArrayEncoder.fromBase64(mdoc.base64Url), docType)
})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do a pre-selection on the doctype? So we don't have to fetch all docs? I think the device request should contain some filters?

Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
Signed-off-by: Berend Sliedrecht <sliedrecht@berend.io>
@berendsliedrecht berendsliedrecht merged commit 4b5f277 into main Nov 19, 2024
1 check passed
@berendsliedrecht berendsliedrecht deleted the android-mdoc-proximity branch November 19, 2024 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants