Skip to content

Commit ccaf0ea

Browse files
authored
Merge branch 'zsa1' into main_temp_20250630
2 parents 71241c9 + b170355 commit ccaf0ea

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

zips/zip-0227-asset-identifier-relation-orchard-zsa.svg

Lines changed: 2 additions & 2 deletions
Loading

zips/zip-0227.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ Define $\mathsf{IssueAuthSig.DerivePublic} \;{\small ⦂}\; (\mathsf{isk} \;{\sm
161161
* Return $\bot$ if the $\textit{PubKey}$ algorithm invocation fails, otherwise return $\mathsf{ik}$.
162162

163163
where the $\textit{PubKey}$ algorithm is defined in BIP 340 [#bip-0340]_, and the output of the algorithm is in big-endian order as defined in BIP 340.
164-
The encoding of $\mathsf{ik}$ begins with a version byte that is $\mathtt{0x00}$. This enables future ZIPs to specify alternative signature schemes.
164+
The encoding of $\mathsf{ik}$ begins with a byte indicating the signature scheme, which MUST be $\mathtt{0x00}$ indicating BIP 340.
165+
This enables future ZIPs to specify alternative signature schemes.
165166

166167
It is possible for the $\textit{PubKey}$ algorithm to fail with very low probability, which means that $\mathsf{IssueAuthSig.DerivePublic}$ could return $\bot$ with very low probability.
167168
If this happens, discard the keys and repeat with a different $\mathsf{isk}$.
@@ -179,9 +180,8 @@ Define $\mathsf{IssueAuthSig.Sign} \;{\small ⦂}\; (\mathsf{isk} \;{\small ⦂}
179180

180181
where the $\mathsf{Sign}$ algorithm is defined in BIP 340 and $a$ denotes the auxiliary data used in BIP 340 [#bip-0340]_.
181182
Note that $\mathsf{IssueAuthSig.Sign}$ could return $\bot$ with very low probability.
182-
Note that the initial $\mathtt{0x00}$ byte in the signature is a version byte, enabling future ZIPs to
183-
specify alternative issuance authorization signature schemes.
184-
183+
The encoding of the signature begins with a byte indicating the signature scheme, which MUST be $\mathtt{0x00}$ indicating BIP 340.
184+
This enables future ZIPs to specify alternative signature schemes.
185185

186186
Define $\mathsf{IssueAuthSig.Validate} \;{\small ⦂}\; (\mathsf{ik} \;{\small ⦂}\; \mathsf{IssueAuthSig.Public}) \times (M \;{\small ⦂}\; \mathsf{IssueAuthSig.Message}) \times (\text{σ} \;{\small ⦂}\; \mathsf{IssueAuthSig.Signature}) \to \mathbb{B}$ as:
187187

0 commit comments

Comments
 (0)