HBri7 / TangleYourDiploma

TangleYourDiploma
MIT License
4 stars 0 forks source link

where to change the adresses and seeds #1

Open dsir-minute opened 6 years ago

dsir-minute commented 6 years ago

Hi, I've done a quick search, but am not too sure where to do the changes, and how would another distant actor use the app ? tks

tonsmets commented 6 years ago

Hi,

Addresses, seeds and sha-256 keys can be changed here: https://github.com/HarmElaadNL/TangleYourDiploma/blob/master/routes/index.js

There is still some work to be done though. Right now we sign all information with a hardcoded encryption key. For this concept to work, you need to extract this part and do the signing outside of this app. Only the verification of the signed data should be done when checking the official document.

This was created during a hackathon and is far from perfect. It demonstrates an idea and it might help someone while creating an IOTA application!

dsir-minute commented 6 years ago

Thanks for your answer, I wish to use this repo as a possible starting point for another use case with comparable technical enabler

dsir-minute commented 6 years ago

@tonsmets @HarmElaadNL , I understand that the whole idea is that one IOTA account owner inserts some message + hash (+link ?) as a transaction on the Tangle (using his own seed and some address), then other actors request the Tangle to get info on the validity of a certain diploma (or any other file). So, shall each of these other actors use his own credentials to connect to the Tangle ? and then, how would they retrieve the content of the transaction before in term of seed (or address) ? Tks.