revault_api 0.2.0 copy "revault_api: ^0.2.0" to clipboard
revault_api: ^0.2.0 copied to clipboard

Typed Dart FFI bindings for encrypted reVault lockboxes, credentials, keys, form records, and local vault metadata on Linux, macOS, and Windows.

reVault for Dart #

reVault is an encrypted archive and local-vault library for files, credentials, keys, and typed records. The Dart package provides an owned, class-based API and documented Dart domain values with no code-generation types in the public API. See the reVault documentation.

dependencies:
  revault_api: ^0.2.0
final vault = await Vault.load();
final box = vault.createLockbox(Uint8List(32)); // load a real key securely
box.addFile(
  '/hello.txt',
  Uint8List.fromList('hello\n'.codeUnits),
  replace: false,
);
box.setVariable('owner', 'alice');
box.setSecretVariable('token', Uint8List.fromList('secret'.codeUnits));
box.withSecretVariable('token', (token) => token.length);
box.commit();
box.dispose();

Packaged runtimes support Linux, macOS, and Windows on x86-64 and ARM64. REVAULT_LIBRARY is a development-only override for native discovery.

0
likes
0
points
701
downloads

Publisher

unverified uploader

Weekly Downloads

Typed Dart FFI bindings for encrypted reVault lockboxes, credentials, keys, form records, and local vault metadata on Linux, macOS, and Windows.

Repository (GitHub)
View/report issues

Topics

#encryption #credentials #archive #security #ffi

License

unknown (license)

Dependencies

ffi, flat_buffers

More

Packages that depend on revault_api