mirror of
https://github.com/CloudNebulaProject/vm-manager.git
synced 2026-04-10 13:20:41 +00:00
libssh2 cannot handle all OpenSSH private key formats (e.g. passphrase- protected or newer ed25519 keys), causing auth failures. Instead of referencing the user's ~/.ssh keys, generate a fresh Ed25519 keypair at resolve time when the VMFile omits ssh-key and private-key. The public key is injected into cloud-init and the private PEM is persisted to the VM's work directory so that provision, reload, and ssh commands can reuse it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
39 lines
943 B
TOML
39 lines
943 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/vm-manager", "crates/vmctl"]
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
license = "MPL-2.0"
|
|
rust-version = "1.85"
|
|
|
|
[workspace.dependencies]
|
|
tokio = { version = "1", features = [
|
|
"rt-multi-thread",
|
|
"macros",
|
|
"signal",
|
|
"fs",
|
|
"io-util",
|
|
"io-std",
|
|
"process",
|
|
"net",
|
|
"time",
|
|
] }
|
|
miette = { version = "7", features = ["fancy"] }
|
|
thiserror = "2"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
reqwest = { version = "0.12", default-features = false, features = [
|
|
"rustls-tls-native-roots",
|
|
"stream",
|
|
] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
uuid = { version = "1", features = ["v4", "serde"] }
|
|
tempfile = "3"
|
|
futures-util = "0.3"
|
|
zstd = "0.13"
|
|
dirs = "6"
|
|
kdl = "6"
|
|
ssh-key = { version = "0.6", features = ["ed25519", "rand_core", "getrandom"] }
|