Skip to content

Capture CloudFront request evidence for signing - #11

Merged
mariomeyer merged 3 commits into
mainfrom
axl-1aa98edd-impl
Dec 3, 2026
Merged

mariomeyer merged 3 commits into
mainfrom
axl-1aa98edd-impl

Conversation

@mariomeyer

Copy link
Copy Markdown
Member

Summary

  • Capture allowlisted CloudFront viewer metadata on signing, consent, verification, document request, and successful download events.
  • Keep request evidence in the existing append-only hash-chained audit trail, expose it in owner-authorized envelope details and CSV export, and redact it from routine logs, webhooks, and recipient certificates.
  • Add a draft signer disclosure and keep collection disabled unless SIGNER_REQUEST_EVIDENCE_ENABLED=true.

Verification

  • 21 targeted evidence and envelope-detail tests passed.
  • npm run typecheck, changed-file ESLint, Prettier, and git diff --check passed.
  • Full npm test could not complete in the sandbox because existing tests bind to 127.0.0.1 and fail with listen EPERM.

Before enabling collection

  • Review and approve the disclosure text.
  • Complete the separate IAC change to forward CloudFront-generated headers and configure/verify edge request logging and origin spoof resistance.
  • Confirm request metadata reaches the app only through the trusted CloudFront path.

No infrastructure or production deployment is included.

@mariomeyer
mariomeyer marked this pull request as ready for review December 2, 2026 21:42
@mariomeyer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T02:29:17.013030Z dbdb2da Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d018f27b8e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/signing.ts Resolved
@mariomeyer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d8866dc03f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/lib/signing.ts Resolved
@mariomeyer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

Reviewed commit: dbdb2da1c7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@mariomeyer
mariomeyer merged commit e8d260c into main Dec 3, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant