Files
kestrove-core/crates/kv-ffi/Cargo.toml
T
samiandClaude Opus 5.5 26664e141b kv-import: 1Password .1pux and CSV import, encrypted export (M5)
New crate kv-import (pure parsing, no store) and kv-ffi/src/import.rs:
- .1pux: accounts -> vaults -> items; Login/Password/Card/Note/Identity mapped, other categories
  as secure notes; unmapped fields appended to notes; attachments and password history reported.
- CSV: 1Password 8 export and generic headers (aliases, BOM, quotes, embedded newlines,
  extra columns into notes).
- Duplicates on (title, username, URL host): skip or add " (imported)".
- Encrypted export KVEX v1: Argon2id (>= account KDF minimum) + XChaCha20-Poly1305,
  authenticated header, padded JSON; restorable through import.
- Caps: 100 MB input, 64 MB decompressed export.data, 10k zip entries, 100k items.
- FFI: VaultCore.import_preview / import_commit / export_encrypted (unlocked only); items are
  sealed, seq-stamped and queued for sync like save_item.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-17 00:36:21 +09:00

38 lines
974 B
TOML

[package]
name = "kv-ffi"
description = "UniFFI bindings: the single API surface used by Swift, Kotlin and the Tauri app."
version.workspace = true
edition.workspace = true
license.workspace = true
publish.workspace = true
[lib]
crate-type = ["lib", "staticlib", "cdylib"]
name = "kv_ffi"
[[bin]]
name = "uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"
[dependencies]
kv-proto.workspace = true
kv-crypto.workspace = true
kv-model.workspace = true
kv-store.workspace = true
kv-sync.workspace = true
kv-import.workspace = true
serde.workspace = true
hkdf.workspace = true
sha2.workspace = true
tokio = { workspace = true }
uuid.workspace = true
thiserror.workspace = true
serde_json.workspace = true
zeroize.workspace = true
uniffi = { workspace = true, features = ["cli", "tokio"] }
[dev-dependencies]
kv-sync = { workspace = true, features = ["test-server"] }
tempfile.workspace = true
zip = { version = "9", default-features = false, features = ["deflate-flate2"] }