From de66ba821b2851cb23bcc7b064e84de3dd848e26 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 29 Jul 2022 14:36:50 +0200 Subject: VPN on sif --- hosts/surtr/vpn/default.nix | 2 +- hosts/surtr/vpn/sif.priv | 26 ++++++++++++++++++++++++++ hosts/surtr/vpn/sif.pub | 1 + 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 hosts/surtr/vpn/sif.priv create mode 100644 hosts/surtr/vpn/sif.pub (limited to 'hosts/surtr/vpn') diff --git a/hosts/surtr/vpn/default.nix b/hosts/surtr/vpn/default.nix index fab5adab..9d003f23 100644 --- a/hosts/surtr/vpn/default.nix +++ b/hosts/surtr/vpn/default.nix @@ -64,7 +64,7 @@ in { AllowedIPs = ["${prefix6}:${toString ip}::/96" "${prefix4}.${toString ip}/32"]; PublicKey = trim (readFile (./. + "/${name}.pub")); }; - }) [ { name = "geri"; } ]; + }) [ { name = "geri"; } { name = "sif"; } ]; }; }; diff --git a/hosts/surtr/vpn/sif.priv b/hosts/surtr/vpn/sif.priv new file mode 100644 index 00000000..30a08fcc --- /dev/null +++ b/hosts/surtr/vpn/sif.priv @@ -0,0 +1,26 @@ +{ + "data": "ENC[AES256_GCM,data:bN70hyAcbemZJToTbQ50UnmRWx1HyBBrD0TFXlyNWzcKD1TPMUofoaDac6Gt,iv:JY0/+C+6r7LEiL2zhveRha4DLwLedjTGJBvuxVnyxmM=,tag:ICBbYk0P44BySLryNEswBw==,type:str]", + "sops": { + "kms": null, + "gcp_kms": null, + "azure_kv": null, + "hc_vault": null, + "age": null, + "lastmodified": "2022-07-29T12:15:02Z", + "mac": "ENC[AES256_GCM,data:MQFmmdTgHlwYplUt51VdMUAnezhypB0Yh0PW5LX4L0lsF0/qlHofRXvqHYI6sx21r8UuTjvLIZ+7LSo8px2wELDol77ufh1zxSDBdbGq6J2ITPEMtmqIXwGJQKweEBr4B4H4mxoiIVQUgNj5TxzxhL7KTm+sVi1uCqTcJjnSY5o=,iv:YJ1GuHd3I4QaJxSJitLrUagaBth1jcQNlIAIahiOCgs=,tag:pcFpscLzTe1egToIzcZh8Q==,type:str]", + "pgp": [ + { + "created_at": "2022-07-29T12:15:02Z", + "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4DXxoViZlp6dISAQdAmyIyOWJBhIOV4q1b/e2SQdDJuN+feiBQKvYxXPUICyUw\nZ4+HZhYYxERG5FC6fH0dK2UDuL2lSzda8YPwCaVYnvjBGHef7fe+8VvVIGZw+Ymc\n0lwBlA/MBCoUXTVAIxySC3yBpqHu0lPZsLExjlKYWuikvKYC4tkre6MgYhQOiAAz\nM5rlatVv3NC978MeoLjlqYz5kZqIfo8OBllPGMG0ig1q8ZiECrWion03e8MyUQ==\n=TJ+U\n-----END PGP MESSAGE-----\n", + "fp": "30D3453B8CD02FE2A3E7C78C0FB536FB87AE8F51" + }, + { + "created_at": "2022-07-29T12:15:02Z", + "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4Dgwm4NZSaLAcSAQdAdTUxSzzwhgyqWg+wtBDJDOllNljRAel4HSuEEfBs9Wsw\nFa6AQYYnQl4XbE4TRQzJ3iqymVDDpQ5RbF/EWhSV2391VmAXznl6VT5u5+8mdbQh\n0lwBcsjy3BnPAFbnQWaYe6MTZocnCSi1Q+YOVKzHYBiAkbKiJMmbnGKIgBmrAa2j\n4Gv+bYCTm8gnmqvXQbVPe9sU9Vaiv9geMj1SQ3YaWe0lOXIpIRvjg8+9WjuDlQ==\n=xVuX\n-----END PGP MESSAGE-----\n", + "fp": "F1AF20B9511B63F681A14E8D51AEFBCD1DEF68F8" + } + ], + "unencrypted_suffix": "_unencrypted", + "version": "3.7.3" + } +} \ No newline at end of file diff --git a/hosts/surtr/vpn/sif.pub b/hosts/surtr/vpn/sif.pub new file mode 100644 index 00000000..e7e9ce76 --- /dev/null +++ b/hosts/surtr/vpn/sif.pub @@ -0,0 +1 @@ +Qd+HB0OlcaD9kZL7edfgjVjZN9th5AQRo55NVwZsqU4= -- cgit v1.2.3