Skip to content

fix(subscription): preserve receipt trust roots across key rotation - #14

Merged
Thankyou-Cheems merged 3 commits into
mainfrom
codex/immutable-cheemspay-license-key
Aug 3, 2026
Merged

fix(subscription): preserve receipt trust roots across key rotation#14
Thankyou-Cheems merged 3 commits into
mainfrom
codex/immutable-cheemspay-license-key

Conversation

@Thankyou-Cheems

Copy link
Copy Markdown
Owner

Summary

  • Keep the refreshed public landing page with 8111/rules-risk guidance and the CheemsPay subscriber CTA.
  • Add a repository-owned CheemsPay receipt trust contract.
  • Keep prod-2026-01 permanently trusted while allowing reviewed additive key ids; generated packages carry the complete map so existing paid receipts remain verifiable.
  • Fail the build before packaging when the CI key id/public key pair is absent from or mismatched with the contract.

Paid-user compatibility

  • Existing Launchers and receipts using prod-2026-01 remain accepted.
  • A future key must be added without replacing the primary entry.
  • The generated PyInstaller module contains old and new entries together.
  • The contract does not migrate or invalidate stored sessions.

Verification

  • uv run --extra dev ruff check . passed.
  • uv run --extra dev ruff format --check . passed.
  • uv run --extra dev pytest passed: 510 passed, 9 subtests passed.
  • The actual GitHub Secret value is intentionally not printed; a mismatch will fail a future package build before release.

- Add a clear 8111 and rules-risk notice to the public landing page
- Explain Super Bomb capabilities and link the CheemsPay trial/purchase page
- Keep site tests aligned with the public wording and allowed references

---

docs(site): 发布风险与订阅版说明

- 在官网增加 8111 与规则风险提示
- 补充超级爆弹版能力并链接 CheemsPay 试用/购买页
- 同步官网测试与允许的公开引用
- Pin the CheemsPay primary public key while allowing reviewed additive keys
- Package the complete trust map so old paid receipts remain verifiable
- Fail closed when CI or generated runtime keys do not match the contract

---

fix(subscription): 在密钥轮换中保留订阅收据信任根

- 固定 CheemsPay 主公钥,同时允许经过审查的新增 key
- 打包完整信任映射,确保旧付费收据继续可验证
- CI 或生成运行时密钥与合同不一致时在发布前失败
- Apply the repository Ruff formatter to the trust-root implementation and tests

---

style(subscription): 格式化信任根改动

- 使用仓库 Ruff 格式化信任根实现与测试
@Thankyou-Cheems
Thankyou-Cheems force-pushed the codex/immutable-cheemspay-license-key branch from b057e27 to 315e05f Compare August 3, 2026 04:29
@Thankyou-Cheems
Thankyou-Cheems merged commit 284ad0b into main Aug 3, 2026
7 checks passed
@Thankyou-Cheems
Thankyou-Cheems deleted the codex/immutable-cheemspay-license-key branch August 4, 2026 12:49
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