Sjors / nthkey-ios

Your iOs device in a Bitcoin multi-sig
https://nthkey.com
MIT License
17 stars 7 forks source link

Don't validate IAP receipt on device? #46

Closed w-i-n-s closed 3 years ago

w-i-n-s commented 3 years ago

Details on documentations

Warning Do not call the App Store server verifyReceipt endpoint from your app. You can't build a trusted connection between a user’s device and the App Store directly, because you don’t control either end of that connection, which makes it susceptible to a man-in-the-middle attack.

To solve it we can follow 3 cases (pros/cons) details from apple:

Sjors commented 3 years ago

For privacy reasons I don't want to add a backend to the app. Right now a backend would also be useless, because the app doesn't need external information.

The app is open source, so anyone can install Xcode, build it and run it for free on their own device.

So let's just drop receipt validation.

w-i-n-s commented 3 years ago

@Sjors Okay, I agree.