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:
@@ -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![
|
||||
|
||||
Reference in New Issue
Block a user