Joey Hafner
dff6d688be
#3 chmod +x age-setup.sh
2024-08-16 14:33:26 -07:00
Joey Hafner
7052b517fb
#3 Polish up the setup script, delete unused manual scripts
2024-08-16 14:31:58 -07:00
Joey Hafner
72f3f50b15
#3 Add handling for each file type supported by sops, including binary
2024-08-16 14:11:46 -07:00
Joey Hafner
bea0e29f89
#3 Switch to file descriptor 3 as input to sops
2024-08-16 12:52:04 -07:00
Joey Hafner
049ae05b4a
#3 Debug: echo working directory to diagnose whether we're working from a subdirectory of .git, rather than the true repo root.
2024-08-16 12:49:08 -07:00
Joey Hafner
02972c0d6b
#3 Re-create test secret
2024-08-16 12:45:31 -07:00
Joey Hafner
f9ca3ca219
#3 Remove unneeded SOPS_AGE_RECIPIENTS configuration from decrypt, cd to repo root
2024-08-16 12:43:31 -07:00
Joey Hafner
4daec51130
#3 Debug echo FILE_PATH variable
2024-08-16 12:32:36 -07:00
Joey Hafner
bbad9b07ed
#3 Render absolute path of file to process
2024-08-16 12:27:37 -07:00
Joey Hafner
b45df3190d
#3 Reroute stdout and stderr from non-sops commands to log files
2024-08-16 12:16:07 -07:00
Joey Hafner
0080a68f3c
#3 Validate input is file path
2024-08-16 12:09:26 -07:00
Joey Hafner
c02b810237
#3 Update encrypt and decrypt filter scripts
...
- Decrypt: use realpath of file to decrypt as FILE_PATH
- Decrypt: Switch from in-place to stdout
- Encrypt: Switch from operating on $1 to $FILE_PATH
2024-08-15 16:28:28 -07:00
Joey Hafner
766a34dfb4
#3 Fix logic for creating age keyfile
2024-08-15 16:24:21 -07:00
Joey Hafner
e5256cff1e
#3 Update script names in filter setup
2024-08-15 16:20:40 -07:00
Joey Hafner
fc5973a46f
#3 Configure sops filter in age-setup script
2024-08-15 16:19:42 -07:00
Joey Hafner
bf81ecbd27
#3 Init working encrypt-filter and testsecret.
...
TODO: Test decrypt-filter, write setup script
2024-08-15 16:14:07 -07:00
Joey Hafner
492fa394d6
Rename filter scripts
2024-08-15 15:46:57 -07:00
Joey Hafner
75b065de25
#3 Debug: Remove checking for count of arguments
2024-08-15 15:17:31 -07:00
Joey Hafner
205ab38149
#3 Set up scripts to encrypt/decrypt in place
2024-08-15 15:13:41 -07:00
Joey Hafner
322a79c2f5
#2 Remove unused lines
2024-08-14 14:30:09 -07:00
Joey Hafner
676da8dca3
#2 Move age files to homelab/.sops/
...
Separate "authors" keys and "deploy" keys.
Add features to setup, encrypt, and decrypt scripts:
- Validate input arguments
- Set age keyfile and recipients dynamically at runtime
2024-08-14 14:26:52 -07:00