1ff58adcef
clan-cli: Add validity check for age key generation
buildbot/nix-build .#checks.x86_64-linux.package-docs Build done.
buildbot/nix-build .#checks.x86_64-linux.lib-jsonschema-nix-unit-tests Build done.
buildbot/nix-build .#checks.x86_64-linux.package-tea-create-pr Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotier-members Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zerotierone Build done.
buildbot/nix-build .#checks.x86_64-linux.package-zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.package-moonlight-sunshine-accept Build done.
buildbot/nix-build .#checks.x86_64-linux.package-pending-reviews Build done.
buildbot/nix-build .#checks.x86_64-linux.package-function-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.postgresql Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.package-module-schema Build done.
buildbot/nix-build .#checks.x86_64-linux.nixos-flash-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.secrets Build done.
buildbot/nix-build .#checks.x86_64-linux.package-iso-installer Build done.
buildbot/nix-build .#checks.x86_64-linux.template-minimal Build done.
buildbot/nix-build .#checks.x86_64-linux.zt-tcp-relay Build done.
buildbot/nix-build .#checks.x86_64-linux.wayland-proxy-virtwl Build done.
buildbot/nix-build .#checks.x86_64-linux.syncthing Build done.
buildbot/nix-build .#checks.x86_64-linux.devShell-clan-app Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-without-core Build done.
buildbot/nix-build .#checks.x86_64-linux.package-webview-ui Build done.
buildbot/nix-build .#checks.x86_64-linux.package-clan-app Build done.
buildbot/nix-build .#checks.x86_64-linux.package-gui-install-test-ubuntu-22-04 Build done.
buildbot/nix-build .#checks.x86_64-linux.clan-pytest-with-core Build done.
buildbot/nix-build .#checks.x86_64-linux.test-backups Build done.
checks / checks-impure (pull_request) Successful in 2m13s
buildbot/nix-build .#checks.x86_64-linux.flash Build done.
buildbot/nix-build .#checks.x86_64-linux.test-installation Build done.
buildbot/nix-eval Build done.
2024-06-21 15:07:53 +02:00
b5653c169b
sops: fix setting secret from pipe
checks / checks-impure (pull_request) Successful in 2m12s
checks / checks (pull_request) Successful in 4m56s
2024-04-30 14:04:49 +02:00
5606101ce8
sops: also log content type on error
2024-04-30 13:56:07 +02:00
cf67de2f69
secrets: ensure all added/deleted files get committed
checks / checks-impure (pull_request) Successful in 2m12s
checks / checks (pull_request) Successful in 4m49s
2024-04-24 17:26:32 +07:00
0fa36252c2
re-encrypt secrets after rotating users/machines keys
checks / check-links (pull_request) Successful in 13s
checks / checks-impure (pull_request) Successful in 1m53s
checks / checks (pull_request) Successful in 4m5s
2024-03-25 12:34:29 +01:00
cd9db02db0
add hint to use --force when a key already exists
2024-03-25 11:06:20 +01:00
11bf0b8b9e
clan-cli sops: accept bytes
checks / check-links (pull_request) Successful in 21s
checks / checks-impure (pull_request) Successful in 1m56s
checks / checks (pull_request) Successful in 2m46s
2024-03-03 09:25:40 +01:00
b358089488
sops: unbreak edit flags
checks-impure / test (pull_request) Successful in 1m56s
checks / test (pull_request) Successful in 2m49s
2024-02-20 11:07:00 +01:00
1a6983e031
cmd.py refactor part 6
2024-01-12 17:02:56 +01:00
1496f45fe2
prefix nixpkgs# explicitly in nix_shell
...
checks-impure / test (pull_request) Successful in 1m27s
checks / test (pull_request) Successful in 2m3s
This makes the function usage less confusing (you can now tell from the call side what are flags and what is passed to nix-shell) and allows to use different flakes to download packages.
2023-12-08 15:14:14 +01:00
d0362bb757
error if age key cannot be decoded
2023-11-30 10:57:58 +01:00
f1b223d0a1
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
7b3d3e20b4
clan-cli secrets: flake_name -> flake_dir
checks / test (pull_request) Successful in 46s
checks-impure / test (pull_request) Successful in 1m26s
2023-11-05 16:58:48 +01:00
d02acbe04b
nix fmt
2023-10-27 19:19:45 +02:00
8cc1c2c4bd
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
2ca54afe7f
Added new type FlakeName
2023-10-27 19:18:45 +02:00
32e60f5adc
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
2023-10-27 19:15:40 +02:00
b2ef8bf1a3
also test that updating a group works
2023-10-03 16:15:36 +00:00
486ff4e7f4
age: generate private and public key in one go
2023-09-21 17:22:20 +02:00
17af763ad1
add edit flag to secret cli
checks-impure / test (pull_request) Successful in 6s
checks / test (pull_request) Successful in 51s
2023-09-13 10:52:03 +02:00
ae3283a762
clan/secrets: fix if user/machine directory does not contain a key.json
2023-09-07 12:30:29 +02:00
e6762d8b3f
sops: add explicit commands to generate secrets
checks-impure / test (pull_request) Successful in 6s
checks / test (pull_request) Successful in 49s
2023-09-07 11:41:20 +02:00
9b3bfd6950
secrets: improve error messages
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 19s
2023-08-29 16:20:39 +02:00
63bb9395fd
automatically import secrets into nixos
2023-08-23 13:59:43 +02:00
c2ff6acef4
sops: pass empty manifest when decrypting
build / test (pull_request) Successful in 28s
2023-08-10 12:08:17 +02:00
68905fc233
don't add user to a secret if they already can access the secret
...
build / test (pull_request) Failing after 21s
If the user is part of a group we don't need to add them explicitly
2023-08-09 10:17:30 +02:00
35f2d6a76e
add dummy sops manifest
build / test (pull_request) Successful in 20s
2023-08-08 16:40:32 +02:00
1d1452ddd5
add import-sops command to secrets
build / test (pull_request) Successful in 21s
2023-08-08 15:48:19 +02:00
0533948085
fix rotating keys with sops
build / test (push) Successful in 8s
2023-08-08 13:44:15 +02:00
ae4f36ecf9
clan-cli/sops: rename add_key to write_key
build / test (push) Successful in 12s
2023-08-03 14:58:51 +02:00
54e9d4427c
fix cirular import
2023-08-03 11:07:17 +02:00
dab483339a
test list/remove secret
2023-08-02 12:00:32 +00:00
658c76336f
add secrets integration
...
clan-cli: also depend on age for secrets
2023-08-02 09:19:14 +00:00