tvl-depot/tvix/nix-compat/src
Florian Klink 0415bc6fd2 fix(nix-compat/narinfo/signature): validate name field
We should restrict this to alphanumeric mostly, and we definitely don't
want newlines.

Not entirely sure about the exact additionally allowed characters
outside of alphanumeric, but this can always be extended further.

Change-Id: I1357e79e553f2df2fa97792889f63f0f35d50ed5
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10147
Reviewed-by: edef <edef@edef.eu>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
2023-11-27 15:12:13 +00:00
..
aterm feat(nix-compat/{aterm,derivation}): init parser 2023-10-16 12:23:00 +00:00
bin feat(tvix/nix-compat): add drvfmt 2023-11-07 11:27:08 +00:00
derivation refactor(tvix/nix-compat): cleanup parse_{ca,hash} and fmt structs 2023-11-22 17:54:59 +00:00
nar feat(nix-compat/nar/reader): provide passthrough buffered I/O 2023-11-19 09:53:10 +00:00
narinfo fix(nix-compat/narinfo/signature): validate name field 2023-11-27 15:12:13 +00:00
nixhash refactor(tvix/nix-compat): cleanup parse_{ca,hash} and fmt structs 2023-11-22 17:54:59 +00:00
store_path fix(tvix): ensure PartialOrd/Ord agree for StorePath & NixString 2023-11-25 15:48:46 +00:00
lib.rs feat(tvix/nix-compat): add narinfo parsing and serialisation 2023-10-27 16:08:06 +00:00
nixbase32.rs feat(nix-compat/nixbase32): use data_encoding::DecodeError 2023-11-10 19:05:36 +00:00