Jörg Thalheim
|
5b606c035f
|
move FlakeId to flake id
move FlakeId to flake id
|
2024-07-03 18:28:55 +02:00 |
|
Jörg Thalheim
|
b4698528ef
|
make machine class now a dataclass
|
2024-07-03 12:34:43 +02:00 |
|
a-kenji
|
0bd13727de
|
clan: add dynamic-completions to clan secrets set
|
2024-06-04 15:21:00 +02:00 |
|
a-kenji
|
addc4de735
|
clan: add more machine completion functions to secrets
|
2024-06-04 11:07:24 +02:00 |
|
a-kenji
|
31eca9e8bc
|
clan: add dyncamic completions for secrets
|
2024-06-03 21:47:14 +02:00 |
|
lassulus
|
578162425d
|
Revert "clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py."
This reverts commit ba86b49952.
|
2024-06-03 12:25:20 +02:00 |
|
Qubasa
|
ba86b49952
|
clan-cli: cmd.py uses pseudo terminal now. Remove tty.py. Refactor password_store.py to use cmd.py.
|
2024-06-02 16:52:31 +02:00 |
|
DavHau
|
cf67de2f69
|
secrets: ensure all added/deleted files get committed
|
2024-04-24 17:26:32 +07:00 |
|
Jörg Thalheim
|
0fa36252c2
|
re-encrypt secrets after rotating users/machines keys
|
2024-03-25 12:34:29 +01:00 |
|
lassulus
|
11bf0b8b9e
|
clan-cli sops: accept bytes
|
2024-03-03 09:25:40 +01:00 |
|
Jörg Thalheim
|
52fcc91479
|
Also commit files when adding machines/users or removing secrets
|
2024-02-22 16:12:11 +01:00 |
|
Jörg Thalheim
|
65d2a4e081
|
secrets: commit when renaming secrets
|
2024-02-22 15:59:12 +01:00 |
|
Jörg Thalheim
|
a1e2a4f64a
|
secret cli: accept a pattern in secrets list
|
2024-02-22 14:21:53 +01:00 |
|
Jörg Thalheim
|
77c84e7471
|
secrets: add git support when updating secrets
|
2024-02-20 12:41:52 +01:00 |
|
Jörg Thalheim
|
52c6ad548d
|
improve error message if group does not exists
|
2024-02-16 17:26:20 +01:00 |
|
lassulus
|
7b3d3e20b4
|
clan-cli secrets: flake_name -> flake_dir
|
2023-11-05 16:58:48 +01:00 |
|
Qubasa
|
d02acbe04b
|
nix fmt
|
2023-10-27 19:19:45 +02:00 |
|
Qubasa
|
8482bc79f6
|
Secrets tests passing. nix fmt doesn't complain
|
2023-10-27 19:18:45 +02:00 |
|
Qubasa
|
8cc1c2c4bd
|
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
|
2023-10-27 19:18:45 +02:00 |
|
Qubasa
|
2ca54afe7f
|
Added new type FlakeName
|
2023-10-27 19:18:45 +02:00 |
|
Qubasa
|
32e60f5adc
|
Added flake_name:str argument everywhere, nix fmt doesn't complain anymore
|
2023-10-27 19:15:40 +02:00 |
|
Jörg Thalheim
|
ead5c6e6a8
|
secrets: add has_machine and has_secret function
|
2023-09-21 17:22:20 +02:00 |
|
Jörg Thalheim
|
17af763ad1
|
add edit flag to secret cli
|
2023-09-13 10:52:03 +02:00 |
|
Jörg Thalheim
|
62e5c66867
|
secrets cli: hint that group/user/machine flags can be repeated
|
2023-09-07 13:06:31 +02:00 |
|
Jörg Thalheim
|
c3ccf68007
|
only list valid secrets/users/machines
Git often leaves empty directories behind
|
2023-09-07 12:48:34 +02:00 |
|
Jörg Thalheim
|
949b72bd0b
|
actual implement secret rename function
|
2023-09-03 11:03:14 +02:00 |
|
Jörg Thalheim
|
10e4db7c19
|
clan-cli: fix error message
|
2023-08-30 16:40:42 +02:00 |
|
Jörg Thalheim
|
79c61f61c7
|
drop black/ruff from dependency list
those are used implictly by treefmt already
|
2023-08-23 16:03:56 +02:00 |
|
Jörg Thalheim
|
e103a4186c
|
add api for secret groups and decrypting secrets
|
2023-08-09 15:17:43 +02:00 |
|
Jörg Thalheim
|
6c169b0bed
|
print nothing if secret collections are empty
|
2023-08-09 14:50:04 +02:00 |
|
Jörg Thalheim
|
c535cf78a1
|
add secret api for machines/users/secrets
|
2023-08-09 14:10:04 +02:00 |
|
Jörg Thalheim
|
9189c31def
|
improve error message if users don't exist
|
2023-08-09 10:33:54 +02:00 |
|
Jörg Thalheim
|
3d5a37ad03
|
check for breakpoint() function in code
|
2023-08-09 10:21:59 +02:00 |
|
Jörg Thalheim
|
68905fc233
|
don't add user to a secret if they already can access the secret
If the user is part of a group we don't need to add them explicitly
|
2023-08-09 10:17:30 +02:00 |
|
Jörg Thalheim
|
2988532909
|
allow to set groups/admins/users when setting secrets
|
2023-08-08 19:40:35 +02:00 |
|
Jörg Thalheim
|
6f9aaef56a
|
add option to import sops secrets with groups,users,machines,prefixes
|
2023-08-08 18:46:37 +02:00 |
|
Jörg Thalheim
|
efa0546da5
|
sops: make symlinks relative
|
2023-08-08 17:24:40 +02:00 |
|
Jörg Thalheim
|
1d1452ddd5
|
add import-sops command to secrets
|
2023-08-08 15:48:19 +02:00 |
|
Jörg Thalheim
|
0533948085
|
fix rotating keys with sops
|
2023-08-08 13:44:15 +02:00 |
|
Jörg Thalheim
|
dab483339a
|
test list/remove secret
|
2023-08-02 12:00:32 +00:00 |
|
Jörg Thalheim
|
658c76336f
|
add secrets integration
clan-cli: also depend on age for secrets
|
2023-08-02 09:19:14 +00:00 |
|