Security & identity
Plugin.Maui.FileVault
Encrypted local files with key protection and lifecycle
Current NuGet 1.0.8
Encrypted on-device file storage with key protection and lifecycle controls — the vault target for MediaPipeline and sensitive documents.
Install
dotnet add package Plugin.Maui.FileVaultPackage ID: Plugin.Maui.FileVault
Plugin.Maui.* restores from GitHub Packages. Add the org feed first — see Use nuvyntralabs GitHub Packages from a C# project.
Overview
Plugin.Maui.FileVault stores files encrypted at rest on the device, with key protection and lifecycle controls. MediaPipeline can hand processed images to IMediaVault instead of writing plaintext JPEGs into app storage.
Current release
- Background lock always clears the in-memory master key. Prefer GetStatisticsAsync. RootDirectory stays inside the host-chosen folder. OnProtectionFailed reports platform protection failures.
Full upgrade map for the 3 September 2026 hardening wave: Hardened plugin releases.
Capabilities
- Encrypted local file storage.
- Key protection aligned with device security.
- Lifecycle APIs for sensitive artifacts.
- Background lock always wipes the in-memory key.
- Async vault statistics and confined RootDirectory overrides.
- .NET MAUI
- Encryption
- Files
- C#
Discussion
Comment on Plugin.Maui.FileVault. The thread lives on this component's GitHub repository (nuvyntralabs/Plugin.Maui.FileVault). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.