Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions App integrity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# App integrity from apple and google.

- We need to start implementing app integrity in our app to prevent spam attacked on our server with malicious key pairs being generated and destroy our database.
- We need to make sure requests are coming from our app only.

### Apple
For client side code, we can use this library i built in the past:
https://raw.githubusercontent.com/niteshbalusu11/react-native-secure-enclave-operations/refs/heads/master/README.md

It also has server side code, but it's written in Nodejs, obviously we need a rust version for our app.

### Google
For client side code, we can use this library I built in the past:
https://raw.githubusercontent.com/niteshbalusu11/react-native-secure-enclave-operations/refs/heads/master/README.md

It also has server side code, but it's written in Node.js, obviously we need a Rust version for our app.


- The goal is to have this API as part of our sign up flow.
- So we do an integrity check on the first time a user creates an account and registers their device.
- We don't block the user if the integrity check fails but we capture it in our database so we can look into it later.
Loading