From af53a610bb2d3553537cebeb145b202e523ed320 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Fri, 2 Jul 2021 19:29:52 +0200 Subject: [PATCH] use bundlewrap-pass for human-used passwords --- nodes.py | 1 + nodes/htz/ex42-1048908.py | 4 ++-- requirements.txt | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index bf369b5..c84b08d 100644 --- a/nodes.py +++ b/nodes.py @@ -1,6 +1,7 @@ from os.path import join from pathlib import Path +import bwpass from bundlewrap.metadata import atomic for node in Path(join(repo_path, "nodes")).rglob("*.py"): diff --git a/nodes/htz/ex42-1048908.py b/nodes/htz/ex42-1048908.py index e8d00a8..3c696b6 100644 --- a/nodes/htz/ex42-1048908.py +++ b/nodes/htz/ex42-1048908.py @@ -404,7 +404,7 @@ nodes['htz.ex42-1048908'] = { }, 'radicale': { 'users': { - 'kunsi': vault.decrypt('encrypt$gAAAAABgJ3tp1DTK0ssglKSsHxlf7p3soDtdSPpgBqyABcHTFGPdnb7ym1an7WXK7idWhx1Tyqf_CLL0IcoMPPoOR-sgzGQJBKXKhPtib6JoPjCzAUphmbo='), + 'kunsi': bwpass.password('dav.kunsmann.eu/kunsi'), }, }, 'rspamd': { @@ -437,7 +437,7 @@ nodes['htz.ex42-1048908'] = { '217.197.80.134', '2001:bf0:c000:a::2:134', }, - 'password': vault.decrypt('encrypt$gAAAAABfp7qzym32R6Go1A6oax0NGQM7EBMckbEbnZC6-RSKx-klSJsL57XbSUTD-AJM-gBIPzlmor-3bfVxPWLRYXtO8uTVw6jNQ1yt15ReHkOTijVqV2ACk-LTDBG3p4YKBn0pQgNvvjXhWV_J1-Pgjywbl4sHXc0zqjCGZ6xtEn6ywj0Pd599JJjREF4QCIFVZVWuKvo1'), + 'password': bwpass.password('rspamd.mx0.kunbox.net'), }, 'smartd': { 'disks': { diff --git a/requirements.txt b/requirements.txt index 59ffaf0..39bf1dc 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ bundlewrap>=4.9.0 PyNaCl +bundlewrap-pass