Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Commit 16f0a12

Browse files
authored
Update README.md
Added note not to use the verification API in the production scenario.
1 parent 4b7f010 commit 16f0a12

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
Server SafetyNet Samples
1+
2+
SafetyNet Samples
23
===================================
34

45
This sample demonstrates how to verify the response received from the SafetyNet service.
56

67
It shows how to extract the compatibility check response from the JWS message, validate its SSL certificate chain, hostname and signature.
78

89
This check can be done completely offline (See `OfflineVerify.java`) or by using the _Android Verification API_ to verify the content and signature of the response (see `OnlineVerify`). This REST API requires you to register at the Google Developers console and register for an API key. Detailed steps are available [in the documentation] under _Validating the response with Google APIs_.
9-
10+
Note: The API is rate-limited. For the reason, you should use the API only for testing during the initial development stage. You shouldn't use this verification API in a production scenario.
1011

1112
Note that this sample only provides a basic overview over the verification process and does not cover all possibilities. For example,it is reccomended to always verify the nonce in the request as well. This sample also does not show the app-to-server communication.
1213

@@ -52,7 +53,6 @@ Runing the Samples
5253
* Retrieve a signed statement from the Android app and copy it to your machine. (You can use the "Share Result" option.)
5354
* Build this server component and provide the signed statement as input.
5455

55-
5656
Support
5757
-------
5858

@@ -83,4 +83,4 @@ License for the specific language governing permissions and limitations under
8383
the License.
8484

8585
[key]: https://developer.android.com/training/safetynet/index.html#verify-compat-check "See Validating the response with Google APIs"
86-
[replay-attack]:https://en.wikipedia.org/wiki/Replay_attack
86+
[replay-attack]:https://en.wikipedia.org/wiki/Replay_attack

0 commit comments

Comments
 (0)