fix: FIPS env var name, remove broken NostrVPN CMD
- FIPS container expects FIPS_NSEC/FIPS_NPUB, not FIPS_NOSTR_SECRET - NostrVPN container doesn't have a 'start' binary — use image default Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
b07bf574ef
commit
dc6496e693
@ -834,18 +834,15 @@ pub(super) async fn get_app_config(
|
|||||||
vec!["/var/lib/archipelago/nostr-vpn:/root/.config/nvpn".to_string()],
|
vec!["/var/lib/archipelago/nostr-vpn:/root/.config/nvpn".to_string()],
|
||||||
env,
|
env,
|
||||||
None,
|
None,
|
||||||
Some(vec![
|
None,
|
||||||
"start".to_string(),
|
|
||||||
"--daemon".to_string(),
|
|
||||||
]),
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
"fips" => {
|
"fips" => {
|
||||||
let nsec = read_nostr_secret_hex();
|
let nsec = read_nostr_secret_hex();
|
||||||
let mut env = vec![];
|
let mut env = vec![];
|
||||||
if !nsec.is_empty() {
|
if !nsec.is_empty() {
|
||||||
env.push(format!("FIPS_NOSTR_SECRET={}", nsec));
|
env.push(format!("FIPS_NSEC={}", nsec));
|
||||||
env.push(format!("FIPS_NOSTR_PUBKEY={}", read_nostr_pubkey_hex()));
|
env.push(format!("FIPS_NPUB={}", read_nostr_pubkey_hex()));
|
||||||
}
|
}
|
||||||
(
|
(
|
||||||
vec![
|
vec![
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user