Update key-slots.md (#323)

This commit is contained in:
Michał Leszczyński
2024-06-17 15:05:09 -07:00
committed by GitHub
parent d38e9cdcb9
commit 30ddd10e44

View File

@@ -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;