Commit Graph

189 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
ae8d1f7607
Cleanup / comment dead code 2024-03-14 09:02:44 +01:00
Charles-Edouard de la Vergne
cc8de8eb97
Clean magic numbers with define constants 2024-03-14 09:02:43 +01:00
Charles-Edouard de la Vergne
b4a5c236ea
Replace memmove by strlcpy 2024-03-13 14:49:47 +01:00
Charles-Edouard de la Vergne
710de03cad
Replace memset by explicit_bzero 2024-03-13 14:49:47 +01:00
Charles-Edouard de la Vergne
f3070bb886
Remove useless TODO comments 2024-03-13 14:49:46 +01:00
Charles-Edouard de la Vergne
c3c0fde6fc
Fix Security Audit issue OPGP-#01
- Fix buffer overflow in pinentry buffer
- Add dedicated variable to manage the pin length
2024-03-13 14:49:46 +01:00
Charles-Edouard de la Vergne
6983d8cbb8
Fix screen message buffer overwrite 2024-03-13 14:49:46 +01:00
Charles-Edouard de la Vergne
1d16c87fc8
Cleanup unused fields 2024-03-13 14:49:45 +01:00
Charles-Edouard de la Vergne
c252ca069b
Update version to 2.2.0 2024-03-13 14:49:45 +01:00
Charles-Edouard de la Vergne
43e5945f46
Merge pull request #99 from LedgerHQ/cev/add_secp256K1
Add curve secp256K1
2024-03-01 18:53:27 +01:00
Charles-Edouard de la Vergne
9f917865c4
Add curve secp256K1 2024-03-01 18:39:40 +01:00
Charles-Edouard de la Vergne
d080e4f1db
Merge pull request #98 from LedgerHQ/cev/fix_backup_restore
Cev/fix backup restore
2024-03-01 17:28:19 +01:00
Charles-Edouard de la Vergne
18152cacdb
Update doc for Backup/Restore 2024-03-01 16:25:05 +01:00
Charles-Edouard de la Vergne
4bfe79cd94
Fix missing elements in backup / restore 2024-03-01 16:13:21 +01:00
Charles-Edouard de la Vergne
aa8c7201f1
Merge pull request #97 from LedgerHQ/cev/clean_supported_algo
Handle supported algorithms and curves
2024-03-01 11:05:49 +01:00
Charles-Edouard de la Vergne
d33a4b7500
Add limitations and constraints 2024-03-01 10:13:03 +01:00
Charles-Edouard de la Vergne
913d7ece41
Update snapshots 2024-02-29 17:59:34 +01:00
Charles-Edouard de la Vergne
29961974e1
Fix Supported curves 2024-02-29 17:46:46 +01:00
Charles-Edouard de la Vergne
f60feb09ab
Disable RSA4096 - watchdog issue 2024-02-29 17:46:45 +01:00
Charles-Edouard de la Vergne
69532fde5a
fix nistp256 template 2024-02-29 17:46:45 +01:00
Charles-Edouard de la Vergne
7205e9dcb5
Update Version to 2.1.0 2024-02-29 17:46:45 +01:00
Charles-Edouard de la Vergne
aa2d992ffc
Update test tool with advanced expert mode option 2024-02-29 17:29:29 +01:00
Charles-Edouard de la Vergne
f49c574428
custo & formatting 2024-02-29 16:38:35 +01:00
Charles-Edouard de la Vergne
1e23ef7b13
Merge pull request #96 from LedgerHQ/cev/app_improvements
App improvements after 1st refactoring
2024-02-28 17:29:37 +01:00
Charles-Edouard de la Vergne
00a23dd7ad
Fix mypy on ragger tests 2024-02-28 11:16:58 +01:00
Charles-Edouard de la Vergne
4390142ffa
Fix EC templates on Stax 2024-02-28 11:16:57 +01:00
Charles-Edouard de la Vergne
285fbcfaf3
Allow verified PW1 or PW2 before changing pin mode 2024-02-28 11:16:57 +01:00
Charles-Edouard de la Vergne
7d68daf254
Fix Historical Bytes buffer with correct padding 2024-02-28 11:16:57 +01:00
Charles-Edouard de la Vergne
2969c0e150
Fix Historical Bytes Status Indicator value 2024-02-28 10:24:58 +01:00
Charles-Edouard de la Vergne
9e7453e50a
Add more explanation on Seed mode usage 2024-02-28 10:24:58 +01:00
Charles-Edouard de la Vergne
91f6692e4b
Update version 2024-02-28 10:24:58 +01:00
Charles-Edouard de la Vergne
a36e567524
Re-align with latest Stax SDK update 2024-02-28 10:24:57 +01:00
Sarah Gliner
91cdd1f890 [auto] Update screenshot 2024-02-27 17:23:59 +01:00
Charles-Edouard de la Vergne
e95809c124
Merge pull request #94 from LedgerHQ/cev/B2CA-969_clean-and-port-stax
B2CA-969: clean and port stax
2024-02-16 13:51:27 +01:00
Charles-Edouard de la Vergne
0908c34e7e
Refactor documentation
- Align README with default Boilerplate content
- Update README with Tests and Documentation details
- README few formatting
- Update OpenPGP Specifications to 3.3
- Update the Developer and User documentations (formatting, rewritting, adding new elements...)
- PDF generation of both Developer and User documents
- Provide patch file to update CCID driver with correct Ledger device Ids
- Use the renamed app-openpgp
2024-02-16 11:12:50 +01:00
Charles-Edouard de la Vergne
f08271326d
Add pre-commit config 2024-02-14 09:29:18 +01:00
Charles-Edouard de la Vergne
438cabfb78
Add CI workflows 2024-02-14 09:29:18 +01:00
Charles-Edouard de la Vergne
a227475192
Add Manual Tests
- Helper script to ease the command to
  - Generate keys
  - Encrypt / Decrypt
  - Sign / Verify
