Skip to content

BUILD: Move owid-rust to the key selection fix at 8aa5eee8 - #36

Merged
jwrosewell merged 1 commit into
mainfrom
fix/owid-key-selection-by-period-start
Sep 6, 2026
Merged

BUILD: Move owid-rust to the key selection fix at 8aa5eee8#36
jwrosewell merged 1 commit into
mainfrom
fix/owid-key-selection-by-period-start

Conversation

@jwrosewell

Copy link
Copy Markdown
Contributor

Summary

Moves the owid-rust submodule from 86181da2 to 8aa5eee8, the head of the 51Degrees fork after it took SWAN-community/owid-rust main (the fork fast forwarded, so the commit is the same one).

Why

On 4 September 2026 the OWID ports were found to select a creator's signing key by the moment the key was generated rather than by the start of its period. The 51Degrees cloud writes thirteen weeks of keys in one run, so an identifier dated 4 September selected the key starting 7 September and genuine identifiers were reported as forged. The rule was corrected in the OWID specification (SWAN-community/owid#7) and in every port on 5 September 2026. The Rust fix is SWAN-community/owid-rust#6: the key fetch sends the OWID's own date, keys are held per request URL with the cache bounded at 1024 entries, requests time out after 10 seconds, and the stand in creator in the tests answers undated and future dates as the cloud does.

fodid copies the OWID source in through ci/copy-owid-source.ps1 and does not compile the fetch or endpoints features, so nothing that ships in the fodid crate changes behaviour. The bump keeps the copied source, and the commit the copy notice records, in step with the other 51Did clients, and any consumer that enables fetch gets the corrected key selection.

Verification

  • ci/copy-owid-source.ps1 then cargo test --workspace: every suite passed (largest suite 19 tests), no failures.
  • cargo test -p fodid --all-features: 24, 38 and 19 tests passed across the crate's suites, 1 ignored, no failures.
  • cargo fmt --all -- --check, cargo clippy --workspace --all-targets -- -D warnings and cargo doc --workspace --no-deps all clean, matching the pull request workflow.

Notes

Produced with AI assistance and checked against the outputs above.

SWAN-community/owid-rust#6, merged on 5 September 2026, sends the OWID's
own date when fetching the creator's public key, holds fetched keys per
request URL with the cache bounded at 1024 entries, and times requests
out after 10 seconds. The 51Degrees fork fast forwarded to the same
commit. fodid copies the source in without the fetch and endpoints
features, so nothing shipped in the crate changes behaviour; the copy
notice now records 8aa5eee8 and the source matches the other 51Did
clients.

cargo test --workspace, cargo test -p fodid --all-features, cargo fmt
--check, cargo clippy -D warnings and cargo doc all clean.
@jwrosewell
jwrosewell merged commit a30f781 into main Sep 6, 2026
9 checks passed
@jwrosewell
jwrosewell deleted the fix/owid-key-selection-by-period-start branch September 6, 2026 15:12
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