feat(TC-498): authorize exact native share email delivery - #229
Merged
Merged
Conversation
This was referenced Aug 22, 2026
Contributor
Author
|
Superseding security evidence for
Verified locally on the reviewed Rust 1.97.1 pin: |
This was referenced Aug 21, 2026
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.
Scope
Joins TinyCloud-native Policy/v3 sharing to an email-only delivery service without giving that service content or authority.
/delegateand/invokeremain the data plane, with no/shareroutesstatus.freshnessSecondsis enforced for the non-revocable email-proof profile on both account and accountless admission pathshttps://email.tinycloud.xyz;https://api.share.tinycloud.xyzis rejected outside the hermetic fixtureToolchain determinism
At head
3912553e69dd84d5012e8d62f4ba106d6d0df8a2,rust-toolchain.tomlpins reviewed Rust1.97.1for local and cargo-dist release commands. The Docker builder usesrust:1.97.1-alpineand fails fast ifrustc -Vdiffers; all Rust CI, release-plz, and descriptor-export jobs use the same exactdtolnay/rust-toolchain@1.97.1pin. This prevents Rust 1.98 from introducing 35 unrelated deny-warningresult_large_errfailures. No lint suppression or core error-type refactor is included.Verification
At head
3912553e69dd84d5012e8d62f4ba106d6d0df8a2:/revokedenies an existing invocation plus fresh challenge admission and delivery; the existing presentation replay denial remains coveredcargo fmt --all -- --check,RUSTFLAGS=-Dwarnings cargo check --workspace --all-targets, andRUSTFLAGS=-Dwarnings cargo clippy --workspace --all-targetspass on Rust1.97.1cargo test -p tinycloud-node -- --test-threads=1previously passed: 349 library tests plus all integration/doc tests. The default parallel invocation has a pre-existing timing-sensitive quota test that intermittently observes zero background requests; its isolated test passes.Downstream Share bundle generation must emit
emailOrigin=https://email.tinycloud.xyzbefore rotating/removing its legacy bundle. No merge, release, or deployment is included.