Secret support via sops #5

Closed
opened 2023-09-24 23:00:56 +00:00 by nerf · 0 comments
Owner

Sooner or later we will have secrets in some of our configurations. A possible example would be the users of the mail server, or authentication tokens. But there are many more. (Not that I'm saying we should include mail server users in the nix config, maybe we
should treat them as state, but I'm not sure about that).

We also need to discuss if we want to opt for the new age driven crypto or if we want to rely on the good ol' gpg.

Pros and Cons:

Pros for gpg

  • everybody already has a version of gpg
  • gpg hast “stood the test of time”

Cons for gpg

  • it is gpg
  • it is “designed” in the early 90's and historically grown
  • an unusable monster with (in some versions) insane defaults

Pros for age

  • it is a (comparably) simple tool
  • it is designed for the task

Cons for age

  • it is not preinstalled on most OS (it is in most package repositories)
  • it is the new kid on the block
  • I'm not aware of any systematic reviews
Sooner or later we will have secrets in some of our configurations. A possible example would be the users of the mail server, or authentication tokens. But there are many more. (Not that I'm saying we should include mail server users in the nix config, maybe we should treat them as state, but I'm not sure about that). We also need to discuss if we want to opt for the new [`age`](https://age-encryption.org/) driven crypto or if we want to rely on the good ol' `gpg`. Pros and Cons: Pros for `gpg` - everybody already has a version of `gpg` - gpg hast “stood the test of time” Cons for `gpg` - it is [gpg](https://www.latacora.com/blog/2019/07/16/the-pgp-problem/) - it is “designed” in the early 90's and historically grown - an unusable monster with (in some versions) insane defaults Pros for `age` - it is a (comparably) simple tool - it is designed for the task Cons for `age` - it is not preinstalled on most OS (it is in most package repositories) - it is the new kid on the block - I'm not aware of any systematic reviews
nerf added the
Kind/Enhancement
label 2023-09-24 23:00:56 +00:00
nerf self-assigned this 2023-09-24 23:00:56 +00:00
nerf added
Kind/Feature
and removed
Kind/Enhancement
labels 2023-09-25 10:14:37 +00:00
nerf started working 2023-09-25 13:23:43 +00:00
nerf stopped working 2023-09-25 14:10:29 +00:00
46 minutes 46 seconds
nerf started working 2023-09-25 17:01:20 +00:00
nerf stopped working 2023-09-25 17:43:34 +00:00
42 minutes 14 seconds
nerf started working 2023-09-25 18:02:35 +00:00
nerf referenced this issue from a commit 2023-09-25 19:23:45 +00:00
nerf closed this issue 2023-09-25 19:24:53 +00:00
nerf stopped working 2023-09-25 19:24:53 +00:00
1 hour 22 minutes
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 2 hours 51 minutes
nerf
2 hours 51 minutes
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Fachschaft/nixConfig#5
No description provided.