From ebdc52ca97c6480ac5bf7f8058810e30bc2df4cd Mon Sep 17 00:00:00 2001 From: Maceeran Date: Fri, 13 Sep 2024 18:42:35 +0200 Subject: [PATCH 1/3] Tweaked index.html to separate the list of examples into a set of those meant to be run on desktop and another set of those to be run on mobile. --- core/src.ts/web/examples/index.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/src.ts/web/examples/index.html b/core/src.ts/web/examples/index.html index f71a005..edace21 100644 --- a/core/src.ts/web/examples/index.html +++ b/core/src.ts/web/examples/index.html @@ -15,6 +15,12 @@

LibHaLo Demos

+
+

Desktop-only:

+ +

Mobile-only:

From bdc95de1c2e8738ecf1f884fe819cff8df741793 Mon Sep 17 00:00:00 2001 From: Maceeran Date: Fri, 13 Sep 2024 18:52:55 +0200 Subject: [PATCH 2/3] * Added mobile-only & desktop-only to applicable example pages * Added another list(Mobile and desktop compatible) into index.html --- core/src.ts/web/examples/cfg_ndef.html | 2 +- core/src.ts/web/examples/compatible.html | 2 +- core/src.ts/web/examples/demo.html | 2 +- core/src.ts/web/examples/gen_key.html | 2 +- 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 | 6 +++++- core/src.ts/web/examples/key_backup.html | 3 +++ core/src.ts/web/examples/pwd_management.html | 2 +- core/src.ts/web/examples/simple.html | 2 +- 12 files changed, 21 insertions(+), 11 deletions(-) diff --git a/core/src.ts/web/examples/cfg_ndef.html b/core/src.ts/web/examples/cfg_ndef.html index 73d8d09..10e0664 100644 --- a/core/src.ts/web/examples/cfg_ndef.html +++ b/core/src.ts/web/examples/cfg_ndef.html @@ -21,7 +21,7 @@

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 24c0f3e..85613f0 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 9c9a188..0361538 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 ea759b6..b57c1c6 100644 --- a/core/src.ts/web/examples/gen_key.html +++ b/core/src.ts/web/examples/gen_key.html @@ -21,7 +21,7 @@

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 cca8d30..049649a 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 b7bba30..d1fdf4b 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 f7100df..ad50fdf 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 61d4be7..8c97066 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 edace21..dbbf203 100644 --- a/core/src.ts/web/examples/index.html +++ b/core/src.ts/web/examples/index.html @@ -16,6 +16,10 @@

diff --git a/core/src.ts/web/examples/key_backup.html b/core/src.ts/web/examples/key_backup.html index 58651ad..f2491e2 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 0542c62..52aae53 100644 --- a/core/src.ts/web/examples/pwd_management.html +++ b/core/src.ts/web/examples/pwd_management.html @@ -21,7 +21,7 @@

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 715a411..4a00d49 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.

From 31bb1bae579b4ae14dcba5eedfeef557f796e9d9 Mon Sep 17 00:00:00 2001 From: Maceeran Date: Fri, 13 Sep 2024 18:55:29 +0200 Subject: [PATCH 3/3] Standardized example descriptions styling(added "text-muted" class) --- core/src.ts/web/examples/cfg_ndef.html | 2 +- core/src.ts/web/examples/gen_key.html | 2 +- core/src.ts/web/examples/pwd_management.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src.ts/web/examples/cfg_ndef.html b/core/src.ts/web/examples/cfg_ndef.html index 10e0664..61bfcf8 100644 --- a/core/src.ts/web/examples/cfg_ndef.html +++ b/core/src.ts/web/examples/cfg_ndef.html @@ -20,7 +20,7 @@

LibHaLo Demo

-

+

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

diff --git a/core/src.ts/web/examples/gen_key.html b/core/src.ts/web/examples/gen_key.html index b57c1c6..e95a8ee 100644 --- a/core/src.ts/web/examples/gen_key.html +++ b/core/src.ts/web/examples/gen_key.html @@ -20,7 +20,7 @@

LibHaLo Demo

-

+

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

diff --git a/core/src.ts/web/examples/pwd_management.html b/core/src.ts/web/examples/pwd_management.html index 52aae53..e7e1337 100644 --- a/core/src.ts/web/examples/pwd_management.html +++ b/core/src.ts/web/examples/pwd_management.html @@ -20,7 +20,7 @@

LibHaLo Demo

-

+

(Mobile only) Key slot password management demo.