GC Decryption Verifier
GC Decryption Verifier validates MPC signatures on decrypted outputs and maintains the list of authorized signers.
In Bubble, decryption is a critical process in which encrypted outputs from secure multiparty computations are transformed into readable data. Since these results originate from off-chain cryptographic collaboration, the system must ensure that the revealed value is authentic, untampered, and produced only by the authorized MPC participants. Each MPC party therefore signs the decrypted output, providing a cryptographic proof of agreement on the result.
The GCDecryptionVerifier host contract is responsible for validating these signatures and maintaining the list of authorized signers whose approvals are required for a decryption to be considered valid. During verification, the contract recovers each signer’s address from the provided signature and checks it against this predefined list of authorized MPC participants. This guarantees that only outputs endorsed by legitimate signers are accepted within the Bubble system. By anchoring this verification on-chain, the GCDecryptionVerifier enforces strong guarantees of authenticity, integrity, and trust for every decrypted value used in the Bubble environment.