Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
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