From 30ddd10e44d048140660935c3209d4c9718a966f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Leszczy=C5=84ski?= Date: Mon, 17 Jun 2024 15:05:09 -0700 Subject: [PATCH] Update key-slots.md (#323) --- docs/key-slots.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/key-slots.md b/docs/key-slots.md index 513f041..e7e4831 100644 --- a/docs/key-slots.md +++ b/docs/key-slots.md @@ -1,12 +1,13 @@ # HaLo Key Slots -| Key slot no. | Since ver. | Default | Curve | Flags | -|--------------|------------|---------|-------------|-------------------------| -| 0x01 | 01.C1 | ✔️ | secp256k1 | | -| 0x02 | 01.C1 | ✔️ | secp256k1 | `RAW_DIGEST_PROHIBITED` | -| 0x03-0x05 | 01.C7 | ❌ | secp256k1 | | -| 0x06-0x09 | 01.C7 | ❌ | secp256k1 | `MANDATORY_PASSWORD` | -| 0x61 | 01.D1 | ❌ | Baby JubJub | | -| 0x62 | 01.D1 | ✔️ | Baby JubJub | `RAW_DIGEST_PROHIBITED` | +| Key slot no. | Since ver. | Default | Curve | Features | +|--------------|------------|---------|-------------|--------------------------------| +| 0x01 | 01.C1 | ✔️ | secp256k1 | | +| 0x02 | 01.C1 | ✔️ | secp256k1 | Raw digest prohibited | +| 0x03-0x05 | 01.C7 | ❌ | secp256k1 | | +| 0x06-0x07 | 01.C7 | ❌ | secp256k1 | Mandatory password | +| 0x08-0x09 | 01.C8 | ❌ | secp256k1 | Mandatory password, backupable | +| 0x61 | 01.D1 | ❌ | Baby JubJub | | +| 0x62 | 01.D1 | ✔️ | Baby JubJub | Raw digest prohibited | ## Explanation * Key slot no. - number of the key slot (in hex, base 16); @@ -14,7 +15,9 @@ * Default - whether the key slot is securely generated by default (at the factory); * Curve - ECDSA curve used by the key pair; * Flags: - * `RAW_DIGEST_PROHIBITED` - the key slot doesn't accept `sign` command, + * _Raw digest prohibited_ - the key slot doesn't accept `sign` command, although it will accept `sign_challenge` and `sign_random` commands; - * `MANDATORY_PASSWORD` - the key must be generated with the password set, + * _Mandatory password_ - the key must be generated with the password set, the password may be changed later, but can never be completely removed; + * _Backupable_ - the key on this slot can be backed up on another HaLo tag, + the key can be imported onto this slot if the slot is not already occupied;