Fix audit[skip travis]
@@ -9,8 +9,13 @@ which cargo-audit
ret=$?
if [ "${ret}" -ne 0 ]; then
echo "[Info_] Install Security Audit."
- cargo install cargo-audit
+ # TODO: remove this version restriction after upgrade rustc version to 1.36+
+ cargo install cargo-audit --version 0.7.0
fi
echo "[Info_] Run Security Audit."
-cargo audit
+# TODO: Remove these ignore crates
+# RUSTSEC-2016-0005: rust-crypto
+# RUSTSEC-2019-0026: sodiumoxide
+# RUSTSEC-2019-0027: libsecp256k1
+cargo audit --ignore RUSTSEC-2016-0005 --ignore RUSTSEC-2019-0026 --ignore RUSTSEC-2019-0027
