Skip to content

Implement ID v4 version - #55

Open
Xynnn007 wants to merge 5 commits into
veraison:mainfrom
Xynnn007:ear-rev-4
Open

Implement ID v4 version#55
Xynnn007 wants to merge 5 commits into
veraison:mainfrom
Xynnn007:ear-rev-4

Conversation

@Xynnn007

Copy link
Copy Markdown
Contributor

Close #54

@Xynnn007 Xynnn007 changed the title Implement RFC v4 version Implement ID v4 version Jun 16, 2026
Comment thread src/cmw.rs Outdated
Comment thread CHANGELOG.md Outdated
Comment thread src/cmw.rs Outdated
Comment thread src/cmw.rs Outdated
@Xynnn007
Xynnn007 force-pushed the ear-rev-4 branch 2 times, most recently from 85e484d to 42a8f6a Compare June 25, 2026 11:16
@Xynnn007

Copy link
Copy Markdown
Contributor Author

I force pushed with my own repo rev. If veraison/rust-cmw#6 gets merged, I can update the rev.

@Xynnn007
Xynnn007 force-pushed the ear-rev-4 branch 2 times, most recently from 9832ee4 to 96f18a9 Compare July 9, 2026 09:39
@Xynnn007
Xynnn007 force-pushed the ear-rev-4 branch 2 times, most recently from 4987aa4 to d917b40 Compare July 28, 2026 07:30
@Xynnn007

Copy link
Copy Markdown
Contributor Author

Updated code and CI is green. PTAL @thomas-fossati @setrofim

@thomas-fossati thomas-fossati left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent stuff, thanks very much @Xynnn007 !

Checking a couple of things with you before officially approving. See inline.

Comment thread Cargo.toml
[dependencies]
base64 = "0.22.1"
ciborium = "0.2.0"
cmw = { git = "https://github.com/veraison/rust-cmw.git", rev = "33d5ce2" }

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to ask @ionut-arm to release cmw before publishing this in crates.io, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes!

Comment thread Cargo.toml Outdated
Comment thread src/ear/mod.rs Outdated
Xynnn007 and others added 5 commits July 29, 2026 10:53
Align wire claims and APIs with draft-04, including CMW evidence, expiration, nonce normalization, stricter optional-claim validation, and lenient handling of unknown claims.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Update the cargo-rdme README to match the revised lib.rs examples.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Deserialization drops or caches claims the crate does not recognize
instead of failing, which leaves no trace of what was skipped. Emit
tracing events on those paths behind a new opt-in `log` feature, so
users can debug unexpected tokens without the crate imposing a tracing
dependency by default.

Document the crate's features so the capability is discoverable from
docs.rs and the README, build the docs.rs documentation with the feature
enabled, and cover it in the CI feature matrix.

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@thomas-fossati

Copy link
Copy Markdown
Contributor

Ding, thanks very much for the follow up changes!

🚢 it!

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.

Appliment for RFC v4 verison

4 participants