mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
This improves the secret handling inside `firezone-cli` by using the `rpassword` crate to hide the token from stdin and using `secrecy` to zeroize the memory afterwards. To make it easier to test locally, we add a dry run mode for local testing, hidden behind the `FZ_DRY_RUN` env variable.
21 lines
553 B
TOML
21 lines
553 B
TOML
[package]
|
|
name = "firezone-cli"
|
|
version = "1.0.0"
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
description = "CLI for managing Firezone installations"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true, features = ["derive"] }
|
|
rpassword = { workspace = true }
|
|
secrecy = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
nix = { workspace = true, features = ["user"] }
|
|
|
|
[lints]
|
|
workspace = true
|