I'm working on an idea of a DApp that measures some information from Clients mobile phones and send it to validators on a consortium blockchain network.Actually i can't figure out how to secure the transaction, and more specifically prove that the data was measured with the sensors of the mobile where the application is installed, or just from the application.
I'm a beginner blockchain developper with some experience in Hyperledger Sawtooth and cryptography based algorithms. When i searched for the problem, i saw that there are some possibilities like running code in a Trusted Execution environment ( Intel SGX for example ) or embed a private key in the code to - in addition of client transaction signing - prove that the measures were realized with my app ( And not someone faking the data and sending it with curl or something ). But those solutions are not exactly convenient in my case.