scottyab / safetynethelper

SafetyNet Helper wraps the Google Play Services SafetyNet.API and verifies Safety Net API response with the Android Device Verification API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catching and display new "evaluationType" field in SafetyNet response

Displax opened this issue · comments

There is a new field in in SafetyNet responce calling "evaluationType" (new test based on TEE hardware)
https://groups.google.com/forum/#!msg/safetynet-api-clients/lpDXBNeV7Fg/Ov2H6ZvhBQAJ
It would be great to display this value along with other.
New SafetyNet response payload:

{
"nonce":"J24WvVT+O4pfPlnOsrlTVn7RA7BXbY1WKcqzrlDXs40=",
"timestampMs":1591307294529,
"apkPackageName":"com.scottyab.safetynet.sample",
"apkDigestSha256":"xQOTLnqhtdLHN/daI6tSRAY6wT760nFEuyBF8JdJeQU=",
"ctsProfileMatch":true,
"apkCertificateDigestSha256":["MZNsDhz8VAJMmFxPPso38ZRvZE6r7VIyzUqypkakG8E="],
"basicIntegrity":true,
"evaluationType":"BASIC"
}