by arsome · 5y ago · 0 comments
You can also send requests via your own server, which would allow you more control over the requests that get sent out to your 3rd party APIs and just restrict tokens as much as possible to the minimal set of features necessary for your application.
-a keypair is generated in secure hardware
- you send the public key to a server which encrypts the secret key with it
- the server sends the encrypted key back
- then it goes inside the secure hardware where it gets decrypted
The decrypted secret key is never in the userspace.
Certificate pinning is a good security measure, but not a counter-RE one.
If it's executing on my device, you can be sure I can poke it and see what it's doing.