Commit Graph

12 Commits

Author SHA1 Message Date
cslashm
1151672873 Add two levels of reset
- Reset application
- Reset current key slot only
2020-01-15 17:11:48 +01:00
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.
2020-01-10 21:14:00 +01:00
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.
2019-12-11 13:57:51 +01:00
cslashm
6eb81afec9 fix XL version 2019-08-08 13:04:39 +02:00
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
2019-08-06 18:29:14 +02:00
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
2018-10-11 00:01:16 +02:00
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
2018-10-09 23:42:56 +02:00
Cédric
dfbfb893ef Merge branch 'master' of github.com:LedgerHQ/blue-app-openpgp-card 2018-05-30 12:15:54 +02:00
Carl Dong
783cf580ab
Tidy up whitespace in gpgcard.py 2017-10-30 00:04:06 -07:00
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
2017-09-05 23:47:16 +02:00
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
2017-03-27 15:14:51 +02:00
Cédric Mesnil
bfb950e21b Initial commit
Functional application in beta stage
2017-03-21 16:32:26 +01:00