-
Notifications
You must be signed in to change notification settings - Fork 127
Description
Description
An ElGamal registry program is implemented in order to facilitate the creation of confidential token accounts for other peers. As the creation of token accounts require pubkey validity proofs and each new (confidential) mint requires a new (confidential) token account, the registry can be used to publish these to everyone.
The registry also lets you post an associated owner, which is the public key of a Solana system account, also required to admistrate a (confidential) token account.
The issue is that there is no authentication mechanism that enforces that the link between the (validated) ElGamal public key and the owner is legitimate.
Recommendation
Adding the (initial) owner of the to-be-created token account to the transcript would naturally authenticate the intent of the proof, narrowing the portability of this proof.