Skip to content

Commit

Permalink
downgrade minimum rust version and update secure-env
Browse files Browse the repository at this point in the history
Signed-off-by: Berend Sliedrecht <[email protected]>
  • Loading branch information
Berend Sliedrecht committed May 7, 2024
1 parent 00a6339 commit 14e492f
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ jobs:
needs: [checks]

env:
RUST_VERSION: "1.68"
RUST_VERSION: "1.67"
FEATURES: "mobile_secure_element"

runs-on: ubuntu-latest
Expand Down
75 changes: 50 additions & 25 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ readme = "README.md"
repository = "https://github.com/hyperledger/aries-askar/"
categories = ["cryptography", "database"]
keywords = ["hyperledger", "aries", "ssi", "verifiable", "credentials"]
rust-version = "1.68"
rust-version = "1.67"

[package.metadata.docs.rs]
features = ["all_backends"]
Expand Down
4 changes: 2 additions & 2 deletions askar-crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
repository = "https://github.com/hyperledger/aries-askar/"
categories = ["cryptography", "no-std"]
keywords = ["hyperledger", "aries", "didcomm", "ssi"]
rust-version = "1.68"
rust-version = "1.67"

[package.metadata.docs.rs]
features = ["argon2", "std"]
Expand Down Expand Up @@ -101,7 +101,7 @@ p384 = { version = "0.13", default-features = false, features = [
"ecdh",
], optional = true }
rand = { version = "0.8", default-features = false }
secure-env = { package = "animo-secure-env", version = "0.2", optional = true }
secure-env = { package = "animo-secure-env", version = "0.2.1", optional = true }
serde = { version = "1.0", default-features = false, features = ["derive"] }
serde-json-core = { version = "0.5", default-features = false }
sha2 = { version = "0.10", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions askar-crypto/src/alg/p256_hardware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl From<SecureEnvError> for Error {
#[cfg(target_os = "android")]
SecureEnvError::UnableToCreateJavaValue(_) => ErrorKind::Custom,
#[cfg(target_os = "android")]
SecureEnvError::UnableToAttachHJVMToThread(_) => ErrorKind::Custom,
SecureEnvError::UnableToAttachJVMToThread(_) => ErrorKind::Custom,
};

Self {
Expand All @@ -44,7 +44,7 @@ impl From<SecureEnvError> for Error {
}

/// A P-256 (secp256r1) public key and reference to secret key stored in hardware
#[derive(Clone, Debug)]
#[derive(Debug)]
pub struct P256HardwareKeyPair(P256HardwareKeyReference);

impl P256HardwareKeyPair {
Expand Down

0 comments on commit 14e492f

Please sign in to comment.