Skip to content

Commit

Permalink
RustCrypto dependency updates; MSRV 1.47+
Browse files Browse the repository at this point in the history
Updates the following dependencies:
- `des` v0.7
- `elliptic-curve` v0.9
- `hmac` v0.11
- `pbkdf2` v0.8
- `p256` v0.8
- `p384` v0.7
  • Loading branch information
tony-iqlusion committed Apr 30, 2021
1 parent 1ad17bb commit eca843e
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 68 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
toolchain: stable
deps: true
- platform: ubuntu-latest
toolchain: 1.46.0 # MSRV
toolchain: 1.47.0 # MSRV
deps: sudo apt-get install libpcsclite-dev
- platform: windows-latest
toolchain: 1.46.0 # MSRV
toolchain: 1.47.0 # MSRV
deps: true
- platform: macos-latest
toolchain: 1.46.0 # MSRV
toolchain: 1.47.0 # MSRV
deps: true
runs-on: ${{ matrix.platform }}
steps:
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.46.0 # MSRV
toolchain: 1.47.0 # MSRV
components: clippy
override: true
- run: sudo apt-get install libpcsclite-dev
Expand Down
119 changes: 62 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ maintenance = { status = "experimental" }
chrono = "0.4"
cookie-factory = "0.3"
der-parser = "5"
des = "0.6"
elliptic-curve = "0.8"
des = "0.7"
elliptic-curve = "0.9"
getrandom = "0.1"
hmac = "0.10"
hmac = "0.11"
log = "0.4"
nom = "6"
num-bigint-dig = { version = "0.7", features = ["rand"], package = "num-bigint-dig" }
num-traits = "0.2"
num-integer = "0.1"
pbkdf2 = { version = "0.7", default-features = false }
p256 = "0.7"
p384 = "0.6"
pbkdf2 = { version = "0.8", default-features = false }
p256 = "0.8"
p384 = "0.7"
pcsc = "2"
rsa = "0.4"
secrecy = "0.7"
Expand Down
2 changes: 1 addition & 1 deletion src/mgm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use crate::{
TAG_ADMIN_FLAGS_1, TAG_ADMIN_SALT, TAG_PROTECTED_MGM,
};
use des::{
cipher::{generic_array::GenericArray, BlockCipher, NewBlockCipher},
cipher::{generic_array::GenericArray, BlockDecrypt, BlockEncrypt, NewBlockCipher},
TdesEde3,
};
#[cfg(feature = "untested")]
Expand Down

0 comments on commit eca843e

Please sign in to comment.