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
Jean-Michel Picod
a02cbd3c9e
Fix missing python setuptools package on Travis
2020-02-06 10:31:56 +01:00
Jean-Michel Picod
424d1e0be8
Rename "today" to "now" to reflects resolution is seconds.
2020-02-06 10:31:00 +01:00
Derry Pratama
c67cbdc9bc
Update install.md
...
Fixed the link for TC2050 Tag-Connect programming cable. The right cable that connect to the Tag-Connect TC2050 ARM2010 adapter is the TC2050-IDC-NL instead of TC2050-IDC-NL-050-ALL.
2020-02-06 12:49:53 +09:00
Jean-Michel Picod
035609ec23
Remove Linux distribution from Travis config.
...
Trusty is quite old and Xenial is the default. We should be fine not
giving any distribution. This will give us a more recent OpenSSL
version.
2020-02-05 19:27:55 +01:00
Jean-Michel Picod
fdbfb1be2a
Change the way private key and cert are embedded.
...
OpenSSL seems to serialize bigints as signed value, which means the ECC
key may end up being 33 bytes instead of the 32 bytes we're expecting,
causing build to fail.
The shell script extraction is now replaced by a build.rs script that
uses OpenSSL to extract the content and do sanity checks.
Forcing generating cryptographic materials now always generate a key and
a certificate (useful to compile/flash multiple keys without them being
considered as clones). The self-signed CA is left untouched.
2020-02-05 18:48:28 +01:00
gendx
55fe6cf94d
Merge pull request #10 from gendx/rust-toolchain
...
Bump rust-toolchain and linked-list-allocator versions.
2020-02-05 10:50:30 +01:00
gendx
3d3f3554b3
Merge pull request #8 from gendx/update-arrayref
...
Update arrayref version in libraries/crypto.
2020-02-04 17:18:50 +01:00
Guillaume Endignoux
2985c64454
Bump rust-toolchain and linked-list-allocator versions.
2020-02-04 17:05:07 +01:00