Discussion
original article
User registration for an IOTA enabled website:
- User clicks to register on amazon.com
- A QR code/number is given by amazon.com representing a new seed
- User tells his app that he wants to create a new registration
- App tells him to scan or enter the code
- After that seed is shared between app and amazon.com
- User logs in as described above
User login into an IOTA enabled website:
- Amazon.com creates and shows a QR code/number which is gibberish (random)
- The user scrolls in his app to the entry which represents amazon.com
- User enters the given number (by scan or keyboard) and a transaction is initiated
- The address for the transaction is based on a seed shared by the app and by amazon.com
- 0 IOTA is send to the generated address including the gibberish as attachment
- The website sees the transaction in the shared wallet and verifies the transaction and the user enters his account
Flow
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Edit me …
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Edit me …Disadvantages
- 註冊時期,我們不應該在線上產生 seed,這是不安全的,就像 PASSWORD 或是 RSA KEY PAIR 不該由線上產生一樣。
- 登入時期的 Random Code,應該是放在 transaction tag 上,在基於 seed 內的 address index 上的 address 上 Tangle 尋找 transaction 以利核對 tag,但這樣做在 seed 在 transatiton 上的角色毫無意義,如下圖所示:
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Edit me …
Better Solution
我們可以直接用 TangleID 做好這件事情,如下:
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Edit me …
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →
Edit me …Conclusion
- TangleID 的 solution 能夠解決原始方案註冊時 seed 在 client/server 中傳輸的安全問題。
- 但兩個方案在做 login 的時間成本不會差很多。相同的: API (find_transaction).