-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from LedgerHQ/develop
Align master with P1
- Loading branch information
Showing
104 changed files
with
53 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Checklist | ||
<!-- Put an `x` in each box when you have completed the items. --> | ||
- [ ] App update process has been followed <!-- See comment below --> | ||
- [ ] Target branch is `develop` <!-- unless you have a very good reason --> | ||
- [ ] Application version has been bumped <!-- required if your changes are to be deployed --> | ||
|
||
<!-- Make sure you followed the process described in https://developers.ledger.com/docs/device-app/deliver/maintenance before opening your Pull Request. | ||
Don't hesitate to contact us directly on Discord if you have any questions ! https://developers.ledger.com/discord --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[app] | ||
build_directory = "./" | ||
sdk = "C" | ||
devices = ["nanos", "nanox", "nanos+", "stax"] | ||
|
||
[tests] | ||
unit_directory = "./tests/unit-tests/" | ||
pytest_directory = "./tests/speculos/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
ragger[tests,speculos]>=1.7.0 | ||
pytest>=6.1.1,<7.0.0 | ||
cryptography>=3.3.1,<4.0.0 | ||
fido2==1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
[flake8] | ||
ignore = C0114, # missing-module-docstring | ||
C0115, # missing-class-docstring | ||
C0116, # missing-function-docstring | ||
C0103, # invalid-name | ||
R0801, # duplicate-code | ||
R0913, # too-many-arguments | ||
ignore = | ||
# missing-module-docstring | ||
C114, | ||
# missing-class-docstring | ||
C115, | ||
# missing-function-docstring | ||
C116, | ||
# invalid-name | ||
C103, | ||
# duplicate-code | ||
R801, | ||
# too-many-arguments | ||
R913, | ||
max-line-length = 100 |
Binary file modified
BIN
+5 Bytes
(100%)
tests/speculos/snapshots/nanos/test_u2f_screens_idle/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...s/snapshots/nanosp/test_u2f_screens_fido_known_list/log/25_Slush Pool/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...s/snapshots/nanosp/test_u2f_screens_fido_known_list/log/25_Slush Pool/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...culos/snapshots/nanosp/test_u2f_screens_fido_known_list/log/26_Stripe/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...culos/snapshots/nanosp/test_u2f_screens_fido_known_list/log/26_Stripe/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(99%)
...s/snapshots/nanosp/test_u2f_screens_fido_known_list/reg/25_Slush Pool/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(99%)
...s/snapshots/nanosp/test_u2f_screens_fido_known_list/reg/25_Slush Pool/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(99%)
...culos/snapshots/nanosp/test_u2f_screens_fido_known_list/reg/26_Stripe/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(99%)
...culos/snapshots/nanosp/test_u2f_screens_fido_known_list/reg/26_Stripe/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4 Bytes
(100%)
tests/speculos/snapshots/nanosp/test_u2f_screens_idle/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...os/snapshots/nanox/test_u2f_screens_fido_known_list/log/25_Slush Pool/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...os/snapshots/nanox/test_u2f_screens_fido_known_list/log/25_Slush Pool/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...eculos/snapshots/nanox/test_u2f_screens_fido_known_list/log/26_Stripe/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2 Bytes
(100%)
...eculos/snapshots/nanox/test_u2f_screens_fido_known_list/log/26_Stripe/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(99%)
...os/snapshots/nanox/test_u2f_screens_fido_known_list/reg/25_Slush Pool/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-6 Bytes
(99%)
...os/snapshots/nanox/test_u2f_screens_fido_known_list/reg/25_Slush Pool/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(99%)
...eculos/snapshots/nanox/test_u2f_screens_fido_known_list/reg/26_Stripe/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3 Bytes
(99%)
...eculos/snapshots/nanox/test_u2f_screens_fido_known_list/reg/26_Stripe/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+4 Bytes
(100%)
tests/speculos/snapshots/nanox/test_u2f_screens_idle/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+136 Bytes
(100%)
tests/speculos/snapshots/stax/test_authenticate_ok/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+136 Bytes
(100%)
tests/speculos/snapshots/stax/test_authenticate_user_refused/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+158 Bytes
(100%)
tests/speculos/snapshots/stax/test_register_user_refused/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+344 Bytes
(100%)
.../speculos/snapshots/stax/test_u2f_screens_fido_known_list/log/0_Apple/00000.png
Oops, something went wrong.
Binary file modified
BIN
+70 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/log/10_Dropbox/00000.png
Oops, something went wrong.
Binary file modified
BIN
+234 Bytes
(100%)
...s/speculos/snapshots/stax/test_u2f_screens_fido_known_list/log/11_Duo/00000.png
Oops, something went wrong.
Binary file modified
BIN
-49 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/log/12_Facebook/00000.png
Oops, something went wrong.
Binary file modified
BIN
+241 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/log/13_FastMail/00000.png
Oops, something went wrong.
Binary file modified
BIN
+341 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/14_Fedora/00000.png
Oops, something went wrong.
Binary file modified
BIN
+300 Bytes
(100%)
...speculos/snapshots/stax/test_u2f_screens_fido_known_list/log/15_Gandi/00000.png
Oops, something went wrong.
Binary file modified
BIN
+582 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/16_Github/00000.png
Oops, something went wrong.
Binary file modified
BIN
+324 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/17_GitHub/00000.png
Oops, something went wrong.
Binary file modified
BIN
+239 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/18_GitLab/00000.png
Oops, something went wrong.
Binary file modified
BIN
+144 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/19_Google/00000.png
Oops, something went wrong.
Binary file modified
BIN
+81 Bytes
(100%)
...speculos/snapshots/stax/test_u2f_screens_fido_known_list/log/1_Amazon/00000.png
Oops, something went wrong.
Binary file modified
BIN
+118 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/20_Google/00000.png
Oops, something went wrong.
Binary file modified
BIN
+167 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/21_Keeper/00000.png
Oops, something went wrong.
Binary file modified
BIN
+280 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/22_Kraken/00000.png
Oops, something went wrong.
Binary file modified
BIN
+201 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/log/23_LastPass/00000.png
Oops, something went wrong.
Binary file modified
BIN
+224 Bytes
(100%)
...ulos/snapshots/stax/test_u2f_screens_fido_known_list/log/24_Microsoft/00000.png
Oops, something went wrong.
Binary file modified
BIN
+404 Bytes
(100%)
...los/snapshots/stax/test_u2f_screens_fido_known_list/log/25_Slush Pool/00000.png
Oops, something went wrong.
Binary file modified
BIN
+354 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/26_Stripe/00000.png
Oops, something went wrong.
Binary file modified
BIN
+309 Bytes
(100%)
...snapshots/stax/test_u2f_screens_fido_known_list/log/27_u2f.bin.coffee/00000.png
Oops, something went wrong.
Binary file modified
BIN
+337 Bytes
(100%)
...hots/stax/test_u2f_screens_fido_known_list/log/28_webauthn.bin.coffee/00000.png
Oops, something went wrong.
Binary file modified
BIN
+378 Bytes
(100%)
...os/snapshots/stax/test_u2f_screens_fido_known_list/log/29_WebAuthn.io/00000.png
Oops, something went wrong.
Binary file modified
BIN
+156 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/2_Binance/00000.png
Oops, something went wrong.
Binary file modified
BIN
+414 Bytes
(100%)
...os/snapshots/stax/test_u2f_screens_fido_known_list/log/30_WebAuthn.me/00000.png
Oops, something went wrong.
Binary file modified
BIN
+321 Bytes
(100%)
...napshots/stax/test_u2f_screens_fido_known_list/log/31_demo.yubico.com/00000.png
Oops, something went wrong.
Binary file modified
BIN
+509 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/3_Binance/00000.png
Oops, something went wrong.
Binary file modified
BIN
+218 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/log/4_Bitbucket/00000.png
Oops, something went wrong.
Binary file modified
BIN
+260 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/log/5_Bitfinex/00000.png
Oops, something went wrong.
Binary file modified
BIN
+392 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/log/6_Bitwarden/00000.png
Oops, something went wrong.
Binary file modified
BIN
+150 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/log/7_Coinbase/00000.png
Oops, something went wrong.
Binary file modified
BIN
+246 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/log/8_Dashlane/00000.png
Oops, something went wrong.
Binary file modified
BIN
-103 Bytes
(99%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/log/9_Dropbox/00000.png
Oops, something went wrong.
Binary file modified
BIN
+367 Bytes
(100%)
.../speculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/0_Apple/00000.png
Oops, something went wrong.
Binary file modified
BIN
+87 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/10_Dropbox/00000.png
Oops, something went wrong.
Binary file modified
BIN
+249 Bytes
(100%)
...s/speculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/11_Duo/00000.png
Oops, something went wrong.
Binary file modified
BIN
-30 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/reg/12_Facebook/00000.png
Oops, something went wrong.
Binary file modified
BIN
+249 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/reg/13_FastMail/00000.png
Oops, something went wrong.
Binary file modified
BIN
+358 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/14_Fedora/00000.png
Oops, something went wrong.
Binary file modified
BIN
+319 Bytes
(100%)
...speculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/15_Gandi/00000.png
Oops, something went wrong.
Binary file modified
BIN
+598 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/16_Github/00000.png
Oops, something went wrong.
Binary file modified
BIN
+339 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/17_GitHub/00000.png
Oops, something went wrong.
Binary file modified
BIN
+255 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/18_GitLab/00000.png
Oops, something went wrong.
Binary file modified
BIN
+160 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/19_Google/00000.png
Oops, something went wrong.
Binary file modified
BIN
+101 Bytes
(100%)
...speculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/1_Amazon/00000.png
Oops, something went wrong.
Binary file modified
BIN
+132 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/20_Google/00000.png
Oops, something went wrong.
Binary file modified
BIN
+186 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/21_Keeper/00000.png
Oops, something went wrong.
Binary file modified
BIN
+296 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/22_Kraken/00000.png
Oops, something went wrong.
Binary file modified
BIN
+216 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/reg/23_LastPass/00000.png
Oops, something went wrong.
Binary file modified
BIN
+242 Bytes
(100%)
...ulos/snapshots/stax/test_u2f_screens_fido_known_list/reg/24_Microsoft/00000.png
Oops, something went wrong.
Binary file modified
BIN
+421 Bytes
(100%)
...los/snapshots/stax/test_u2f_screens_fido_known_list/reg/25_Slush Pool/00000.png
Oops, something went wrong.
Binary file modified
BIN
+360 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/26_Stripe/00000.png
Oops, something went wrong.
Binary file modified
BIN
+331 Bytes
(100%)
...snapshots/stax/test_u2f_screens_fido_known_list/reg/27_u2f.bin.coffee/00000.png
Oops, something went wrong.
Binary file modified
BIN
+356 Bytes
(100%)
...hots/stax/test_u2f_screens_fido_known_list/reg/28_webauthn.bin.coffee/00000.png
Oops, something went wrong.
Binary file modified
BIN
+394 Bytes
(100%)
...os/snapshots/stax/test_u2f_screens_fido_known_list/reg/29_WebAuthn.io/00000.png
Oops, something went wrong.
Binary file modified
BIN
+175 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/2_Binance/00000.png
Oops, something went wrong.
Binary file modified
BIN
+429 Bytes
(100%)
...os/snapshots/stax/test_u2f_screens_fido_known_list/reg/30_WebAuthn.me/00000.png
Oops, something went wrong.
Binary file modified
BIN
+343 Bytes
(100%)
...napshots/stax/test_u2f_screens_fido_known_list/reg/31_demo.yubico.com/00000.png
Oops, something went wrong.
Binary file modified
BIN
+529 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/3_Binance/00000.png
Oops, something went wrong.
Binary file modified
BIN
+236 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/reg/4_Bitbucket/00000.png
Oops, something went wrong.
Binary file modified
BIN
+278 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/5_Bitfinex/00000.png
Oops, something went wrong.
Binary file modified
BIN
+408 Bytes
(100%)
...culos/snapshots/stax/test_u2f_screens_fido_known_list/reg/6_Bitwarden/00000.png
Oops, something went wrong.
Binary file modified
BIN
+168 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/7_Coinbase/00000.png
Oops, something went wrong.
Binary file modified
BIN
+261 Bytes
(100%)
...eculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/8_Dashlane/00000.png
Oops, something went wrong.
Binary file modified
BIN
-83 Bytes
(100%)
...peculos/snapshots/stax/test_u2f_screens_fido_known_list/reg/9_Dropbox/00000.png
Oops, something went wrong.
Binary file modified
BIN
+4.3 KB
(160%)
tests/speculos/snapshots/stax/test_u2f_screens_idle/00000.png
Oops, something went wrong.
Binary file modified
BIN
-115 Bytes
(99%)
tests/speculos/snapshots/stax/test_u2f_screens_idle/00001.png
Oops, something went wrong.
Binary file modified
BIN
+4.3 KB
(160%)
tests/speculos/snapshots/stax/test_u2f_screens_idle/00002.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters