nixpkgs/nixos
Maximilian Bosch 4fd75277dd
nixos/coturn: refactor secret injection
The original implementation had a few issues:

* The secret was briefly leaked since it is part of the cmdline for
  `sed(1)` and on Linux `cmdline` is world-readable.
* If the secret would contain either a `,` or a `"` it would mess with
  the `sed(1)` expression itself unless you apply messy escape hacks.

To circumvent all of that, I decided to use `replace-secret` which
allows you to replace a string inside a file (in this case
`#static-auth-secret#`) with the contents of a file, i.e.
`cfg.static-auth-secret-file` without any of these issues.
2022-10-09 09:31:48 +02:00
..
doc Merge pull request #194271 from andersk/teleport-10 2022-10-06 15:36:47 +02:00
lib genJqSecretsReplacementSnippet: Allow dots in attribute names... 2022-10-09 08:12:19 +02:00
maintainers nixos/*: md-convert hidden plaintext options 2022-08-31 16:32:54 +02:00
modules nixos/coturn: refactor secret injection 2022-10-09 09:31:48 +02:00
tests Merge pull request #191198 from Moredread/nixpkgs-paperless 2022-10-09 08:49:28 +02:00
COPYING
default.nix
README
release-combined.nix treewide: remove myself as maintainer from some pkgs 2022-08-03 14:17:51 +02:00
release-small.nix error: 'mysql' has been renamed to/replaced by 'mariadb' 2022-09-27 19:39:52 +02:00
release.nix nixos/testing: Embrace callTest 2022-09-24 17:38:09 +01:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.