Re:Age is a simple, modern and secure file encryption tool, ...
by max-privatevoid on Monday August 05, 2024 @05:38AM
(#41159513)
But then you'd have to use YAML
[ Parent
| on HN ]
Re:Age is a simple, modern and secure file encryption tool, ...
by worldsayshi on Monday August 05, 2024 @07:26AM
(#41160172)
Coming from Ansible I can understand the distrust in yaml. But I haven't seen half as much yaml weirdness in Kubernetes (and i associate age/sops with k8s). At least not since I stopped making my own helm charts.
Re:Age is a simple, modern and secure file encryption tool, ...
by zelphirkalt on Monday August 05, 2024 @05:50AM
(#41159588)
I concur, that is an unfortunate side-effect. The only thing you can then do is to treat yaml as a thing that is constantly out to get you. Make all values strings and use things like > or >- to write strings without having to escape quotes, don't rely on any referencing, except for Ansible's templating itself. Do not code in yaml. Or, if you really want to, perhaps you could even write yaml like json, since json should be accepted format for yaml files.
Re:Age is a simple, modern and secure file encryption tool, ...
by ElectricalUnion on Monday August 05, 2024 @06:58AM
(#41159978)
If the thing accepts YAML it often also accepts a equivalent JSON.
Re:Age is a simple, modern and secure file encryption tool, ...
by valczir on Monday August 05, 2024 @10:19AM
(#41161590)
yaml is a superset of json, so by definition anything that accepts yaml _must_ accept json
Re:Age is a simple, modern and secure file encryption tool, ...
by turboponyy on Monday August 05, 2024 @07:09AM
(#41160044)
More notably, then you'd have to use Ansible.
Re:Age is a simple, modern and secure file encryption tool, ...
by shlant on Monday August 05, 2024 @12:50PM
(#41163040)
any suggestions on a better config management tool?
Re:Age is a simple, modern and secure file encryption tool, ...
by max-privatevoid on Monday August 05, 2024 @04:42PM
(#41165407)
NixOS