vta_cli_common/secure_file.rs
1//! Cross-platform file / directory permission tightening for secret-bearing
2//! paths (bootstrap seeds, keystores, export bundles).
3//!
4//! The implementation is homed in [`vti_common::secure_file`] so it can be
5//! shared by every consumer (CLIs, services, and the `vti-secrets` crate's
6//! plaintext backend) without duplication. This module re-exports it for
7//! backwards-compatible `vta_cli_common::secure_file::*` call sites.
8
9pub use vti_common::secure_file::{restrict_dir_to_owner, restrict_file_to_owner};