Skip to content

docs(token): note that shared sk/ek voids the ek guard on sweep and clearMemos #855

Description

@0xisk

The ConfidentialFungibleToken header (added in #818) states that sharing key material between wit_ConfidentialTokenSK and wit_ConfidentialTokenEK is permitted and safe, because domain separation keeps the published account identifier from revealing the encryption scalar. That is true for confidentiality, which is all the note claims.

#830 fixes M-03 (#797) by requiring the encryption secret in sweep and clearMemos, so holding the account secret alone cannot freeze an account. That guarantee holds only while the two secrets are independent. A wallet following the permitted-sharing note collapses them, and the prune-then-sweep freeze returns.

Qualify the note: sharing is safe for confidentiality, and it forfeits the two-secret authority split sweep and clearMemos rely on. Wallets wanting the M-03 protection must keep the secrets independent.

Refs: #792, #797, #818, #830

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-mediumNormal prioritydocumentationImprovements or additions to documentationeffort: 1-XSTrivial effortfeat:tokenFeature: token standards (fungible, NFT, native, RWA, contract tokens)follow-up

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions