Commit Graph

312 Commits

Author SHA1 Message Date
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
Jean-Michel Picod
8cbffc5ead Merge pull request #21 from jmichelp/master
Enable Travis on OSX
2020-02-06 16:00:18 +01:00
Guillaume Endignoux
cab6f0c139 Add a comma_separated function to avoid duplicated code. 2020-02-06 15:52:13 +01:00
Jean-Michel Picod
06e5f1dbf1 Run unit tests also outside of travis 2020-02-06 15:31:11 +01:00
Jean-Michel Picod
95a8fe7d3f Enable Travis on OSX
Only do the build/link check. The unit tests are only ran on linux.
2020-02-06 15:13:21 +01:00
gendx
d0a525860e Merge pull request #19 from gendx/tune-tests-travis
Decrease the number of tests in debug mode, to account for slower CI on Travis
2020-02-06 14:20:51 +01:00
Guillaume Endignoux
5951e0397f Pass features to crypto bench example. 2020-02-06 14:15:34 +01:00
Guillaume Endignoux
b162b690ba Decrease the number of tests in debug mode, to account for slower CI on Travis. 2020-02-06 13:41:18 +01:00
Guillaume Endignoux
56acc4b73a Don't dereference slices obtained from include_bytes. 2020-02-06 13:28:28 +01:00
Jean-Michel Picod
f5ed8a09f6 Merge pull request #14 from jmichelp/master
Change the way private key and cert are embedded.
2020-02-06 11:55:37 +01:00
Jean-Michel Picod
130aec165d Revert python3-crcmod install
Python3 on Travis is old (3.5) so crcmod is installed by pip anyway.
2020-02-06 10:59:09 +01:00
Jean-Michel Picod
3eef0ec859 Package python3-wheel was also missing on Travis. 2020-02-06 10:52:47 +01:00
Jean-Michel Picod
3ae0337fda Install system python3-crcmod on Travis.
Python3-setuptools seems old and installing crcmod (dependency from
tockloader) from pip fails because of this. Installing from the system
package manager should solve the problem.
2020-02-06 10:38:05 +01:00
Jean-Michel Picod
83eec6394f Merge pull request #16 from superderon/patch-1
Update install.md
2020-02-06 10:35:04 +01:00