litentry / tee-worker

Based on the integritee-network/worker framework
Apache License 2.0
4 stars 2 forks source link

Simplify verification logic #105

Closed ziming-zung closed 2 years ago

ziming-zung commented 2 years ago

In #96 it was mentioned that we need to simplify the verification logic.

Currently logic: https://github.com/litentry/tee-worker/blob/6cbfff69b3/litentry/core/identity-verify-handler/src/web2_identity/mod.rs#L182-L211

It should just compare the expected payload and the actual payload

Kailai-Wang commented 2 years ago

I'll take this when I implement #89