GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||
GeezerVison is showing github.com — id: add signer-local signed coordinate-world definitions by dezren39 · Pull Request #12890 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 55 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 22218a50d7
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| key.verify(&preimage, &signature) | ||
| .map_err(|_error| WorldDefinitionError::BadSignature) |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Reject weak-key signature forgeries with strict verification
An untrusted record carrying the identity-point public key (01 followed by 31 zero bytes) and a signature with identity R and zero S passes plain verify for any definition payload, without possession of a signing key. The existing test_forgeries.rs::identity_forgery fixture documents this exact bypass. Consequently, arbitrary or modified definitions can report successful signature verification. Use verify_strict, as signed_envelope.rs does, and cover this verifier with the existing forgery fixture.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| //! The crate-root export belongs to the separate crate-wiring slice. The | ||
| //! module therefore uses the same `crate::` leaf paths as the other extracted | ||
| //! ID slices and can be included by path by its integration test. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Declare the new module in the crate root
Deferring crate-root wiring leaves this implementation outside id-core; the integration test only compiles a private #[path] copy. Repository-wide search finds no production module declaration, and bash .github/scripts/check-rust-module-reach.sh /workspace/code pkgs/id/crates/id-core exits 1 naming this file as UNREACHED. The scoped instructions explicitly require declaring new modules in their parent in the same change, so add the declaration to src/lib.rs rather than deferring it to another slice.
AGENTS.md reference: pkgs/id/AGENTS.md:L150-L150
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Encode signer-local signed coordinate-world definitions
There was an error while loading. Please reload this page.