2024-02-14 09:29:18 +01:00
Charles-Edouard de la Vergne
eab32ad7af
Add Unit Tests 2024-02-14 09:29:17 +01:00
Charles-Edouard de la Vergne
6b9018483e
Add ragger tests 2024-02-14 09:29:17 +01:00
Charles-Edouard de la Vergne
2a7f9eee30
Refactoring python cli tools 2024-02-14 09:29:17 +01:00
Charles-Edouard de la Vergne
c63b28aa21
Update App icons 2024-02-14 09:29:16 +01:00
Charles-Edouard de la Vergne
09d1e9509e
Stax with future nbgl_useCaseKeypad (compilation flag) 2024-02-14 09:29:16 +01:00
Charles-Edouard de la Vergne
60bb907f28
Add Stax support 2024-02-14 09:29:16 +01:00
Charles-Edouard de la Vergne
6d66b739c6
PRODUCT: Update SEED mode management
- Set SEED mode On at startup
- Add a warning if the user disables it
2024-02-14 09:29:15 +01:00
Charles-Edouard de la Vergne
1eda5785e7
PRODUCT: Update PIN modes management
- Remove support of "On Host"
- Add warnning message if user select "Trust"
2024-02-14 09:29:15 +01:00
Charles-Edouard de la Vergne
56c0ece628
PRODUCT: Remove deprecated RSA1024 2024-02-14 09:29:15 +01:00
Charles-Edouard de la Vergne
9f3130e88b
PRODUCT: Change Key slots management
- Only a single slot for "Nanos"
- 3 slots for other platforms
- No more Variants to manage, only OpenPGP is a valid App Name
2024-02-14 09:29:14 +01:00
Charles-Edouard de la Vergne
f336a1988f
Code bugfix
- Fix APDU Set Slot to refresh the current key slot
- Fix Manage Security Environment bad parameter
- Fix set offset in APDU buffer (io buffers)
- Fix ui_info empty string
- Fix Nanos Main menu bad display
2024-02-14 09:29:14 +01:00
Charles-Edouard de la Vergne
4257be08b5
Code refactoring
- Update and cleanup error codes
- Add constant defines
- Fix Select missing tag
- Add missing General Feature Management Tag
- Syntax and formatting
- Remove TRY/CATCH
- Cleanup THROW/return statements
- Remove usuless goto
- improve readability
- Use ledger_assert
- Improve popup messages
- Remove flag GPG_SHAKE256; same code for all devices
- Optimize PIN counter write and correct return code
- Cleanup ux code
  - Factorization
  - Add indication in About menu for debug build
  - Use global label constants
2024-02-14 09:29:14 +01:00