From 39fa93fb0ee0c4f3488d1bc81930ad9df57d86c8 Mon Sep 17 00:00:00 2001 From: Simon Schulz Date: Wed, 6 Mar 2024 09:30:12 +0100 Subject: [PATCH 1/2] differentiate between 10 characters in hex and 5 bytes for the advertisement --- main.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.md b/main.md index d2a737e..3187600 100644 --- a/main.md +++ b/main.md @@ -203,10 +203,10 @@ PDU: Adv Data: (17 byte) Adv Type: Complete Local Name flag: "LE General Discoverable Mode", "BR/EDR Not Supported" - Data: OVPSTADONENTRY_8520f00989 (3 character + 11 character identifier name + 5 bytes of the random X25519 public key) + Data: OVPSTADONENTRY_8520f00989 (3 character + 11 character identifier name + 10 character (5 bytes) of the random X25519 public key in hex repr. ) ``` -The data in the Advertisement Packet contain the prefix `OVP` indicating that the verifier is ready to accept connections for OpenID 4 VPs. A human readable name of the verifier is given in the next part. The rest of the data packet after the `_` contains the first 5 bytes of the public key (example: `8520f00989´). (max. available size for data as defined by BLE is 20 byte). +The data in the Advertisement Packet contain the prefix `OVP` indicating that the verifier is ready to accept connections for OpenID 4 VPs. A human readable name of the verifier is given in the next part. The rest of the data packet after the `_` contains the first 5 bytes of the public key in a hexadecimal representation (example: `8520f00989´). (max. available size for data as defined by BLE is 20 byte). ### Scan Response Structure From b37f7c74a8c02d3e01aeba390f256bad5f569617 Mon Sep 17 00:00:00 2001 From: Simon Schulz Date: Wed, 6 Mar 2024 09:41:24 +0100 Subject: [PATCH 2/2] make it more clear to whom the public key belongs to --- main.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.md b/main.md index 3187600..d94c63a 100644 --- a/main.md +++ b/main.md @@ -206,7 +206,7 @@ PDU: Data: OVPSTADONENTRY_8520f00989 (3 character + 11 character identifier name + 10 character (5 bytes) of the random X25519 public key in hex repr. ) ``` -The data in the Advertisement Packet contain the prefix `OVP` indicating that the verifier is ready to accept connections for OpenID 4 VPs. A human readable name of the verifier is given in the next part. The rest of the data packet after the `_` contains the first 5 bytes of the public key in a hexadecimal representation (example: `8520f00989´). (max. available size for data as defined by BLE is 20 byte). +The data in the Advertisement Packet contain the prefix `OVP` indicating that the verifier is ready to accept connections for OpenID 4 VPs. A human readable name of the verifier is given in the next part. The rest of the data packet after the `_` contains the first 5 bytes of the verifier public key in a hexadecimal representation (example: `8520f00989´). (max. available size for data as defined by BLE is 20 byte). ### Scan Response Structure