Skip to content

Increase the MSRV to 1.53.0 #535

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .cargo/audit.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[advisories]
ignore = ["RUSTSEC-2021-0073", # We do not use `prost_types::Timestamp` anywhere in our code.
"RUSTSEC-2020-0036"] # We don't have control over the exact dependencies of `protoc-grpcio`; See https://github.com/mtp401/protoc-grpcio/issues/36
ignore = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

informational_warnings = ["unmaintained"] # warn for categories of informational advisories
severity_threshold = "low" # CVSS severity ("none", "low", "medium", "high", "critical")

Expand Down Expand Up @@ -28,4 +27,4 @@ source = "all" # "all", "public" or "local"

[yanked]
enabled = true # Warn for yanked crates in Cargo.lock
update_index = true # Auto-update the crates.io index
update_index = true # Auto-update the crates.io index
27 changes: 13 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,19 @@ jobs:
# When running the container built on the CI
# run: docker run -v $(pwd):/tmp/parsec -w /tmp/parsec -t parsec-service-test-all /tmp/parsec/ci.sh cryptoauthlib --no-stress-test

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

cross-compilation:
# Currently only the Mbed Crypto, PKCS 11, and TPM providers are tested as the other ones need to cross-compile other libraries.
Expand Down
31 changes: 15 additions & 16 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,21 @@ on:
default: ""

jobs:
# Disabled due to the issue discussed in https://github.com/parallaxsecond/parsec/issues/514
# dependencies:
# name: Check for unused dependencies
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# with:
# ref: "${{ github.event.inputs.rev }}"
# - name: Install latest Rust
# uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly
# - name: Install cargo udeps
# run: cargo install cargo-udeps --locked
# - name: Execute cargo udeps
# run: cargo +nightly udeps
dependencies:
name: Check for unused dependencies
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "${{ github.event.inputs.rev }}"
- name: Install latest Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Install cargo udeps
run: cargo install cargo-udeps --locked
- name: Execute cargo udeps
run: cargo +nightly udeps

audit:
name: Check for crates with security vulnerabilities
Expand Down
Loading