Describe the bug
When you disconnect your Leger device and plug it into a new USB port the ledger device cannot be found by syrius on a macOS.
To Reproduce
Steps to reproduce the behavior:
Plug in the Ledger and active the app
Open syrius and the device is found
Close syrius and unplug the ledger device
Plug the ledger device into a new USB port and activate the app
Open syrius and perform any action that required the ledger
Expected behavior
I would expect syrius to find the ledger device on anyUSB port.
Workaround
Reset the wallet in settings. Open and close syrius. Scan for the ledger and connect the hardware wallet. Proceed through the setup prompts and the device is found.
Screenshots
Desktop (please complete the following information):
Additional context
It appears the macOS creates a new UID for the ledger when it is plugged into a new port. I believe syrius assumes the UID does not change once it's connected.
I evaluated all devices with diskutil info -all
Ledger in Port 1 = disk3s1
The UUID for disk3s1 was C779D85A-0260-4B39-BC37-77B65C0E839D
Ledger in Port 2 = disk3s1s1
The UUID for disk3s1s1 was 8332C4C2-7563-4F36-90D8-C937085E1701
Describe the bug When you disconnect your Leger device and plug it into a new USB port the ledger device cannot be found by syrius on a macOS.
To Reproduce Steps to reproduce the behavior:
Expected behavior I would expect syrius to find the ledger device on anyUSB port.
Workaround Reset the wallet in settings. Open and close syrius. Scan for the ledger and connect the hardware wallet. Proceed through the setup prompts and the device is found.
Screenshots
Desktop (please complete the following information):
Additional context It appears the macOS creates a new UID for the ledger when it is plugged into a new port. I believe syrius assumes the UID does not change once it's connected.
I evaluated all devices with
diskutil info -all
Ledger in Port 1 = disk3s1 The UUID for disk3s1 was C779D85A-0260-4B39-BC37-77B65C0E839D
Ledger in Port 2 = disk3s1s1 The UUID for disk3s1s1 was 8332C4C2-7563-4F36-90D8-C937085E1701
Bounty program
z1qrztagl9rukq3ltdflnvg4zrvpfp84mydfejk9