- Mar 02, 2020
-
-
Jean-Michel Picod authored
Because of libtock-rs we can't run clippy on our codebase. But it could run at least on `build.rs`.
-
- Feb 20, 2020
-
-
Jean-Michel Picod authored
-
Jean-Michel Picod authored
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.
-
- Feb 06, 2020
-
-
Jean-Michel Picod authored
-
- Feb 05, 2020
-
-
Jean-Michel Picod authored
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.
-