about summary refs log tree commit diff
path: root/tvix/glue
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-27T14·36+0200
committerclbot <clbot@tvl.fyi>2023-11-27T15·12+0000
commitb7de931cc6edd78b6c59ed97bf4485ae90c3de06 (patch)
treea635d71147fd39060dc03d64216a382a976e4ad4 /tvix/glue
parentdfaaf41cefe004eeb35f362cee3ba145bf0b9d35 (diff)
fix(nix-compat/narinfo): don't panic trying to parse signatures r/7074
BASE64.decode_mut panics if we're passing data that has the wrong size.
Do the size check first and error out there.

Also update the error, and talk about b64-encoded sizes.

Change-Id: I290f80a37d48526a30bf1df9d1d9fe34865008eb
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10146
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/glue')
0 files changed, 0 insertions, 0 deletions