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

wire format for identify request #52

Open
sschulz-t opened this issue Mar 5, 2024 · 2 comments
Open

wire format for identify request #52

sschulz-t opened this issue Mar 5, 2024 · 2 comments

Comments

@sschulz-t
Copy link

openid4vp_ble/main.md

Lines 256 to 267 in e5370d5

## Identify Request {#identify-ble-request}
This request is sent by the Wallet to the Verifier to finalize the connection establishment.
The Verifier's UUID service MUST be `00000006-5026-444A-9E0E-D6F2450F3A77`.
The request carries the following parameters:
* `wallets x25519 key` <TBD required/optional, type, meaning>
* `nonce` <TBD required/optional, type, meaning>
* `encrypted:wallet provider clientid` <would remove for now and file issue instead>
* `encrypted:authentication context` <would remove for now and file issue instead>

What is the wire format of the identify request?

data := [44 bytes] = append([32 bytes public key],  [12 bytes nonce])

?

@gsasikumar
Copy link
Collaborator

Just to understand it better. You are asking for the raw ble packet data?

@sschulz-t
Copy link
Author

I need to know how to send the bytes of the nonce and the public key.

I am assuming the documentation means
data := [44 bytes] = append([32 bytes public key], [12 bytes nonce])

Example:

nonce  = 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC (12 bytes)
pubkey = 0x01, 0x02, 0x03, ..., 0x31, 0x32 (32 bytes)
data   = 0x01, 0x02, 0x03, ..., 0x31, 0x32, 0xA1, 0xA2, .... 0xAC (44 bytes)

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

No branches or pull requests

2 participants