Public bug reported:

Linux Mint 19.3 (Ubuntu 18.04)
QtQR 1.4~bzr23-1

I try to create QR code for TurtleCoin address but QR code is rejected
as invalid in TonChan wallet (Android).

Wallet address used for QR code generation:

TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

When I try to read QR code generated in QtQR in TonChan Android wallet
(https://play.google.com/store/apps/details?id=com.tonchan), it is
rejected. I try to send some coins to that address and I read address
from QR code.

When I create QR code with other tool, like here, it is accepted in
TonChan.

https://api.qrserver.com/v1/create-qr-
code/?size=150x150&qzone=5&ecc=Q&data=TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

So, I used online QR code decoder https://zxing.org/w/decode.jspx and I
see that QtQR stores extra information to the QR code and those are
wrong... It is a BUG in QtQR.

Attachments: TRTL-DEMO-QR-QtQR-INVALID.png & TRTL-DEMO-QR-API-OK.png.

---

TRTL-DEMO-QR-API-OK.png decoded:

Raw text
TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

Raw bytes
46 35 45 25 44 c7 57 a7   24 e4 47 75 66 96 36 e3
87 94 e7 77 03 16 e5 34   86 87 76 64 65 a7 34 64
77 55 45 03 33 63 36 e4   36 25 26 73 63 53 15 a5
17 95 a6 64 13 95 93 36   e3 87 a7 96 53 75 84 45
65 94 d6 54 83 16 b6 76   96 83 76 46 86 95 53 46
85 25 56 b5 65 26 64 a7   05 34 d7 24 87 87 27 84
87 06 46 77 70 ec 11 ec   11 ec 11 ec 11 ec

Barcode format  QR_CODE
Parsed Result Type      TEXT
Parsed Result
TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

---

TRTL-DEMO-QR-QtQR-INVALID.png decoded, note section with UPC_E data that
stores value 10582572:

Raw text
TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

Raw bytes
46 6e fb bb f5 45 25 44   c7 57 a7 24 e4 47 75 66
96 36 e3 87 94 e7 77 03   16 e5 34 86 87 76 64 65
a7 34 64 77 55 45 03 33   63 36 e4 36 25 26 73 63
53 15 a5 17 95 a6 64 13   95 93 36 e3 87 a7 96 53
75 84 45 65 94 d6 54 83   16 b6 76 96 83 76 46 86
95 53 46 85 25 56 b5 65   26 64 a7 05 34 d7 24 87
87 27 84 87 06 46 77 70   ec 11 ec 11 ec 11

Barcode format  QR_CODE
Parsed Result Type      TEXT
Parsed Result
TRTLuzrNDwVicn8yNwp1nSHhwfFZsFGuTP363nCbRg651ZQyZfA9Y3n8zye7XDVYMeH1kgih7dhiU4hRUkVRfJpSMrHxrxHpdgw

Raw text
10582572
Raw bytes
(Not applicable)
Barcode format  UPC_E
Parsed Result Type      PRODUCT
Parsed Result
10582572

---

Try to replicate...

** Affects: qr-tools (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "QtQR, invalid QR is created"
   
https://bugs.launchpad.net/bugs/1965167/+attachment/5569732/+files/TRTL-DEMO-QR-QtQR-INVALID.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1965167

Title:
  Bad data stored in QR code

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qr-tools/+bug/1965167/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to