add: flatpak checking functionality

This commit is contained in:
a-kenji
2024-04-01 10:29:47 +02:00
parent cddb2bb0ac
commit 16c4074735
4 changed files with 21 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ class SopsKey:
def get_public_key(privkey: str) -> str:
cmd = nix_shell(["nixpkgs#age"], ["age-keygen", "-y"])
print(cmd)
try:
res = subprocess.run(
cmd, input=privkey, stdout=subprocess.PIPE, text=True, check=True