Skip to content

faasm/tless-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Rust JWT Validation

This library validates the signature of a JWT against a set of hard-coded certificates.

The library is written in pure Rust, and is meant to be cross-compiled to WebAssembly, and called through its C++ binding.

We use the library in the context of TLess, where we need to validate the JWT sent by the Azure Attestation Service inside a WebAssembly function inside an SGX enclave.

To build the library do:

cd jwt-verify
cargo build --target wasm32-wasip1 --release

To update the hard-coded certificates just run:

cd fetch-jwks
cargo run

and copy the certificates into the rust library.

About

JWT parsing library for TLess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published