#token #firefox #chrome #maybe #format #origin

origin-trial-token

An implementation of the Chrome Origin Trial token format

2 releases

Uses new Rust 2021

0.1.1 May 24, 2022
0.1.0 Feb 17, 2022
Download history 275/week @ 2022-08-09 277/week @ 2022-08-16 276/week @ 2022-08-23 279/week @ 2022-08-30 381/week @ 2022-09-06 172/week @ 2022-09-13 334/week @ 2022-09-20 207/week @ 2022-09-27 360/week @ 2022-10-04 487/week @ 2022-10-11 824/week @ 2022-10-18 1048/week @ 2022-10-25 560/week @ 2022-11-01 504/week @ 2022-11-08 343/week @ 2022-11-15 384/week @ 2022-11-22

1,935 downloads per month

MPL-2.0 license

16KB
280 lines


lib.rs:

Implements a simple processor for https://github.com/chromium/chromium/blob/d7da0240cae77824d1eda25745c4022757499131/third_party/blink/public/common/origin_trials/origin_trials_token_structure.md

This crate intentionally leaves the cryptography to the caller. See the tools/ directory for example usages.

Dependencies

~0.6–1.3MB
~30K SLoC