Skip to content
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

Bump to pre-releases #170

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 2 additions & 2 deletions .github/workflows/aucpace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.61 # MSRV
- 1.72 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -42,7 +42,7 @@ jobs:
strategy:
matrix:
rust:
- 1.61 # MSRV
- 1.72 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spake2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- 1.72.0 # MSRV
- stable
target:
- thumbv7em-none-eabi
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
rust:
- 1.60.0 # MSRV
- 1.72.0 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/srp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.61 # MSRV
- 1.72 # MSRV
- stable
steps:
- uses: actions/checkout@v4
Expand Down
110 changes: 53 additions & 57 deletions Cargo.lock

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

10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ members = [

[profile.dev]
opt-level = 2

[patch.crates-io]
curve25519-dalek = { git = "https://github.com/baloo/curve25519-dalek.git", branch = "baloo/rust-crypto/digest-sha2-bumps" }

# https://github.com/RustCrypto/password-hashes/pull/497
scrypt = { git = "https://github.com/RustCrypto/password-hashes.git" }

# https://github.com/RustCrypto/stream-ciphers/pull/345
# https://github.com/RustCrypto/stream-ciphers/pull/346
salsa20 = { git = "https://github.com/RustCrypto/stream-ciphers.git" }
18 changes: 9 additions & 9 deletions aucpace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ categories = ["cryptography", "authentication"]
exclude = [".gitignore"]
readme = "README.md"
edition = "2021"
rust-version = "1.61"
rust-version = "1.72"

[dependencies]
curve25519-dalek = { version = "4", default-features = false, features = [
curve25519-dalek = { version = "=4.2.0-pre", default-features = false, features = [
"digest",
"rand_core",
] }
password-hash = { version = "0.5", default-features = false, features = [
password-hash = { version = "=0.6.0-pre.0", default-features = false, features = [
"rand_core",
] }
rand_core = { version = "0.6", default-features = false }
Expand All @@ -28,19 +28,19 @@ serde = { version = "1.0.184", default-features = false, optional = true, featur
] }
serde-byte-array = { version = "0.1", optional = true }
subtle = { version = "2.4", default-features = false }
scrypt = { version = "0.11", default-features = false, optional = true, features = [
scrypt = { version = "=0.12.0-pre.0", default-features = false, optional = true, features = [
"simple",
] }
sha2 = { version = "0.10", default-features = false, optional = true }
sha2 = { version = "=0.11.0-pre.3", default-features = false, optional = true }

[dev-dependencies]
bincode = "1"
curve25519-dalek = { version = "4", features = ["digest", "rand_core"] }
password-hash = { version = "0.5", features = ["rand_core"] }
curve25519-dalek = { version = "=4.2.0-pre", features = ["digest", "rand_core"] }
password-hash = { version = "=0.6.0-pre.0", features = ["rand_core"] }
postcard = "1"
rand_core = "0.6"
scrypt = { version = "0.11", features = ["simple"] }
sha2 = "0.10"
scrypt = { version = "=0.12.0-pre.0", features = ["simple"] }
sha2 = "=0.11.0-pre.3"

[features]
default = ["scrypt", "sha2", "getrandom"]
Expand Down
4 changes: 2 additions & 2 deletions aucpace/examples/key_agreement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ fn main() -> Result<()> {
let server_key: Output<Sha512> = server_thread.join().unwrap().unwrap();
assert_eq!(client_key, server_key);
println!(
"Negotiation finished, both parties arrived at a key of: {:X}",
client_key
"Negotiation finished, both parties arrived at a key of: {:X?}",
client_key.as_slice()
);
println!(
"Client sent {} bytes total",
Expand Down
4 changes: 2 additions & 2 deletions aucpace/examples/key_agreement_no_std.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ fn main() -> Result<()> {
// assert that both threads arrived at the same key
assert_eq!(client_key, server_key);
println!(
"Negotiation finished, both parties arrived at a key of: {:X}",
client_key
"Negotiation finished, both parties arrived at a key of: {:X?}",
client_key.as_slice()
);

println!("Client sent {} bytes total", client_bytes_sent);
Expand Down
4 changes: 2 additions & 2 deletions aucpace/examples/key_agreement_partial_aug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ fn main() -> Result<()> {
let server_key: Output<Sha512> = server_thread.join().unwrap().unwrap();
assert_eq!(client_key, server_key);
println!(
"Negotiation finished, both parties arrived at a key of: {:X}",
client_key
"Negotiation finished, both parties arrived at a key of: {:X?}",
client_key.as_slice()
);
println!(
"Client sent {} bytes total",
Expand Down
Loading
Loading