Commit Graph

16 Commits (3e98639670972033cf11e950858367eba8e9472b)

Author SHA1 Message Date
Charles-Edouard de la Vergne 4bfe79cd94
Fix missing elements in backup / restore 7 months ago
Charles-Edouard de la Vergne f60feb09ab
Disable RSA4096 - watchdog issue 7 months ago
Charles-Edouard de la Vergne 2a7f9eee30
Refactoring python cli tools 7 months ago
Charles-Edouard de la Vergne 91714aac94
Fix linter output and formatting 9 months ago
cslashm 1151672873 Add two levels of reset
- Reset application
- Reset current key slot only
5 years ago
Hervé Werner c723bf2a42
Allow the user to restore only one key to the Nano
This PR allows the user to restore only one key, for example only
the authentication key.

Some minor improvements to the doc. is also included.
5 years ago
Charly Chevalier 6970362efa Fix gpgpcli.py --{adm,user}-pin
When pinpad is not set, then both admin/user PINs must be set
on the command-line. However this condition was not properly
checked, meaning it was impossible to use both options at the
same time.
5 years ago
cslashm 6eb81afec9 fix XL version 5 years ago
cslashm 72df4f7d20 Add NanoX support
- embed shake256 as NanoX bug workarround
- replace 'C' by 'C' in PIN Entry
- fix the fact cx_hash does not accept any more NULL as output buff
- add clang formatter
5 years ago
Cédric 8f841e7188 Enhancement + bugfix
Application

- full independant serial per slot
- EXIT instruction ('02') controlled by PW2
- remove code belonging  curves other than Ed25519/NISTP256
- fix io bug when APDU is 4 bytes lenght

Makefile:

- dual version XL/1slot. XL contains 3 key slots, normal only one.
  use "MULTISLOT=1 make" to compile XL version
- add exit rule

doc:

- update dev/user

tool:

- froce backup filename suffix: _slot<x>.pickle
- add --set_template option
- add --slot option
- rename --set-fp to  --set-fingerprints
6 years ago
Cédric 14cfe899ff Add full backup/restore with python tool
app:

- support DO 'B6'/'B8'/'A4' in get/put data for full backup.
  private key are backuped encrypted with AES and a key based on the master seed
- fix missing DO 'CB' access
- fix TERMINATE_DF command: the command did not return
- fix stack corruption in ECC key generation, when key size is greater than 256bits

tools:

- add full backup/restore cli tool

misc:

- add 'make run' rules
6 years ago
Cédric dfbfb893ef Merge branch 'master' of github.com:LedgerHQ/blue-app-openpgp-card 6 years ago
Carl Dong 783cf580ab
Tidy up whitespace in gpgcard.py 7 years ago
Cédric Mesnil cf6e295e47 1.1.0 fixes
Fix PIN management
   PINPAD CCID command was in conflict with new PIN get status APDU. Use class CLA=0xEF to
   differenciate both case.

Fix Terminate status management

Fix RC code setting

Add MSE support
Set MSE supported in capabilities
7 years ago
Cédric Mesnil 278d85a821 1.0 RC1
Add-on Spec:
 Add intermediate SHA256 in seeded key derivation
 Beautify spec

Pytool:
  Remove some log

 App:
  Fix GET_CHALLENGE commande to support addon mode
  Add '01F2' '01F1' access control
  Replace ugly temporary cx_sha_t address definition by clean union
  Rewrite dynamic menu management in ui
  Add 'About' menu

 Build:
  Rename application from GNUPG3 to OpenPGP and version to 1.0
  Lock path & curve
  Compile in optimization mode
8 years ago
Cédric Mesnil bfb950e21b Initial commit
Functional application in beta stage
8 years ago