Sheaf · fuchsia · Fuchsia OS — fuchsia.io

Generated 2026-05-22 07:20 PDT · 212 elements · 248 findings

fuchsia.io/File.EnableVerity

METHOD fuchsia.io sdk/fidl/fuchsia.io/file.fidl:276

Enables verification for the file (permanently) which involves computing a merkle tree for the file. Forces a flush prior to building the merkle tree to ensure cached data is captured. Future reads will be verified against the computed merkle tree and writes will be rejected. This method can take some time to complete as it depends on the size of the file. This method can be aborted by closing the connection that this method was issued on. This method requires the [`Rights.UPDATE_ATTRIBUTES`] right. Returns `ZX_ERR_NOT_SUPPORTED` if the filesystem does not support verity. Returns `ZX_ERR_ALREADY_EXISTS` if the file was already fsverity-enabled. Also returns any error that might arise from reading the file, or from flushing the file, such as `ZX_ERR_IO`.

Relationships

Documentation (1)

Tests (0)

No test references.

Examples (0)

No example references.

Gaps

Missing categories:

Findings (2)

← back to elements