Skip to content
Snippets Groups Projects
Unverified Commit cf77a1b4 authored by Matthias Urhahn's avatar Matthias Urhahn Committed by GitHub
Browse files

SafetyNet Implementation (EXPOSUREAPP-4754) (#2242)


* First safetynet draft.
TODO: Additional integrity checks.

* Add nonce and APK check.
Move JWS data access helpers up to the wrapper.

* Add device time and time_since_onboarding check.

* Increase test coverage, check for null jwsResults.

* Add data donation test menu.
(Currently only shows SafetyNet JWS)

* Improve exception message.

* Additional test cases for different JSON fields.
Log optional error message that may be returned.

* Fix test regression due to missing mock

* Address Lukas PR comments.

* Add attestation max timeout (30s) + test.

Co-authored-by: default avatarharambasicluka <64483219+harambasicluka@users.noreply.github.com>
Co-authored-by: default avatarchris-cwa <69595386+chris-cwa@users.noreply.github.com>
parent fd2ad875
No related branches found
No related tags found
Loading
Showing
with 626 additions and 19 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment