LedgerHQ / app-openpgp

OpenPGP Card Application
Apache License 2.0
123 stars 21 forks source link

Add VID/PID values for the Nano X #54

Closed ricardobalk closed 4 years ago

ricardobalk commented 4 years ago

According to the documentation, people should add a few lines to /etc/libccid_Info.plist in order to make the OpenPGP App work on Linux. But the values given are for the Ledger Nano S, the Ledger Nano X uses different values — 2c97:0004 according to lsusb.

<key>ifdVendorID</key>
<array>
  <!-- ... -->
  <string>0x2C97</string>
  <!-- ... -->
</array>
<key>ifdProductID</key>
<array>
  <!-- ... -->
  <string>0x0004</string>
  <!-- ... -->
</array>
<key>ifdFriendlyName</key>
<array>
  <!-- ... -->
  <string>Ledger Nano X</string>
  <!-- ... -->
</array>

View message signature ``` -----BEGIN PGP MESSAGE----- owGdUs9rE0EY3WgtdcEiPaQHKf2qIAa6O6EWSutSrIq1WGtEEUVMd7IzuxmzuzPM zqapIlhPgih68OqPi/gHiAd/UT14UNBDEUG8KvQgKAhq9eAkbUCth+BhmPnePN77 3sd3ZcNaoyO7ZeF458LzbC7zYrFkFM9UH495HpeExQEoDidUmQLhXhrRWGHFeHxy W1kpkYwgFDBVTku2xyM0SUlA5b5DqBSm1MJCWFzQWATC8rAkGuUlFOFEUYm0GEoT /fgn1RbEz/WDoFyEFJIyT0MCmOgDPp2BkMU0qfflIqo8FLKS5zEyPRH73BYhS5QL LAbdPpV1VoQrFOoJDmqLwngBxoSAGS4rwGOYZHFas2FXqhqUKtb9JBCwKo0BSwo+ l42P5WwwhWMOh/tXQcdAp0mAMN+nUg+pKbQ1Ijgp7wB3wBseGsnn84Mu4N9H64ZJ mpRc2zRd161FoelU6Owo88lRGhMuJ/Y4qA6YDpYS6xvA6bMssG0bLKtRJkpqrdF8 bWD38JCDVsq/iQ5aEdA2q7wKkpPUU8tm8+2t2dXD/J/dXsl0uHB2Cke01Xh/DLsl 2wtpm5HtMHqyfW07e1+f/3wjF7279vZjc9PXrdFr/sQw129sIi8vZozFU9e3P9ts Pnz19c299iMz77tP9yzdOhB0G3NzV4tnjWLGePTzafT9y3jvnelzmwbl0m3v/t1L Hx7c7Jr/9ONb1/7Lnb8A =klpK -----END PGP MESSAGE----- ```
ricardobalk commented 4 years ago

My apologies, this was already added according to this merge request and this list of supported devices, but not released in version 1.4.29-1 of libccid — which I'm currently using. So I will keep the manual change as shown above until the Nano X is included with a future release of libccid :-)


View message signature ``` -----BEGIN PGP MESSAGE----- owFVkb9rU1EUx1+0ShWUTtmKpxTUQPLeawiUVgcxDqZiFxel/sh9757kXXLfvc/7 Iy/RQXASJ1GcFFwcHLr4F5ilgrXSobrYCuJqC/7A3ZvQII7n1/d8z+c8OnbQmyzO bl07vrVeLBXeD35E3s1713cu94Fkkss2Q10GkzANOdFAuEJCXY1SpEDiWCrKRBuM hJVRU4qqjaDwtkVtbpxOjMn0YhBowjXxKUaMCF+qdqCk1RqJDer1xoWgEozmbu3P 6aBaAiLoviZn2oBsgbZZJpVxiyl2WYz6n34cM+qTjFq/pUZBoBNpOc2l6viJSfls 2KvWF+bDXhiGtVIZImtASOOcciTaSTIBXVSaSQHNOb/mVxcqc83h1iZn0VCxCSdT SnRyBvKExQk0TqUQW6VQGN4Hqx0GH65IaEDOOIcOYua4IaREWMIhTohwZBxD5ywX QCLZRbDCMD5qWyZCwlVw5zIRczvEmzOTAIGWNVbh2On/lhYrpQd2witOetPFmYlz Jz7d//milO48/bw3fumhA+6d37yjR6bGmb0/BW/z45ezT2Yefl971d+GDxuD3c6d 8ubd7dXHQT79dunX4YL3+/xF7D17vZtW12tf32wsr/mNlaml5y/FO7w0P1gt/AU= =moTH -----END PGP MESSAGE----- ```