scottyab/safetynethelper

Create exmaple server side implementation to improve safetynet strength

Open

#11 opened on Sep 22, 2015

 (18 comments) (0 reactions) (0 assignees)Java (80 forks)github user discovery
help wanted

Repository metrics

Stars
 (339 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Based on feedback from Google's security team, for the safetynet to be more secure way of checking device integrity the

  • generate the nonce on the server, and have the server implement anti-replay
  • Verification of nonce performed server side
  • Verification of JWS should also be performed on the server side because the crypto libraries on your device may have been owned and hence it can return verified even if it's not.

Contributor guide