Debug Encryption Flow

Use when a developer's messages aren't decrypting end-to-end — wrong content, AES-GCM authentication failures, missing DEK, Seal session-key errors, sender-verification failing, or attachments not decrypting. Walks through the envelope-encryption flow stage by stage so the failure can be localized (session key vs DEK vs AAD vs sender verification vs attachment), with the failure modes Builders hit most often. Trigger phrases - "can't decrypt", "decryption fails", "encryption error", "Seal session key error", "wrong message content after decrypt", "AAD mismatch", "AES-GCM authentication failed", "senderVerified false", "attachment decrypt fails", "envelope encryption broken", "key server error".

MystenLabs c854c30 13.8 KB Updated

File contents

mystenlabs/sui-stack-messaging/tree/main/.claude/skills/debug-encryption-flow commit c854c30f12

Frequently asked questions

npx skillmds@latest add mystenlabs/debug-encryption-flow