Repository navigation
Ghost keys: move the RSA issuer to rsa 0.10 (clears RUSTSEC-2023-0071) - #4
Merged
Merged
Conversation
…3-0071 The rsa 0.9 line carries the Marvin timing advisory and has no backport. The ghost-key issuer performs raw RSA private-key operations on blinded messages, so the exposure is live for an issuer. ghostkey.rs moves to rsa 0.10's API: - PrivateKey and PublicKey replace the deprecated RsaPrivateKey and RsaPublicKey aliases. - Values cross the RSA boundary as crypto-bigint BoxedUint; the blinding arithmetic stays on num-bigint-dig, with values converted through bytes. - The random source is rsa::rand_core::UnwrapErr around getrandom::SysRng (a TryCryptoRng). - PSS verification uses rsa's own sha2 Sha384 as the digest type. The RUSTSEC-2023-0071 ignore is removed. cargo audit reports no vulnerabilities with the repo's configuration, and with no ignores at all the only finding is the bincode warning already on the list. Core files: this changes crates/transferd-crypto and .cargo/audit.toml, both listed in core.manifest. TransferDaemon must sync them before its core-sync check passes. Tests: the 37 transferd-crypto tests pass with -D warnings. Workspace clippy with -D warnings passes, and all workspace test binaries pass (run with -j 2: the default parallelism exhausted the Windows paging file while building the overlay tests). Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
crypto-bigint 0.5.5 (RUSTSEC-2026-0387) is reached in TransferDaemon through transferd-webrtc -> webrtc 0.12 -> webrtc-dtls 0.11 -> p256 -> ecdsa -> crypto-bigint 0.5.5. Any WebRTC peer can drive it during DTLS. No 0.5.x release is fixed; the fix needs the webrtc 0.21 migration, which is a rewrite of transferd-webrtc in TransferDaemon. This ignore is time-boxed to 2026-12-31, and the deadline is tracked by the maintainer. It is inert in Transferd, which does not depend on webrtc; it reaches TransferDaemon through the core-file sync. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Brings in the self-hosted CI (#3), the DNS and proxy fixes, and the audit ignore for RUSTSEC-2026-0620 (until 2026-12-31). The audit.toml conflict keeps this branch's RUSTSEC-2026-0387 entry and drops the RUSTSEC-2023-0071 entry that the rsa 0.10 migration makes unnecessary, then appends the 0620 entry. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Inside a git hook, git sets GIT_DIR to the repository the hook runs for. The selftest's temporary repositories ran git init and git add with that variable set, so they acted on the real repository. On a push from a worktree, that rewrote the shared config to core.bare = true, and every worktree then failed with "must be run in a work tree". clean_git_env drops the repository-location variables. The checks' git() helper and the selftest use it, so temporary repositories find only their own .git. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
crates/transferd-crypto/src/ghostkey.rs) moves from rsa 0.9 to rsa 0.10. The rsa 0.9 line carries the Marvin timing advisory (RUSTSEC-2023-0071) with no backport, and the issuer performs raw RSA private-key operations on blinded messages.rsa::rand_core::UnwrapErraroundgetrandom::SysRng..cargo/audit.toml.cargo auditreports no vulnerabilities with the repo's configuration.Core files: TransferDaemon must sync
crates/transferd-cryptoand.cargo/audit.tomlare entries incore.manifest. Once this merges, TransferDaemon'score-synccheck fails until those files are synced there (scripts/sync-core.sh <Transferd checkout>run in TransferDaemon).Tests
transferd-cryptotests pass withRUSTFLAGS=-D warnings, including the five ghost-key tests.cargo clippy --all-features -- -D warningspasses.-j 2: the default parallelism exhausted the Windows paging file while building the overlay tests. This is a local resource limit, not a code change.🤖 Generated with Claude Code