Commit Graph

154 Commits

Author SHA1 Message Date
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
Charles-Edouard de la Vergne
ce190aa9c1
Activate Standard App Files; Add App manifest 2024-02-14 09:29:13 +01:00
Charles-Edouard de la Vergne
bebae9bfa9
Use the latest SDK
- Update the Makefile
- Fix glyphs and use those from sdk
- Remove hardcoded files
2024-02-14 09:29:07 +01:00
Charles-Edouard de la Vergne
e8e46d7990
Fix crypto deprecated warnings 2024-01-08 17:21:07 +01:00
Charles-Edouard de la Vergne
1b7e959b1b
Fix scan-build issues 2024-01-08 17:21:07 +01:00
Charles-Edouard de la Vergne
d72445db42
Remove aplha channel from icons 2024-01-08 17:21:07 +01:00
Charles-Edouard de la Vergne
91714aac94
Fix linter output and formatting 2024-01-08 17:20:43 +01:00
Alexandre Paillier
8f03f2378f
Fixed unused variable warnings 2023-10-17 16:08:46 +02:00
Alexandre Paillier
719d5d2a62
Now non-LNS devices only have one full OpenPGP app 2023-10-17 16:08:03 +02:00
Alexandre Paillier
7f6abae529
Removed Blue specific code 2023-10-17 16:08:03 +02:00
Alexandre Paillier
9ec1fb2bc0
Simplify LNS-specific checks 2023-10-17 16:08:02 +02:00
Alexandre Paillier
eaaaa04aae
Fix excess elements in struct initializer warnings 2023-10-17 16:08:02 +02:00
Alexandre Paillier
ee371daaef
Fix implicit cast warnings 2023-10-17 16:07:59 +02:00
Alexandre Paillier
3c54f1d289
Fixed use of deprecated os_ prefixed functions 2023-10-17 15:32:47 +02:00
xchapron-ledger
19153d0c2c
Merge pull request #92 from LedgerHQ/xch/fix-build
Fix build following HAVE_LOCAL_APDU_BUFFER_FEATURE SDK cherry-pick and add CI
2023-10-10 18:00:09 +02:00
Xavier Chapron
63e4ab8a6a
CI: Add basic CI workflow 2023-10-10 17:57:37 +02:00
Xavier Chapron
6d38d5374f
src: sdk: usbd_impl.c: Fix build now that HAVE_LOCAL_APDU_BUFFER_FEATURE is enabled for all device 2023-10-10 17:43:14 +02:00
xchapron-ledger
191b7234e4
Merge pull request #90 from LedgerHQ/xch/fix-include-build-issue
Makefile.rules: Fix missing INCLUDES_PATH for new SDK
2023-10-04 13:30:02 +02:00
Xavier Chapron
bd112ee6e9
Makefile.rules: Fix missing INCLUDES_PATH for new SDK 2023-10-04 11:48:50 +02:00
xchapron-ledger
c276956459
Merge pull request #87 from LedgerHQ/xch/fix-build-with-new-sdk
src: sdk.c: usbd_impl.c: Fix build with new SDK which changed the prototype of USBD_HID_DataOut_impl
2023-05-24 16:24:00 +02:00
Xavier Chapron
a476fa0413
src: sdk.c: usbd_impl.c: Fix build with new SDK which changed the prototype of USBD_HID_DataOut_impl 2023-05-22 17:27:01 +02:00
cbouvet-ledger
f75fb92a33
Merge pull request #86 from LedgerHQ/unified-sdk-fixes
Unified sdk fixes
2023-02-15 17:52:18 +01:00
Clement Bouvet
d44db2d127 Makefile.rules: fix paths 2023-02-15 17:50:48 +01:00
Clement Bouvet
d6f1fa698e .gitignore: ignore build folder 2023-02-15 17:50:37 +01:00
cbouvet-ledger
c29e6e2eff
Merge pull request #85 from LedgerHQ/unified-sdk
Unified sdk
2023-02-15 16:57:02 +01:00
Edouard Merle
0106be021f add: target files to the include files 2023-02-15 16:45:59 +01:00
Edouard Merle
59c4316d03 add: usb descriptor for lns+ 2023-02-15 16:45:59 +01:00
Edouard Merle
58c53a930e add: rsa4096 key generation on lnx/lns+ 2023-02-15 16:45:59 +01:00
Edouard Merle
660b9b667d fix: build for lns+ 2023-02-15 16:45:59 +01:00
Edouard Merle
5897a5ecdc remove shake256 calls 2023-02-15 16:45:59 +01:00
Edouard Merle
36af24fbe6 bump version to 1.4.4 2023-02-15 16:45:59 +01:00
Edouard Merle
1934f6d467 adding .gitignore 2023-02-15 16:45:59 +01:00
greenknot
c2acb69ce7 update Makefile.rules to build .S files 2023-02-15 16:45:59 +01:00
Edouard Merle
5aa623c103 adding info param in sign pso 2023-02-15 16:45:59 +01:00
Edouard Merle
36a650bdac removing cxng sources from the app 2023-02-15 16:45:59 +01:00
Edouard Merle
7640bf76a6 updating local Makefile.rules file 2023-02-15 16:45:59 +01:00