veraison / rust-ear

Rust implementation of EAT Attestation Results
Apache License 2.0
1 stars 4 forks source link

Specifying verification key trustworthy for JSON serialization #23

Closed Xynnn007 closed 4 weeks ago

Xynnn007 commented 1 month ago

Due to spec https://www.ietf.org/archive/id/draft-ietf-rats-eat-31.html#section-9.6, an EAT'd better have some way to specify the trustworthy of the verification key. For now the APIs to serialize EAR to JWT is

I propose to add two more

setrofim commented 4 weeks ago

I've added _with_header version of the methods that take a jwt::Header as an argument. This removes the need to define different methods for each header/combination of header that might need to be added.

Please see https://github.com/veraison/rust-ear/pull/29

setrofim commented 4 weeks ago

Resolved by https://github.com/veraison/rust-ear/pull/29