Closed chozian closed 5 years ago
The reason I would really like to get this working is to have a way to restore my seed-generated keys after a Ledger Nano S firmware upgrade. If there is a better method, please let me know. Thanks!
Did you try python3?
The following error is received when executing the original backup.py or the modified code at https://github.com/LedgerHQ/blue-app-openpgp-card/issues/8#issuecomment-334121837.
Versions:
This was tested using 2 different Ledger Nano S units with firmware 1.4.1. The results were the same for both.
The latest releases of blue-loader-python, blue-app-ssh-agent, blue-app-u2f, and trezor-agent all work as expected.
This was tested with and without PGP keys generated on the Ledgers.
gpg --card-status and --card-edit work as expected, except when generating 4096 RSA keys which results in a failure. 3072 RSA keys generate without issue though.
This was tested using Debian 8 on VirtualBox 5.2.8 and VMware Workstation 14 Player.
Debian 8 Package Versions:
Debian 8 python virtualenv:
This was also tested using Ubuntu 16.04 LTS on a bare metal Dell Latitude with built-in smart card reader and Dell Inspiron with no other smart card reader.
Ubuntu Package Versions:
Ubuntu python virtualenv:
pcsc_scan displays the following.
I am not sure if the following dmesg output is relevant to this issue. The two lines containing "interface number" as shown below occur when switching to the OpenPGP app on the Ledger.
Please let me know if any additional information would be useful. I would like to know if the error with backup.py is due to a bug. Am I simply overlooking something? I feel like I have thoroughly exhausted all troubleshooting options based on my knowledge and experience at this point. Anyone's assistance would be greatly appreciated. Thanks!