fix: FIPS env var name, remove broken NostrVPN CMD
Some checks failed
Build Archipelago ISO (dev) / build-iso (push) Has been cancelled

- 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:
Dorian
2026-04-07 14:17:23 +01:00
parent b07bf574ef
commit dc6496e693

View File

@@ -834,18 +834,15 @@ pub(super) async fn get_app_config(
vec!["/var/lib/archipelago/nostr-vpn:/root/.config/nvpn".to_string()],
env,
None,
Some(vec![
"start".to_string(),
"--daemon".to_string(),
]),
None,
)
}
"fips" => {
let nsec = read_nostr_secret_hex();
let mut env = vec![];
if !nsec.is_empty() {
env.push(format!("FIPS_NOSTR_SECRET={}", nsec));
env.push(format!("FIPS_NOSTR_PUBKEY={}", read_nostr_pubkey_hex()));
env.push(format!("FIPS_NSEC={}", nsec));
env.push(format!("FIPS_NPUB={}", read_nostr_pubkey_hex()));
}
(
vec![