mirror of
https://github.com/VallierDev/uu-remote-linux.git
synced 2026-11-17 01:00:41 +01:00
webrtc-srtp 0.12.0 stored every sequence number and used a 100-packet window to guess the rollover counter. A NACK retransmission of a pre-wrap packet sent after the wrap (65000 after 85) rewound that state, so the next new packets were protected with ROC+1 and the viewer failed authentication on all of them: frozen video after the Windows viewer returned from the background. Vendor webrtc-srtp 0.12.0 with the RFC 3711 Appendix A half-space estimate and a high-water index that retransmissions cannot move back. Regression tests fail on upstream (65000 != 85) and pass with the fix for AES-CM/HMAC and AES-GCM. Co-authored-by: VallierDev <[email protected]> Co-authored-by: AYssu <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
101 lines
1.9 KiB
TOML
101 lines
1.9 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
name = "webrtc-srtp"
|
|
version = "0.12.0"
|
|
authors = ["Rain Liu <[email protected]>"]
|
|
description = "A pure Rust implementation of SRTP"
|
|
homepage = "https://webrtc.rs"
|
|
documentation = "https://docs.rs/webrtc-srtp"
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/webrtc-rs/srtp"
|
|
|
|
[[bench]]
|
|
name = "srtp_bench"
|
|
harness = false
|
|
|
|
[dependencies.aead]
|
|
version = "0.5"
|
|
features = ["std"]
|
|
|
|
[dependencies.aes]
|
|
version = "0.8"
|
|
|
|
[dependencies.aes-gcm]
|
|
version = "0.10"
|
|
features = ["std"]
|
|
|
|
[dependencies.byteorder]
|
|
version = "1"
|
|
|
|
[dependencies.bytes]
|
|
version = "1"
|
|
|
|
[dependencies.ctr]
|
|
version = "0.9"
|
|
|
|
[dependencies.hmac]
|
|
version = "0.12"
|
|
features = ["std"]
|
|
|
|
[dependencies.log]
|
|
version = "0.4"
|
|
|
|
[dependencies.openssl]
|
|
version = "0.10.57"
|
|
optional = true
|
|
|
|
[dependencies.rtcp]
|
|
version = "0.10.1"
|
|
|
|
[dependencies.rtp]
|
|
version = "0.10.0"
|
|
|
|
[dependencies.sha1]
|
|
version = "0.10"
|
|
|
|
[dependencies.subtle]
|
|
version = "2"
|
|
|
|
[dependencies.thiserror]
|
|
version = "1"
|
|
|
|
[dependencies.tokio]
|
|
version = "1.32.0"
|
|
features = ["full"]
|
|
|
|
[dependencies.util]
|
|
version = "0.8.1"
|
|
features = [
|
|
"conn",
|
|
"buffer",
|
|
"marshal",
|
|
]
|
|
default-features = false
|
|
package = "webrtc-util"
|
|
|
|
[dev-dependencies.criterion]
|
|
version = "0.5"
|
|
features = ["async_futures"]
|
|
|
|
[dev-dependencies.lazy_static]
|
|
version = "1"
|
|
|
|
[dev-dependencies.tokio-test]
|
|
version = "0.4"
|
|
|
|
[features]
|
|
openssl = ["dep:openssl"]
|
|
vendored-openssl = ["openssl/vendored"]
|