Commit Graph

89 Commits

Author SHA1 Message Date
cme
cd6054f0ed Merge branch 'fix_openpgp_spec' of hwerner/openpgp-card-app into master 2020-02-12 11:24:12 +00:00
Hervé Werner
3216c742fe
Fix specification
https://github.com/LedgerHQ/LedgerHQ.github.io/pull/3#discussion_r367899178
2020-01-17 15:19:43 +01:00
cslashm
1151672873 Add two levels of reset
- Reset application
- Reset current key slot only
2020-01-15 17:11:48 +01:00
cslashm
6348318cf0 Fix PIN on screen: issue #7 2020-01-15 14:42:49 +01:00
cme
e4832fcaf6 Merge branch 'single_key_restoration' of hwerner/openpgp-card-app into master 2020-01-14 08:24:52 +00: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
cme
65fff724cb Merge branch 'thomsh-user-doc' of thomas.hebras/openpgp-card-app into master 2020-01-10 08:29:42 +00:00
cme
53921ef646 Merge branch 'update-user-doc' of cchevalier/openpgp-card-app into master
Merged, but  `set-key` still have to be replaced by `key-attr`
2020-01-10 08:29:31 +00:00
cme
bd1dfca864 Merge branch 'fix-gpgcli-given-pins' of cchevalier/openpgp-card-app into master 2020-01-10 08:26:11 +00:00
thomsh
764521006b
Improve user doc for backup/restore operations 2020-01-07 13:19:30 +13:00
Charly Chevalier
c0106ca947 Spell check 2019-12-11 18:32:16 +01:00
Charly Chevalier
d917a0e2c7 Update user-doc with new set-key command + Mac workarounds 2019-12-11 18:25:09 +01:00
Charly Chevalier
273eff28cb Update generate.sh (now works with homebrew pandoc)
As explained in the script itself, the issue might not be related
to Mac, but it seems to work fine this way and seems to generate
the same PDF.
2019-12-11 18:20:51 +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
cme
f7fff68d32 Merge branch '1.6-og' of AppDave/openpgp-card-app into master 2019-11-12 13:37:51 +00:00
cslashm
99cfcdd6bb CRLF->LF 2019-11-12 14:35:38 +01:00
cslashm
f6766c4441 Compatibility with 1.6.0.1-og SDK 2019-11-12 14:33:48 +01:00
BTChip
0892d3704a Compatibility with 1.6-og SDK 2019-11-11 14:25:33 +01:00
nba
023594ef55 Merge branch '1.6-og' of AppDave/openpgp-card-app into master 2019-11-03 16:25:13 +00:00
BTChip
3ae6f0d8f5 Compatibility with 1.6 SDK 2019-11-03 17:24:43 +01:00
cslashm
6eb81afec9 fix XL version 2019-08-08 13:04:39 +02:00
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