Commit Graph

425 Commits

Author SHA1 Message Date
Jean-Michel Picod
a73837cb59 Fix undefined term in Github workflows 2020-02-24 19:31:37 +01:00
Jean-Michel Picod
b18d3097a3 Fix cargo workflow 2020-02-24 19:28:14 +01:00
Jean-Michel Picod
ac800aa5d2 Fix typo and pylint 2020-02-24 19:25:57 +01:00
Jean-Michel Picod
949e06ce51 Rename workflows 2020-02-24 19:22:04 +01:00
Jean-Michel Picod
ca40818eb6 Fix markdownlint warnings 2020-02-24 19:21:12 +01:00
Jean-Michel Picod
40d5121d0b Remove paths to check workflows. 2020-02-24 19:11:15 +01:00
Jean-Michel Picod
80096529ad Fix YAML syntax 2020-02-24 19:04:09 +01:00
Jean-Michel Picod
feacd72d6e Add Github workflows
These should do the checks for us.
Not an expert though so it may need a bit of tweaking before they do
what we want them to do.
2020-02-24 19:00:51 +01:00
Jean-Michel Picod
292da30cad Merge pull request #51 from jmichelp/master
Configure pylint for Google's Python style.
2020-02-24 18:54:33 +01:00
Jean-Michel
d11887de76 Add missing new line... 2020-02-24 15:50:50 +01:00
Jean-Michel
f4d60cf342 Fix configuration about missing newline 2020-02-24 15:45:11 +01:00
Jean-Michel
e9f69170e4 Configure pylint for Google's Python style.
Adding pylint configuration, VSCode configuration to lint on save and
make the deploy.py script compliant.
2020-02-21 17:41:40 +01:00
Jean-Michel Picod
cb13ff6962 Merge pull request #49 from jmichelp/master
Fix errors in deploy script.
2020-02-21 15:28:42 +01:00
Jean-Michel
8ad28efa5b Fix errors in deploy script. 2020-02-21 14:42:34 +01:00
Jean-Michel Picod
36f2530af6 Merge pull request #48 from jmichelp/master
Document troubleshooting on OS X
2020-02-21 14:08:07 +01:00
Jean-Michel
a5c0ea054d Document troubleshooting on OS X 2020-02-21 11:57:11 +01:00
Jean-Michel Picod
00222a4976 Merge pull request #46 from jmichelp/fix-openssl
Better handling of OpenSSL generated keys.
2020-02-20 17:58:12 +01:00
Jean-Michel Picod
ed6f408063 Address comments on pull-request 2020-02-20 17:09:08 +01:00
Jean-Michel Picod
5d9383376b Merge branch 'master' into fix-openssl 2020-02-20 16:32:46 +01:00
Jean-Michel Picod
dfc0663324 Merge pull request #45 from jmichelp/master
Improve deploy script.
2020-02-20 16:32:30 +01:00
Jean-Michel Picod
6c363981c4 Better handling of OpenSSL generated keys.
It seems that ECC keys generated by OpenSSL can be between 30 and 33
bytes long whereas OpenSK code expects a fixed size of 32 bytes.
This variation could cause Travis CI to fail but also invalid ECC keys
to be flashed, causing the authenticator to not work.
2020-02-20 15:32:37 +01:00
Jean-Michel Picod
f345a75302 Add Microsoft Python extension to allow code formatting, linting,... 2020-02-20 15:09:40 +01:00
Jean-Michel Picod
557eebab2c Improve deploy script.
- Check that JLinkExe in properly installed
- Verify that the app is installed
- Always report failures in the exit code
- Add vscode settings for Python code formatting using Google style
- Fix issue #42 regarding tockloader version and sticky parameter
2020-02-20 11:36:44 +01:00
Jean-Michel Picod
ef414bc2cb Merge pull request #39 from google/gendx-patch-1
Add troubleshooting instructions.
2020-02-19 16:58:29 +01:00
Jean-Michel Picod
76aaea0333 Merge branch 'master' into gendx-patch-1 2020-02-19 16:16:03 +01:00
Jean-Michel Picod
7fda4c6435 Merge pull request #40 from jmichelp/master
Replace shell script with a python3 script
2020-02-19 16:15:30 +01:00
Jean-Michel Picod
1128a66e94 Fix typo 2020-02-19 15:43:13 +01:00
Jean-Michel Picod
5082e23e65 Revert a minor change 2020-02-19 15:22:27 +01:00
gendx
9aab5520f7 Merge pull request #41 from google/gendx-patch-2
Fix review comments for #39
2020-02-19 15:22:11 +01:00
gendx
0bd7a97057 Fix review comments. 2020-02-19 14:21:08 +01:00
Jean-Michel Picod
992ffbbef3 Check for JLinkExe in path 2020-02-19 11:50:52 +01:00
gendx
a0d3696e7d Add troobleshooting instructions. 2020-02-19 11:38:13 +01:00
Jean-Michel Picod
7d421d3ae0 Replace shell script with a python3 script.
Updated the shell script that generates the certificates and the
documentation accordingly.
Caveat: now installation is a 2-step procedure, installing OS and
application are split into 2 commands.
2020-02-19 11:34:43 +01:00
gendx
51f201653c Merge pull request #26 from gendx/no-spin-allocator
Don't lock the allocator with spin.
2020-02-19 10:33:24 +01:00
gendx
124bce5d49 Merge branch 'master' into no-spin-allocator 2020-02-18 17:37:58 +01:00
kaczmarczyck
702b88ef66 Merge pull request #38 from kaczmarczyck/document-working-device
Mentions webauthn.io at the end of install.md.
2020-02-18 17:11:36 +01:00
Fabian Kaczmarczyck
ddba62a45d Mentions webauthn.io at the end of install.md. 2020-02-18 16:09:22 +01:00
gendx
e830a27e33 Merge branch 'master' into no-spin-allocator 2020-02-17 11:37:23 +01:00
Julien Cretin
53b46ce6d5 Add instructions to re-run setup.sh 2020-02-10 11:30:45 +01:00
Julien Cretin
796261d538 Check that rustup and pip3 are installed
Fixes #25
2020-02-09 16:30:23 +01:00
gendx
8ca00ed792 Merge branch 'master' into no-spin-allocator 2020-02-07 15:09:45 +01:00
gendx
06f6ea9466 Merge pull request #23 from gendx/update-ring
Update the ring dev dependency version.
2020-02-07 15:05:53 +01:00
Guillaume Endignoux
2817ca0e20 Don't lock the allocator with spin. 2020-02-07 14:59:54 +01:00
gendx
edfa0268ca Merge branch 'master' into update-ring 2020-02-07 14:44:53 +01:00
gendx
d8c29b7ef1 Merge pull request #18 from gendx/ref-include-bytes
Don't dereference slices obtained from include_bytes.
2020-02-06 16:53:35 +01:00
Jean-Michel Picod
fa9fc3bb28 Merge pull request #22 from jmichelp/master
Fix run_desktop_tests.sh script
2020-02-06 16:52:24 +01:00
gendx
3d6d390f4f Merge pull request #20 from gendx/features-crypto-bench
Pass features to crypto bench example.
2020-02-06 16:46:15 +01:00
Guillaume Endignoux
9c23c36996 Update the ring dev dependency version. 2020-02-06 16:43:32 +01:00
Jean-Michel Picod
5bd7863c4d Fix run_desktop_tests.sh script
The script begins with `set -eux` and therefore will fail when using an
undefined variable. This is the case with `TRAVIS_OS_NAME` outside of
Travis.
2020-02-06 16:34:34 +01:00
Guillaume Endignoux
f452b2dee2 Fix Bash syntax. 2020-02-06 16:07:41 +01:00