Skip to content

Commit 63318b3

Browse files
committed
Increase the MSRV to 1.53.0
Also upgrades the prost and spiffe version to remove cargo audit vulnerabilities. Removes the ignored ones. Un-comment the CI checks that were commented before. Signed-off-by: Hugues de Valon <[email protected]>
1 parent 7c87d3b commit 63318b3

File tree

7 files changed

+219
-397
lines changed

7 files changed

+219
-397
lines changed

.cargo/audit.toml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[advisories]
2-
ignore = ["RUSTSEC-2021-0073", # We do not use `prost_types::Timestamp` anywhere in our code.
3-
"RUSTSEC-2020-0036"] # We don't have control over the exact dependencies of `protoc-grpcio`; See https://github.com/mtp401/protoc-grpcio/issues/36
2+
ignore = []
43
informational_warnings = ["unmaintained"] # warn for categories of informational advisories
54
severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical")
65

@@ -28,4 +27,4 @@ source = "all" # "all", "public" or "local"
2827

2928
[yanked]
3029
enabled = true # Warn for yanked crates in Cargo.lock
31-
update_index = true # Auto-update the crates.io index
30+
update_index = true # Auto-update the crates.io index

.github/workflows/ci.yml

+13-14
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,19 @@ jobs:
9696
# When running the container built on the CI
9797
# run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-all /tmp/parsec/ci.sh cryptoauthlib --no-stress-test
9898

99-
# Disabled due to the issue discussed in https://github.com/parallaxsecond/parsec/issues/514
100-
# fuzz-test-checker:
101-
# name: Check that the fuzz testing framework is still working
102-
# runs-on: ubuntu-latest
103-
# steps:
104-
# - uses: actions/checkout@v2
105-
# # Use the following step when updating the `parsec-service-test-all` image
106-
# # - name: Build the container
107-
# # run: pushd e2e_tests/docker_image && docker build -t parsec-service-test-all -f parsec-service-test-all.Dockerfile . && popd
108-
# - name: Run the fuzz test script
109-
# # Not running stress tests because rust-cryptoauthlib test-interface does not support required calls
110-
# run: ./fuzz.sh test
111-
# # When running the container built on the CI
112-
# # run: CONTAINER_TAG=parsec-service-test-all ./fuzz.sh test
99+
fuzz-test-checker:
100+
name: Check that the fuzz testing framework is still working
101+
runs-on: ubuntu-latest
102+
steps:
103+
- uses: actions/checkout@v2
104+
# Use the following step when updating the `parsec-service-test-all` image
105+
# - name: Build the container
106+
# run: pushd e2e_tests/docker_image && docker build -t parsec-service-test-all -f parsec-service-test-all.Dockerfile . && popd
107+
- name: Run the fuzz test script
108+
# Not running stress tests because rust-cryptoauthlib test-interface does not support required calls
109+
run: ./fuzz.sh test
110+
# When running the container built on the CI
111+
# run: CONTAINER_TAG=parsec-service-test-all ./fuzz.sh test
113112

114113
cross-compilation:
115114
# Currently only the Mbed Crypto, PKCS 11, and TPM providers are tested as the other ones need to cross-compile other libraries.

.github/workflows/nightly.yml

+15-16
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,21 @@ on:
1212
default: ""
1313

1414
jobs:
15-
# Disabled due to the issue discussed in https://github.com/parallaxsecond/parsec/issues/514
16-
# dependencies:
17-
# name: Check for unused dependencies
18-
# runs-on: ubuntu-latest
19-
# steps:
20-
# - uses: actions/checkout@v2
21-
# with:
22-
# ref: "${{ github.event.inputs.rev }}"
23-
# - name: Install latest Rust
24-
# uses: actions-rs/toolchain@v1
25-
# with:
26-
# toolchain: nightly
27-
# - name: Install cargo udeps
28-
# run: cargo install cargo-udeps --locked
29-
# - name: Execute cargo udeps
30-
# run: cargo +nightly udeps
15+
dependencies:
16+
name: Check for unused dependencies
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
ref: "${{ github.event.inputs.rev }}"
22+
- name: Install latest Rust
23+
uses: actions-rs/toolchain@v1
24+
with:
25+
toolchain: nightly
26+
- name: Install cargo udeps
27+
run: cargo install cargo-udeps --locked
28+
- name: Execute cargo udeps
29+
run: cargo +nightly udeps
3130

3231
audit:
3332
name: Check for crates with security vulnerabilities

0 commit comments

Comments
 (0)