zenon-network / syrius

MIT License
18 stars 15 forks source link

Use wallet name to identify ledger device #89

Closed KingGorrin closed 6 months ago

KingGorrin commented 6 months ago

This PR fixes issue #87.

Due to security reasons ledger devices do not have an unique id like for example a serial number.

Syrius used the device path to try and the same device when reconnecting. The device path cannot be used on Linux and macOS because the device path changes on every reconnect or different usb port.

The implementation has been changed to use the wallet name to identify the ledger device.