Commit Graph

68 Commits

Author SHA1 Message Date
cslashm
f217b4539f add missing file 2019-08-08 11:39:51 +02:00
cslashm
e376170687 add missing file 2019-08-08 11:27:03 +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
cslashm
f92dd4730c UIF for PSO:ENC + minor fixes
Add UIF-decryption rule for "PSO:ENC" command
Fix Makefile load rule
Fix display glitch in "back" menus
2019-02-01 14:54:01 +01:00
Cédric
a43bef7014
Merge pull request #40 from NiklausHofer/patch-1
Verify PIN before changing PIN mode
2019-02-01 10:40:21 +01:00
Cédric
2a83a90099
Merge pull request #42 from mlapaj/master
fixed UIF
2019-02-01 10:38:27 +01:00
cslashm
bcf9cd3c82 Minor Fixes
Fix Makefile for 'Multi/Single slot' compilation
Fix unnecessary conditionnal code for 'Multi/Single slot' compilation
Fix name display: remove '<' filler
2019-01-31 16:46:43 +01:00
Marcin Lapaj
1334de23e5 fixed UIF 2019-01-27 00:25:54 +01:00
OTO
2b4af766b3 fix for autodeploy 2019-01-16 14:59:32 +01:00
Niklaus 'vimja' Hofer
d3324a48c1
Verify PIN before changing PIN mode
As described in  #30 the PIN has to be verified on the host before the PIN mode can be changed on the device. Otherwise an error message is displayed which is not very helpful.
2018-11-29 19:34:44 +01: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
4b2dcacf41 Remove Brainpool 256R1.
Not correctly supported in gpg with smartcard.
2018-10-10 09:42:09 +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
oto
80ee7ef8d1
Merge pull request #36 from oto-ledger/master
fix apdu state machine end after response apdu is sent
2018-09-26 10:09:32 +02:00
OTO
fafc85c324 fix apdu state machine end after response apdu is sent 2018-09-26 10:08:18 +02:00
Cédric
c07cb00cb6 Fix SSH authentication with Ed25519.
When message to sign was too long, it overlayd the signature destination.
2018-06-04 18:50:38 +02:00
Cédric
dfbfb893ef Merge branch 'master' of github.com:LedgerHQ/blue-app-openpgp-card 2018-05-30 12:15:54 +02:00
Cédric
281ea42cbb 1.2.0 code
SDK 1.4.2.x port
Add uif support
Refactor memory layout
Try to add more curve
  gpg 2.2.x handle curves other than ed25519 in a such strange way
  that it is very difficult to do such support.
  So secp256k1, secp256r1 and brainpoolp256 seems works, but according to gpg
  code it works by side effects :-/
Update user documentation for UIF

There is still an issue with ssh authentication with Ed25519. It works with NIST-P256, Brainpool256 curves
2018-05-30 11:44:09 +02:00
Cédric
a0d537dcec Merge branch '1.1.0_fw.1.4.1' 2018-05-28 10:57:14 +02:00
Cédric
b71d2d02d7 port SDK 1.4.2.1 2018-05-28 10:38:04 +02:00
Cédric
81090d3f23 1.4.1 firmware port
Code update for 1.4.1 fw
Fix PUT_DATA[serial] command
2018-03-13 18:47:55 +01:00
Cédric
e6026d5809 intermediate commit 2018-03-05 21:51:57 +01:00
Cédric
2c06e06261
Update blue-app-openpgp-card.rst 2018-02-22 11:00:27 +01:00
Cédric
92cdb83293
Merge pull request #12 from dongcarl/patch-1
Tidy up whitespace in gpgcard.py
2017-11-22 08:52:59 +00:00
Cédric
4fb1610360
Merge pull request #15 from dongcarl/patch-2
gpg_data.c: Clear correct bits for 0x4f tag.
2017-11-22 08:52:23 +00:00
Carl Dong
8c83524536
gpg_data.c: Clear correct bits for 0x4f tag. 2017-11-22 00:11:56 -08:00
Carl Dong
783cf580ab
Tidy up whitespace in gpgcard.py 2017-10-30 00:04:06 -07:00
Cédric Mesnil
77548b1ddd Add quick testing guide 2017-10-05 19:04:27 +02: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
38e143d248 Reference the new documentation (try 2...) 2017-08-31 17:15:48 +02:00
Cédric Mesnil
f15451f62a Reference the new documentation 2017-08-31 17:13:55 +02:00
Cédric Mesnil
a1c8e7766c On the road to 1.1.0
Fix PIN management

Add 3.3.1 spec addons
  - VERIFY with get status
  - MSE
  - ECC public key import
  - AES PSO:ENC
  - AES multi blcok
2017-08-31 17:03:27 +02:00
Cédric Mesnil
582928a16d reorg some image files 2017-08-30 15:18:36 +02:00
Cédric Mesnil
b049197c02 update logo with correct font 2017-08-30 14:38:17 +02:00
Cédric Mesnil
9fffb46d87 fix Ledger logo 2017-08-30 12:22:09 +02:00
Cédric Mesnil
e80bea28b2 Add User Guide
Reorganize doc section
2017-08-30 12:07:04 +02:00
Cédric Mesnil
8e992a5c63 Merge branch 'master' of github.com:LedgerHQ/blue-app-openpgp-card 2017-08-29 18:02:21 +02:00
Cédric Mesnil
bb745c7cdb more beautiful logo 2017-08-29 17:59:54 +02:00
Cédric
d067dcb144 Update README.md 2017-07-09 08:36:09 +02:00
Cédric
fcf12c5c3f Update README.md
Add on-screen PIN configuration for gnupg
2017-07-09 08:10:31 +02:00
Cédric Mesnil
3f4da471c4 1.0.1 2017-07-07 08:51:11 +02:00
Cédric Mesnil
f8522808b6 BugFix: set ACCESCOND for changing PIN mode tp PW1, not PW2
Allow PIN_CONFIRM switch with USER PIN level
2017-07-06 17:42:26 +02:00
Cédric Mesnil
4733d6f8ba mod it 2017-07-06 16:03:02 +02:00
Cédric Mesnil
2f273469fa add icons 2017-06-27 15:58:09 +02:00
Cédric Mesnil
8f1811313d 1.0.0 2017-06-19 09:30:51 +02:00
Cédric Mesnil
f8f07ec9ba RC7 2017-06-12 14:50:28 +02:00
Cédric Mesnil
d50e45b026 Merge branch 'master' of github.com:LedgerHQ/blue-app-openpgp-card 2017-06-12 14:48:36 +02:00
Cédric Mesnil
9dec68f892 RC7
Fix Signatrure counter:  now incremented
Fix PIN status init: was not correctly initialized
Fix "only once" CDS management: PIN was not invalidated after signing
Change all return 0 by corresponding THROW error code
PIN API refacto
2017-06-12 14:26:10 +02:00
Cédric
a54cc477c2 Update README.md 2017-05-05 16:02:06 +02:00
Cédric Mesnil
2e0d755fb6 RC6
Features:
  "PIN confirm" is now the default PIN input mode.
  Add EF 01F8 for setting default RSA public exponent for key generation. Access control is PW3/Admin.

Bug fixes:
  Fix Issue #2:  Add explicit return after each throw.
2017-05-04 17:30:53 +02:00