diff wireguard.py @ 115:8012f6095220

update to current configs
author drewp@bigasterisk.com
date Sun, 30 Oct 2022 14:19:46 -0700
parents 9b7d7ea79f16
children db8787bd800e
line wrap: on
line diff
--- a/wireguard.py	Sat Oct 29 21:34:50 2022 -0700
+++ b/wireguard.py	Sun Oct 30 14:19:46 2022 -0700
@@ -46,7 +46,8 @@
         priv_key = priv_key_lines[0].split(' = ')[1]
 
     pub_key = subprocess.check_output(['wg', 'pubkey'], input=priv_key.encode('ascii')).strip().decode('ascii')
-    # todo: if this was new, it should be added to a file of pubkeys that peer_block can refer to
+    # todo: if this was new, it should be added to a file of pubkeys that
+    # peer_block can refer to. meanwhile, edit the template.
 
     files.template(
         src=f'templates/wireguard/{wireguard_interface}.conf.j2',