1279 Commits

Author SHA1 Message Date
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
Guillaume Endignoux
a845b813cd Update arrayref version in libraries/crypto. 2020-02-04 11:26:25 +01:00
Jean-Michel Picod
d85b081a2a Merge pull request #5 from jmichelp/issue_4
Adding missing shebang
2020-02-03 16:09:48 +01:00
Jean-Michel
ad3a016eee Adding missing shebang 2020-01-31 21:02:09 +01:00
Jean-Michel Picod
f91d2fd3db Initial commit 2020-01-30 11:47:29 +01:00