From 42a7d976afd89c2ce8e4fd31a1022a16d3f0d22e Mon Sep 17 00:00:00 2001 From: Renzo Diaz Date: Fri, 11 Mar 2022 11:49:35 -0500 Subject: [PATCH 1/2] Updated DigiID uri example --- .gitignore | 4 +-- TESTING.md | 79 ++++++++++++++++++++++++++++++++++++++++++++ package.json | 2 +- src/views/index.html | 6 +++- src/views/js/main.js | 7 ++-- 5 files changed, 92 insertions(+), 6 deletions(-) create mode 100644 TESTING.md diff --git a/.gitignore b/.gitignore index 8f1fd95..84e9ab2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ **/node_modules/* -test* out/ dist/ -*.dgb \ No newline at end of file +*.dgb +package-lock.json \ No newline at end of file diff --git a/TESTING.md b/TESTING.md new file mode 100644 index 0000000..fe40330 --- /dev/null +++ b/TESTING.md @@ -0,0 +1,79 @@ +# Digi-ID Testing Sheet + +## For Windows + +Download the instaler `digiid-win32.exe` and execute it on your computer. If a warning pops out click on continue. + +## For Linux + +Download the package acording your distribution `digiid-desktop-0.5.0.x86_64.rpm` or `digiid-desktop_0.5.0_amd64.deb` and install it using: + +``` +sudo apt install {package-name} +``` + +For `Digi-ID-0.5.0.AppImage` convert it in exacutable with: +``` +chmod +x Digi-ID-*.AppImage +``` + +If you have a Ledger Nano X or S run this command to enable the usb access +``` +wget -q -O - https://raw.githubusercontent.com/LedgerHQ/udev-rules/master/add_udev_rules.sh | sudo bash +``` + +## Tests + +Infers the steps to follow for each of the tasks according to the information displayed in the application + +1. Create a new wallet generating a 12-word mnemonic phrase and write it here. +- Mnemonic phrase: + +2. Login into `digiassetx.com` and write your user id (dax1...). +- UserID: + +3. Login into `digiassets.info` and write your login address here. +- Address: + +4. Restart the wallet to use a diferent mnemonic phrase + +5. Restore a wallet and enter this mnemonic phrase `ask ask ask` + +6. Login into `digiassetx.com` and write your user id (dax1...). +- UserID: + +7. Login into `digiassets.info` and write your login address here. +- Address: + +If you have a Ledger hardware wallet continue (Your private keys will not be exposed to the internet). + +- Connect your Ledger Nano X or S via USB and install the DigiByte app from Ledger Live. +- Open the DigiByte App in your device and start the Digi-ID application on your computer. +- If needed, restart your Digi-ID app and create a hardware wallet instance. + +Infers the steps to follow for each of the tasks according to the information displayed in the application + +9. Try to login into `digiassets.info`. (If any error occurs report it at the end of the document) + +IT IS NOT MANDATORY TO CONTINUE THE TEST AFTER THIS POINT. + +CONTINUE ONLY IF YOU HAVE A BACKUP OF YOUR ORIGINAL MNEMONIC PHRASE + +PLEASE CONTINUE ONLY IF YOU KNOW HOW TO MANIPULATE YOUR LEDGER DEVICE OR YOU WILL LOSE YOUR FUNDS + +- Restart your hardware wallet and restore it using the mnemonic phrase generate on the step 1. +- Install the DigiByte App and open it in your device + +10. Try to Login into `digiassetx.com` and write your user id (dax1...). +- UserID: + +11. Try to login into `digiassets.info` and write your login address. +- Address: + +## Reports + +- + +- + +- \ No newline at end of file diff --git a/package.json b/package.json index a829b25..53070be 100644 --- a/package.json +++ b/package.json @@ -67,4 +67,4 @@ "icon": "src/views/img/icon.ico" } } -} \ No newline at end of file +} diff --git a/src/views/index.html b/src/views/index.html index a56157d..40e8e5d 100644 --- a/src/views/index.html +++ b/src/views/index.html @@ -191,7 +191,7 @@

Set password

Digi-ID authentication protocol
- + @@ -309,6 +309,10 @@

Testers:

User 5
User 6
User 7
+
User 8
+
User 9
+
User 10
+
User 11
diff --git a/src/views/js/main.js b/src/views/js/main.js index 4d575c6..38559e8 100644 --- a/src/views/js/main.js +++ b/src/views/js/main.js @@ -194,7 +194,10 @@ btnCheckSign.addEventListener('click', () => { var digiid = null; try { digiid = new DigiID(txtURI.value) } - catch { } + catch { + lblStatus.innerHTML = " Invalid Digi-ID URI"; + setTimeout(() => { lblStatus.innerHTML = "Digi-ID authentication protocol"; }, 5000); + } if (digiid) { lblCallback.innerHTML = digiid.callback; @@ -208,7 +211,7 @@ btnSettings.addEventListener('click', () => { FormOpen(frmSettings); }); btnAbout.addEventListener('click', () => { - //FormOpen(frmAbout); + FormOpen(frmAbout); }); From 7c372e15211506407e80be6dfa2495f64ccccf26 Mon Sep 17 00:00:00 2001 From: Renzo Diaz Date: Sun, 27 Mar 2022 19:03:51 -0500 Subject: [PATCH 2/2] Updated testers and sponsors --- src/views/index.html | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/src/views/index.html b/src/views/index.html index 40e8e5d..949cbf2 100644 --- a/src/views/index.html +++ b/src/views/index.html @@ -293,26 +293,13 @@

Sponsors:

JohnnyLaw.DGB
The Candle Maker
-
User 3
-
User 4
-
User 5
-
User 6
-
User 7
+
SNOOZE

Testers:

-
User 1
-
User 2
-
User 3
-
User 4
-
User 5
-
User 6
-
User 7
-
User 8
-
User 9
-
User 10
-
User 11
+
joeymarine
+
Jason Henson