From 549c075d79ae06587b835d65174df48053873ff9 Mon Sep 17 00:00:00 2001 From: Maciej Truskolaski Date: Sun, 15 Sep 2024 03:10:17 +0200 Subject: [PATCH] Separate demos into mobile-only, desktop-only and mobile and desktop compatible (#407) --- core/src.ts/web/examples/cfg_ndef.html | 4 ++-- core/src.ts/web/examples/compatible.html | 2 +- core/src.ts/web/examples/demo.html | 2 +- core/src.ts/web/examples/gen_key.html | 4 ++-- core/src.ts/web/examples/get_data_struct.html | 2 +- core/src.ts/web/examples/get_key_info.html | 2 +- core/src.ts/web/examples/graffiti.html | 5 ++++- core/src.ts/web/examples/halo_bridge.html | 2 +- core/src.ts/web/examples/index.html | 13 +++++++++++-- core/src.ts/web/examples/key_backup.html | 3 +++ core/src.ts/web/examples/pwd_management.html | 4 ++-- core/src.ts/web/examples/simple.html | 2 +- 12 files changed, 30 insertions(+), 15 deletions(-) diff --git a/core/src.ts/web/examples/cfg_ndef.html b/core/src.ts/web/examples/cfg_ndef.html index 73d8d091..61bfcf85 100644 --- a/core/src.ts/web/examples/cfg_ndef.html +++ b/core/src.ts/web/examples/cfg_ndef.html @@ -20,8 +20,8 @@

LibHaLo Demo

-

- This demo will help you to reconfigure the NDEF URL feature. +

+ (Mobile only) This demo will help you to reconfigure the NDEF URL feature.

URL flags: diff --git a/core/src.ts/web/examples/compatible.html b/core/src.ts/web/examples/compatible.html index 24c0f3e6..85613f0b 100644 --- a/core/src.ts/web/examples/compatible.html +++ b/core/src.ts/web/examples/compatible.html @@ -22,7 +22,7 @@

LibHaLo Demo

Simple message signing (C1 compatible mode)

- Generate an EIP 191 compliant signature of the provided message data. The message will be hashed using + (Mobile only) Generate an EIP 191 compliant signature of the provided message data. The message will be hashed using Keccak algorithm on the client-side (with the appropriate prefixes) and then the digest will be transmitted to the NFC tag for the actual asymmetric signing.

diff --git a/core/src.ts/web/examples/demo.html b/core/src.ts/web/examples/demo.html index 9c9a1886..03615384 100644 --- a/core/src.ts/web/examples/demo.html +++ b/core/src.ts/web/examples/demo.html @@ -21,7 +21,7 @@

LibHaLo Demo

- Asymmetrically sign arbitrary raw 32 byte digest using HaLo tag. + (Mobile only) Asymmetrically sign arbitrary raw 32 byte digest using HaLo tag.

diff --git a/core/src.ts/web/examples/gen_key.html b/core/src.ts/web/examples/gen_key.html index ea759b69..e95a8eed 100644 --- a/core/src.ts/web/examples/gen_key.html +++ b/core/src.ts/web/examples/gen_key.html @@ -20,8 +20,8 @@

LibHaLo Demo

-

- This demo will help you to generate additional key slots (from #3 onwards). +

+ (Mobile only) This demo will help you to generate additional key slots (from #3 onwards).

diff --git a/core/src.ts/web/examples/get_data_struct.html b/core/src.ts/web/examples/get_data_struct.html index cca8d304..049649af 100644 --- a/core/src.ts/web/examples/get_data_struct.html +++ b/core/src.ts/web/examples/get_data_struct.html @@ -22,7 +22,7 @@

LibHaLo Demo

- Batch retrieve certain public objects from the HaLo tag (like public key values, latch values etc.) + (Mobile only) Batch retrieve certain public objects from the HaLo tag (like public key values, latch values etc.)

diff --git a/core/src.ts/web/examples/get_key_info.html b/core/src.ts/web/examples/get_key_info.html index b7bba30f..d1fdf4bb 100644 --- a/core/src.ts/web/examples/get_key_info.html +++ b/core/src.ts/web/examples/get_key_info.html @@ -22,7 +22,7 @@

LibHaLo Demo

- Get information about the specific key slot. + (Mobile only) Get information about the specific key slot.

diff --git a/core/src.ts/web/examples/graffiti.html b/core/src.ts/web/examples/graffiti.html index f7100df3..ad50fdf0 100644 --- a/core/src.ts/web/examples/graffiti.html +++ b/core/src.ts/web/examples/graffiti.html @@ -19,7 +19,10 @@
-

LibHaLo Demo

+

LibHaLo Demo

+

+ (Mobile only) +

Graffiti text to store: diff --git a/core/src.ts/web/examples/halo_bridge.html b/core/src.ts/web/examples/halo_bridge.html index 61d4be72..8c970660 100644 --- a/core/src.ts/web/examples/halo_bridge.html +++ b/core/src.ts/web/examples/halo_bridge.html @@ -22,7 +22,7 @@

LibHaLo Demo

- Learn how to use HaLo bridge on desktop computers. + (Desktop only)Learn how to use HaLo bridge on desktop computers.

HaLo Bridge documentation diff --git a/core/src.ts/web/examples/index.html b/core/src.ts/web/examples/index.html index f71a0052..dbbf203b 100644 --- a/core/src.ts/web/examples/index.html +++ b/core/src.ts/web/examples/index.html @@ -15,11 +15,20 @@

diff --git a/core/src.ts/web/examples/key_backup.html b/core/src.ts/web/examples/key_backup.html index 58651ad6..f2491e2f 100644 --- a/core/src.ts/web/examples/key_backup.html +++ b/core/src.ts/web/examples/key_backup.html @@ -20,6 +20,9 @@

LibHaLo Demo

+

+ (Mobile only) +

Key slot number: diff --git a/core/src.ts/web/examples/pwd_management.html b/core/src.ts/web/examples/pwd_management.html index 0542c62f..e7e1337d 100644 --- a/core/src.ts/web/examples/pwd_management.html +++ b/core/src.ts/web/examples/pwd_management.html @@ -20,8 +20,8 @@

LibHaLo Demo

-

- Key slot password management demo. +

+ (Mobile only) Key slot password management demo.

diff --git a/core/src.ts/web/examples/simple.html b/core/src.ts/web/examples/simple.html index 715a4110..4a00d490 100644 --- a/core/src.ts/web/examples/simple.html +++ b/core/src.ts/web/examples/simple.html @@ -22,7 +22,7 @@

LibHaLo Demo

Simple message signing

- Generate an EIP 191 compliant signature of the provided message data. The message will be hashed using + (Mobile only) Generate an EIP 191 compliant signature of the provided message data. The message will be hashed using Keccak algorithm on the client-side (with the appropriate prefixes) and then the digest will be transmitted to the NFC tag for the actual asymmetric signing.