Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ZIP 325] Add note about Zashi's poor choice of a private-use subject string #988

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

daira
Copy link
Collaborator

@daira daira commented Mar 4, 2025

This also fixes the rendering of notes and warnings for Markdown ZIPs.

daira added 3 commits March 4, 2025 03:05
Signed-off-by: Daira-Emma Hopwood <[email protected]>
…as a

private-use subject.

Signed-off-by: Daira-Emma Hopwood <[email protected]>
Comment on lines +81 to +89
- $m_{\mathsf{metadata}} / 325' / \mathsf{coinType}' / \mathsf{account}'$ - Account Metadata Key
- $\ldots / 0'$ - Account-level Inherent Metadata Key
- $\ldots / \ldots$ - (Reserved for future updates to this ZIP)
- $\ldots / (\mathtt{0x7FFFFFFF}', \mathsf{PrivateUseSubject})$ - Private-use Inherent Metadata Key
- $\ldots / 1'$ - Account-level External Metadata Key
- $\ldots / (0', \mathsf{FVKTypedItem})$ - Imported UFVK Metadata Key
- $\ldots / \ldots$ - (Reserved for future updates to this ZIP)
- $\ldots / (\mathtt{0x7FFFFFFF}', \mathsf{PrivateUseSubject})$ - Private-use External Metadata Key
- $\ldots / \ldots$ - (Reserved for future updates to this ZIP)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MultiMarkdown is picky about the number of spaces used to indent nested lists: it must be at least 3.

@@ -171,16 +171,21 @@ valid hardened child index) within its key tree for this purpose.
most 252 bytes that identifies the desired private-use context.
- Return $\mathsf{CKDreg}(K, \mathtt{0x7FFFFFFF}, \mathsf{PrivateUseSubject})$

:::warning
<div class=warning></div>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This affects the following paragraph. At some point I'll fix it to support multi-paragraph notes/warnings, but for now this was the only way I could get the CSS to work.


<div class="note"></div>

Zashi uses the string $\texttt{“metadata”}$ for $\mathsf{PrivateUseSubject}$.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Zashi uses the string $\texttt{“metadata”}$ for $\mathsf{PrivateUseSubject}$.
Zashi uses the string $\texttt{“metadata”}$ for one of its $\mathsf{PrivateUseSubject}$ use cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants