LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
When trying to send some Doge from my Ledger using Ledger Live, it missed one character on the display when comparing the address. Let's say the address was xxxxNyyyyzzzz. The address is split over several screens because it's too large, and looks like this on the Ledger: The character in between xxxx Nyyyy didn't show up! I tried a small amount, and set a low fee. It didn't show up on a block explorer, and didn't confirm. Ledger Live shows the correct address, but the Ledger device doesn't! After a while the funds returned to Ledger, and I made a new transaction to another address. Everything worked as expected. I'm just posting here for latere reference.
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3794
Merit: 9009
https://bpip.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 16, 2021, 02:25:14 PM |
|
Probably not an issue, at least not with the type of attack I'm thinking of - like clipboard malware. It would have to match all other characters, which is pretty much impossible. Perhaps I'm not evil enough though, maybe there is some other way to exploit this.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 16, 2021, 02:28:23 PM |
|
Perhaps I'm not evil enough though, maybe there is some other way to exploit this. I don't think it's caused by an exploit, and I expect a missing character to result in an invalid address. My hope is that it's just a display bug on the Ledger, my fear is it's creating an incorrect (and invalid) transaction. My clipboard was correct ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3794
Merit: 9009
https://bpip.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 16, 2021, 02:34:53 PM |
|
Perhaps I'm not evil enough though, maybe there is some other way to exploit this. I don't think it's caused by an exploit, and I expect a missing character to result in an invalid address. My hope is that it's just a display bug on the Ledger. My clipboard was correct ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I'm assuming it's a display issue, and I was thinking if/how it could be exploited, not that it's caused by an exploit. If it's not a display issue and it really cuts one character out and puts that mangled hash in the TX that'd be quite nasty.
|
|
|
|
PrimeNumber7
Copper Member
Legendary
Offline
Activity: 1652
Merit: 1899
Amazon Prime Member #7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 16, 2021, 02:50:56 PM |
|
Do Doge addresses contain a checksum as bitcoin addresses do? If so, it shouldn't be necessary to worry about a single omitted address, as the transaction would be invalid if incorrect.
If you are concerned about an attacker creating a vanity address that matches the entire 1st page displayed on your Ledger device, remember that creating vanity addresses get exponentially more difficult with each additional character you want.
|
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18699
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 16, 2021, 07:32:23 PM |
|
Do Doge addresses contain a checksum as bitcoin addresses do? As far as I am aware, the only difference between a Dogecoin address and a legacy Bitcoin address is that the Dogecoin address uses a 0x1E version byte instead of a 0x00 version byte, meaning the first character of the address is "D" rather than "1". So yes, they contain the same double SHA256 checksum.
|
|
|
|
HCP
Legendary
Offline
Activity: 2086
Merit: 4318
<insert witty quote here>
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 04:17:21 AM |
|
I'm just posting here for latere reference.
Is it a repeatable bug? ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Or does it only do it with particular address? Kinda seems like the sort of thing that should be highlighted to Ledger support and/or logged on their issue register.
|
|
|
|
Lucius
Legendary
Offline
Activity: 3360
Merit: 6020
Crypto Swap Exchange🈺
|
Ledger has announced that there are difficulties with Doge transactions in Ledger Live, perhaps this is the reason that the addresses in Ledger Live and Ledger devices are not identical. We are currently experiencing some difficulties with DOGE transactions in Ledger Live. As far as we know, there isn't a third-party compatible wallet that you could use in the meantime. More info here - > Send DOGE with ledger live to exchange but does not get sent.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 01:36:50 PM |
|
Is it a repeatable bug? I can repeat it, but only with 1 out of the 2 addresses I've tried. This is the address: DMv1UW6d2vXUqNGw7YZyXjPEx959wM2FEN ↑ This is what it looks like on the Ledger: ![Image loading...](https://ip.bitcointalk.org/?u=https%3A%2F%2Floyce.club%2Fother%2Fbug.jpg&t=665&c=vsAphwAwzLM8UA) If you can verify the bug by creating a test-transaction (no need to broadcast it, just reject it on the Ledger), that would be much appreciated. There's a firmware update waiting, but I haven't installed it yet. Kinda seems like the sort of thing that should be highlighted to Ledger support and/or logged on their issue register. Unless it's fixed already in the latest firmware, but I'm always afraid to upgrade those. Ledger has announced that there are difficulties with Doge transactions in Ledger Live, perhaps this is the reason that the addresses in Ledger Live and Ledger devices are not identical. I did upgrade Ledger Live recently. That would mean Ledger Live omits a character when sending the address to the Ledger device.
|
|
|
|
Lucius
Legendary
Offline
Activity: 3360
Merit: 6020
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 02:23:49 PM |
|
If you can verify the bug by creating a test-transaction (no need to broadcast it, just reject it on the Ledger), that would be much appreciated.
I tried it on my Nano X, and the address you have a problem with is displayed correctly on my device - The Nano X at least has a larger screen so the entire address can be displayed at once. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FfAb9Rko.jpg&t=665&c=_dyXe0s37aZWXA) Unless it's fixed already in the latest firmware, but I'm always afraid to upgrade those.
In the worst case, it can happen that you brick your hardware wallet - but I think that happens very rarely. Yet those initial problems that have occurred with Ledger firmware should be a thing of the past - this process is now much more painless and faster - unless you are using some old OS like Windows 7.
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3794
Merit: 9009
https://bpip.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 03:00:05 PM |
|
I did upgrade Ledger Live recently. That would mean Ledger Live omits a character when sending the address to the Ledger device.
I tried it on my Nano X, and the address you have a problem with is displayed correctly on my device - The Nano X at least has a larger screen so the entire address can be displayed at once.
I'm still confused by this. If it's a Ledger Live bug, wouldn't the address be wrong on any device? Or do you two use different Live versions? Which part (Live or the device) is splitting the address into multiple lines for display? I was assuming it was the device doing this, and dropping one character - seemed like too much of a coincidence that this specific character position on the boundary of two lines is missing.
|
|
|
|
dkbit98
Legendary
Offline
Activity: 2352
Merit: 7427
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 03:16:37 PM |
|
I don't think it's caused by an exploit, and I expect a missing character to result in an invalid address. My hope is that it's just a display bug on the Ledger, my fear is it's creating an incorrect (and invalid) transaction.
I heard about similar problem with Bitcoin addresses on ledger that was cause by some malicious program that was changing only last four characters on bitcoin address to steal funds, but right now I can't find the source of this information. Ledger reddit page is full of posts with people complaining and asking where are their coins, but have you seen this doge page on ledger wallet website? We are currently experiencing some difficulties with DOGE transactions in Ledger Live. As far as we know, there isn't a third-party compatible wallet that you could use in the meantime. Besides, when you make DOGE transactions, make sure to not mistake your Dogecoin (DOGE) address for your DigiByte (DGB) address. DOGE addresses start with a capital D whereas DGB addresses start with a capital S. https://support.ledger.com/hc/en-us/articles/115005174025
|
|
|
|
Lucius
Legendary
Offline
Activity: 3360
Merit: 6020
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 03:29:24 PM Last edit: April 17, 2021, 03:49:26 PM by Lucius Merited by LoyceV (4), o_e_l_e_o (2) |
|
I'm still confused by this. If it's a Ledger Live bug, wouldn't the address be wrong on any device? Or do you two use different Live versions?
I have the latest version available (2.25.1), and LoyceV claims to have also made an update recently, so I guess we use the same Ledger Live version, but a different device. Which part (Live or the device) is splitting the address into multiple lines for display? I was assuming it was the device doing this, and dropping one character - seemed like too much of a coincidence that this specific character position on the boundary of two lines is missing.
When it comes to Nano S, due to the size of the screen, it is not possible to display the address at once, but what exactly causes the address not to be displayed correctly at this time we cannot say. Maybe LoyceV has problematic (old) firmware that is combined with current Ledger Live and problems that Ledger has currently with Doge. Edit: I found my Nano S and tried to reproduce the same error when displaying the address, and I can confirm that the (w) character is really missing. Since I couldn’t reproduce the same thing on the Nano X, we can conclude that something is wrong with the Nano S combined with the current Ledger Live. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FLEeVIhe.jpg&t=665&c=EQZ0MEP7s5PZiQ)
|
|
|
|
Pmalek
Legendary
Offline
Activity: 2884
Merit: 7435
Playgram - The Telegram Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 17, 2021, 10:18:12 PM |
|
In all my years with a Ledger wallet, I have never seen such a thing. I don't have Dogecoins on my Ledger device, but I thought I would be able to create a 0-value transaction and get to the confirmation screen to have the address displayed on the device. After installing the app and adding a Doge account, it unfortunately didn't work. The continue button is only clickable with a valid balance.
All I could try was to generate a new receiving address and compare the one in Ledger Live to the one displayed on the screen of my Nano. Both were identical, there were no missing characters. Can you recreate the bug when you generate new receiving addresses or when you try to send to any random Doge address found on the blockchain?
|
|
|
|
▄▄███████▄▄███████ ▄███████████████▄▄▄▄▄ ▄████████████████████▀░ ▄█████████████████████▄░ ▄█████████▀▀████████████▄ ██████████████▀▀█████████ █████████████████████████ ██████████████▄▄█████████ ▀█████████▄▄████████████▀ ▀█████████████████████▀░ ▀████████████████████▄░ ▀███████████████▀▀▀▀▀ ▀▀███████▀▀███████ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Playgram.io ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ▄▄▄░░ ▀▄ █ █ █ █ █ █ █ ▄▀ ▀▀▀░░
| │ | ▄▄▄███████▄▄▄ ▄▄███████████████▄▄ ▄███████████████████▄ ▄██████████████▀▀█████▄ ▄██████████▀▀███▄██▐████▄ ██████▀▀████▄▄▀▀█████████ ████▄▄███▄██▀█████▐██████ ██████████▀██████████████ ▀███████▌▐██▄████▐██████▀ ▀███████▄▄███▄████████▀ ▀███████████████████▀ ▀▀███████████████▀▀ ▀▀▀███████▀▀▀ | | │ | ██████▄▄███████▄▄████████ ███▄███████████████▄░░▀█▀ ███████████░█████████░░█ ░█████▀██▄▄░▄▄██▀█████░█ █████▄░▄███▄███▄░▄██████ ████████████████████████ ████████████████████████ ██░▄▄▄░██░▄▄▄░██░▄▄▄░███ ██░░░█░██░░░█░██░░░█░████ ██░░█░░██░░█░░██░░█░░████ ██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████ ███████████████████████ ███████████████████████ | | │ | ► | |
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 18, 2021, 08:35:34 AM |
|
Can you recreate the bug when you generate new receiving addresses or when you try to send to any random Doge address found on the blockchain? Probably. I expect it to take some trial and error, but haven't tested other addresses. I've sent Ledger an email, now we wait ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif)
|
|
|
|
dkbit98
Legendary
Offline
Activity: 2352
Merit: 7427
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 18, 2021, 09:24:37 AM |
|
I've sent Ledger an email, now we wait ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Oh...good luck with that, it's time to pop a champagne bottle. You should expect to receive stupid generic automatic machine answer and experience their terrible customer support. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) Just now reading on their reddit page that other altcoins like Vertcoin also have some issues with ledger.
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 19, 2021, 09:51:49 AM Last edit: April 19, 2021, 10:24:27 AM by LoyceV Merited by Foxpup (1), Lucius (1), LeGaulois (1) |
|
Oh...good luck with that, it's time to pop a champagne bottle. You should expect to receive stupid generic automatic machine answer and experience their terrible customer support. ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) They responded (as promised within 24 hours): Hello Loyce,
Thanks for the bug report. After internal discussion with the firmware team, it appears this issue was already reported through several customer support tickets.
For technical details, the address to be displayed is split in a number of pages depending on the maximum character width. The bug occurs only on some addresses, when the sum of each character width is larger than a threshold. This width used to be hardcoded in the UX library and there was a bug in the related algorithm.
A fix is ready and will be made available in the next version of the SDK, which will happen during the next Nano S firmware release (the Nano X isn't affected because the UX internals are slightly different).
Best, The Ledger Security Team
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3794
Merit: 9009
https://bpip.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 19, 2021, 12:40:30 PM |
|
They responded (as promised within 24 hours):
So... it's a display bug in their "UX library" but apparently it results in an invalid transaction. That sounds a bit contrary to how I thought a hardware wallet is supposed to work. I thought it goes like this - you build a TX (e.g on a phone or a PC), send it to the device, it shows the receiving address, you confirm it, the device signs the TX. Why is the device allowed to change the output script?
|
|
|
|
LoyceV (OP)
Legendary
Offline
Activity: 3430
Merit: 17339
Thick-Skinned Gang Leader and Golden Feather 2021
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 19, 2021, 02:22:07 PM |
|
So... it's a display bug in their "UX library" but apparently it results in an invalid transaction. It could have been rejected due to my the low fee, I have no idea what the minimum is for Doge. Ledger surprised me with a default fee of more than 2 Doge for one input and 2 outputs.
|
|
|
|
suchmoon
Legendary
Offline
Activity: 3794
Merit: 9009
https://bpip.org
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 19, 2021, 02:34:54 PM |
|
So... it's a display bug in their "UX library" but apparently it results in an invalid transaction. It could have been rejected due to my the low fee, I have no idea what the minimum is for Doge. Ledger surprised me with a default fee of more than 2 Doge for one input and 2 outputs. Reading some of the comments on Reddit it sounded like people were complaining about not being able to send coins, and not so much about the address showing up incorrectly on the device. But who knows, what with Ledger trying so hard to avoid explaining what the issue is and what to do (or not to do) to prevent it.
|
|
|
|
|