chore(auth): remove the Apple review test account and its posting key - #84
chore(auth): remove the Apple review test account and its posting key#84Bielcx wants to merge 1 commit into
Conversation
The app is approved and live, which is the point AGENTS.md said to delete this. It shipped a HIVE posting key for @skatethread in plaintext in a public repo, along with the short password that swapped itself for the key at login. The gotcha telling us to remove it goes too, since it now describes something that is not there. The key should be treated as compromised and rotated on chain: it has been public for the life of the repo, so deleting the source is only half of it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UwrZ8CynFPrFHUE9fJwfCz
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Apple review test-account bypass was removed from authentication. The related warning was removed from ChangesApple review account removal
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to The change removes the obsolete Apple review account credentials while preserving normal sign-in behavior. No actionable merge-blocking risk remains after normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@coderabbitai full review |
✅ Action performedFull review finished. |
The app is approved and live on the App Store, which is the point AGENTS.md
said to delete this. It shipped a HIVE posting key for
@skatethreadinplaintext, in a public repository, next to the short password that swapped
itself for the key at login.
The diff is purely subtractive: the three constants and the branch in
logingo, nothing is added. The normal path already fell through to
validate_posting_key, so signing in is unchanged for every account.The gotcha instructing us to remove this goes too, since it now describes
something that is not there.
This does not end the exposure
The key was public for the life of the repository and remains in git history.
It has to be rotated on chain. Deleting the source is only half of it.
If Apple asks for demo credentials on the next submission, they belong in the
App Store Connect notes field, not in the source.
The one behaviour change
Signing in as
skatethreadwith the short password stops working. The realposting key still works, like any other account.
Testing
npx tsc --noEmitclean. Diff reviewed againstdocs/pre-pr-checklist.mdandfor security risk: the change removes a credential and adds no code path, so
there is no new surface to review.
Summary by CodeRabbit
Bug Fixes
Documentation