Import and export have to be reachable before the Profiles screen exists, and a headless command is also how the round trip gets tested against a real client installation without any of its data entering the repository. The listing prints nothing but the nickname, the unique id and the security level: all three are public — servers see them — while everything else in an identity is the private key. `--dry-run` reads and stores nothing. `list` comes along because `export <id>` is unusable without a way to learn the id. Prove the imported key pair is whole rather than merely parseable: the clients' format carries the public point next to the private scalar and `Identity` keeps only the scalar, so signing a nonce and verifying it with the key derived from that scalar shows the two halves belong together. The same check runs over a real database when `VOELIN_IDENTITY_IMPORT_CHECK` points at one, which keeps that verification repeatable without committing a fixture that could only come from someone's own identities. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
43 lines
1.7 KiB
TOML
43 lines
1.7 KiB
TOML
[package]
|
|
name = "voelinctl"
|
|
version = "0.1.0"
|
|
description = "Headless command-line client for TeamSpeak 3/6 servers, used for development and integration tests."
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow = "1"
|
|
base64 = "0.22"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
dirs = "6"
|
|
futures = "0.3"
|
|
md5 = "0.8"
|
|
png = "0.18"
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["io-std", "io-util", "macros", "rt-multi-thread", "signal", "time"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
# `unstable`: the raw connection, for the command log of `probe-stream`.
|
|
tsclientlib = { path = "../../crates/proto/tsclientlib", features = ["unstable"] }
|
|
tsproto = { path = "../../crates/proto/tsproto" }
|
|
tsproto-packets = { path = "../../crates/proto/tsproto-packets" }
|
|
voelin-model = { path = "../../crates/voelin-model" }
|
|
voelin-query = { path = "../../crates/voelin-query" }
|
|
voelin-observer = { path = "../../crates/voelin-observer" }
|
|
# The client database (`identity import`/`export`) and where it lives.
|
|
voelin-store = { path = "../../crates/voelin-store" }
|
|
voelin-platform = { path = "../../crates/voelin-platform", default-features = false }
|
|
voelin-audio = { path = "../../crates/voelin-audio", default-features = false }
|
|
# The stream media pipeline (capture, VP8, decoding), without audio devices.
|
|
voelin-core = { path = "../../crates/voelin-core", default-features = false, features = ["media-desktop"] }
|
|
voelin-stream = { path = "../../crates/voelin-stream" }
|
|
tokio-tungstenite = "0.30"
|
|
futures-util = "0.3.34"
|
|
voelin-gateway-proto = { path = "../../crates/voelin-gateway-proto" }
|
|
|
|
[lints]
|
|
workspace = true
|