Skip to content
Open
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
1,298 changes: 718 additions & 580 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion aead/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ aes-gcm = "^0.10.3"
aes-gcm-siv = "^0.11.1"
chacha20poly1305 = "^0.10"
ctr = "^0.9.2"
generic-array = "^0.14.7"
generic-array = "=0.14.7"
tink-core = "^0.3"
tink-mac = "^0.3"
tink-proto = "^0.3"
6 changes: 3 additions & 3 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ digest = "^0.10.7"
hkdf = "^0.12.4"
lazy_static = "^1.5"
rand = "^0.8"
serde = { version = "^1.0.203", features = ["derive"], optional = true }
serde = { version = "^1.0.228", features = ["derive"], optional = true }
serde_json = { version = "^1.0.145", optional = true }
sha-1 = "^0.10.1"
sha2 = "^0.10.8"
subtle = "^2.4"
sha2 = "^0.10.9"
subtle = "^2.6"
tink-proto = "^0.3"

[package.metadata.docs.rs]
Expand Down
2 changes: 1 addition & 1 deletion examples/streaming/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ license = "Apache-2.0"
publish = false

[dependencies]
tempfile = "^3.3"
tempfile = "^3.23"
tink-core = "^0.3"
tink-streaming-aead = "^0.3"
2 changes: 1 addition & 1 deletion examples/streaming/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const CHUNK_SIZE: usize = 20;
const PT: &[u8] = b"This is a long string that will be written in chunks to the encrypting writer. It needs to be longer than several of the CHUNK_SIZE chunks, so that there are multiple write operations demonstrated";

fn main() -> Result<(), Box<dyn Error>> {
let dir = tempfile::tempdir()?.into_path();
let dir = tempfile::tempdir()?.keep();
let ct_filename = dir.join("ciphertext.bin");

tink_streaming_aead::init();
Expand Down
2 changes: 1 addition & 1 deletion integration/awskms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ categories = ["cryptography"]
rust-version = "1.78.0"

[dependencies]
csv = "^1.3.1"
csv = "^1.4.0"
hex = "^0.4.3"
regex = "^1.12.2"
rusoto_core = "^0.48"
Expand Down
2 changes: 1 addition & 1 deletion integration/gcpkms/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ base64 = "^0.22"
chrono = "^0.4"
futures = "^0.3"
http = "^0.2"
hyper = { version = "^0.14.20", features = ["client", "http1", "http2"] }
hyper = { version = "^0.14.32", features = ["client", "http1", "http2"] }
hyper-rustls = "^0.22.1"
lazy_static = "^1.5"
percent-encoding = "^2.3"
Expand Down
2 changes: 1 addition & 1 deletion prf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ digest = "^0.10.7"
hkdf = "^0.12.4"
hmac = { version = "^0.12.1", features = ["reset"] }
sha-1 = "^0.10.1"
sha2 = "^0.10.8"
sha2 = "^0.10.9"
tink-core = "^0.3"
tink-proto = "^0.3"
2 changes: 1 addition & 1 deletion proto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ json = ["base64", "serde"]
[dependencies]
base64 = { version = "^0.22", optional = true }
prost = "^0.14"
serde = { version = "^1.0.203", features = ["derive"], optional = true }
serde = { version = "^1.0.228", features = ["derive"], optional = true }

[build-dependencies]
prost-build = "^0.14"
Expand Down
2 changes: 1 addition & 1 deletion signature/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.78.0"
[dependencies]
ecdsa = { version = "^0.16.9", features = ["der", "signing", "verifying"] }
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
generic-array = "^0.14.7"
generic-array = "=0.14.7"
p256 = { version = "^0.13.2", features = ["ecdsa"] }
rand = "^0.8"
signature = "^2.2"
Expand Down
2 changes: 1 addition & 1 deletion streaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This crate provides streaming authenticated encryption with additional data func
[embedmd]:# (../examples/streaming/src/main.rs Rust /fn main/ /^}/)
```Rust
fn main() -> Result<(), Box<dyn Error>> {
let dir = tempfile::tempdir()?.into_path();
let dir = tempfile::tempdir()?.keep();
let ct_filename = dir.join("ciphertext.bin");

tink_streaming_aead::init();
Expand Down
4 changes: 2 additions & 2 deletions testing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ categories = ["cryptography"]
publish = false

[dependencies]
env_logger = "^0.10.1"
futures = "^0.3.30"
env_logger = "^0.10.2"
futures = "^0.3.31"
log = "^0.4.29"
prost = "^0.14"
structopt = "^0.3.26"
Expand Down
8 changes: 4 additions & 4 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ publish = false

[dependencies]
base64 = "^0.22"
ed25519-dalek = { version = "2.1.1", features = ["rand_core"] }
generic-array = "^0.14.7"
ed25519-dalek = { version = "2.2.0", features = ["rand_core"] }
generic-array = "=0.14.7"
hex = "^0.4.3"
p256 = { version = "^0.13.2", features = ["ecdsa", "pkcs8"] }
rand = "^0.8"
regex = "^1.12.2"
serde = { version = "^1.0.203", features = ["derive"] }
serde = { version = "^1.0.228", features = ["derive"] }
serde_json = "^1.0.145"
tink-core = { version = "^0.3", features = ["insecure", "json"] }
tink-aead = "^0.3"
Expand All @@ -33,7 +33,7 @@ hex = "^0.4.3"
lazy_static = "^1.5"
maplit = "^1.0.2"
num-bigint = "^0.4.6"
tempfile = "^3.3"
tempfile = "^3.23"
tink-aead = "^0.3"
tink-awskms = "^0.3"
tink-daead = "^0.3"
Expand Down
4 changes: 2 additions & 2 deletions tests/tests/streaming/integration_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use tink_tests::SharedBuf;
#[test]
fn example() {
tink_streaming_aead::init();
let dir = tempfile::tempdir().unwrap().into_path();
let dir = tempfile::tempdir().unwrap().keep();
let src_filename = dir.join("plaintext.src");
let ct_filename = dir.join("ciphertext.bin");
let dst_filename = dir.join("plaintext.dst");
Expand Down Expand Up @@ -197,7 +197,7 @@ fn streaming_partial_reads() {
let pt = get_random_bytes(20_000);
let aad = get_random_bytes(100);

let dir = tempfile::tempdir().unwrap().into_path();
let dir = tempfile::tempdir().unwrap().keep();
let src_filename = dir.join("plaintext.src");
let ct_filename = dir.join("ciphertext.bin");
let dst_filename = dir.join("plaintext.dst");
Expand Down
Loading