Skip to content

fix: align public decrypt proof encoding#17

Open
enitrat wants to merge 1 commit into
mainfrom
fix-public-decrypt-types
Open

fix: align public decrypt proof encoding#17
enitrat wants to merge 1 commit into
mainfrom
fix-public-decrypt-types

Conversation

@enitrat

@enitrat enitrat commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Sign publicDecrypt proofs over tuple-style cleartext bytes instead of abi.encode(uint256[])
  • Reuse buildDecryptionProof after constructing the KMS-compatible word stream
  • Add a regression test for the address(0) reclaim-style verification path

Test Plan

  • forge test --match-path test/FhevmTest.publicDecrypt.t.sol
  • forge test

@cla-bot cla-bot Bot added the cla-signed label Jun 25, 2026
@enitrat enitrat marked this pull request as ready for review June 25, 2026 10:27
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.

1 participant