# fix\(managed-cli\): map undecodable staged files to unverified \(\#369\) · lucenx/codexbar-plasma

[View on GitCafe](https://git.cafe/lucenx/codexbar-plasma/commit/26a877f049ad052751c97de6097e4f9f723e9cdb)

Repository: [lucenx/codexbar-plasma](https://git.cafe/lucenx/codexbar-plasma)

Visibility: public

Requested revision: 26a877f049ad052751c97de6097e4f9f723e9cdb

Requested commit: 26a877f049ad052751c97de6097e4f9f723e9cdb

Commit: 26a877f049ad052751c97de6097e4f9f723e9cdb

Tree: 388b5f55b00ea3292cf37782849196145a8ef373

Author: Simone

Committer: GitHub

## Message

```
fix(managed-cli): map undecodable staged files to unverified (#369)

A staged checksum or VERSION file that is not valid UTF-8 raised
UnicodeDecodeError, which failure_status degraded to the generic error
instead of the unverified tampering signal used for other refused
content. Fold decode failures into the existing checksum_file and
version_file codes.
```

## Parents

- [ab12fc8cf001c27d7c51a2345d344598b58e768f](https://git.cafe/lucenx/codexbar-plasma/commit/ab12fc8cf001c27d7c51a2345d344598b58e768f?format=markdown)

[Source at this commit](https://git.cafe/lucenx/codexbar-plasma/tree/26a877f049ad052751c97de6097e4f9f723e9cdb?format=markdown)
