Development

This commit is contained in:
Matthew Grotke 2026-05-21 09:43:08 -04:00
parent efbd21cb59
commit cc2f57aa83
3 changed files with 3 additions and 3 deletions

View file

@ -73,7 +73,7 @@ def _generate_wg_keypair():
def _server_pubkey(iface):
"""Read the server public key written by core.py --apply."""
try:
with open(f'{CONFIGS_DIR}/.wg-{iface}.pub') as f:
with open(f'{CONFIGS_DIR}/.{iface}.pub') as f:
return f.read().strip()
except OSError:
return None