1

Trying to find some unique identifier for ledger nano s device .

I tried to enumerate the device with System.HIDAPI library in haskell but all ledger nano s devices i have, are giving same serial number as "0001" . i am not sure if ledger nano s devices have some unique identifier or not

  d <- liftIO $ openDeviceInfo deviceInfo
  let serialNum = serialNumber deviceInfo
  --let sno = eliminate serialNum
  sno <- getSerialNumberString d
vineet pant
  • 77
  • 1
  • 9
  • I think this is the wrong place to ask the question. – Bob Dalgleish Jul 24 '19 at 14:46
  • ok , could you please point me to right forum ? TIA – vineet pant Jul 25 '19 at 15:02
  • who makes the "ledger nano s" device? That would be the place to go. – Bob Dalgleish Jul 25 '19 at 17:45
  • thank you for the suggestion , as these devices are widely used by blockchain programmers and by other people in security related solutions.So i thought it would be a possibility that someone else would have faced the same issue. And there is always a possibility that i might be using HID library incorrectly, so to me it makes sense to ask question. Trying other mediums and writing to manufacturer as well . – vineet pant Jul 26 '19 at 10:32

1 Answers1

1

No, they do not have a unique identifier exposed in HID API. If you want a unique device id, you will have to make an app and generate/store a random number yourself.

Juan Leni
  • 6,982
  • 5
  • 55
  • 87
  • Yes i got to know about this from ledger support team, there are certain security measures due to which unique identifier are not attached to these devices. however i needed unique identifier for some specific reasons in the project, so i stored uuid in the device via APDU commands and mapped the devices against that uuid. It is working fine for me as of now. – vineet pant Nov 21 '19 at 10:21