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]>
26 lines
885 B
TOML
26 lines
885 B
TOML
[package]
|
|
name = "kv-import"
|
|
description = "Kestrove import (1Password .1pux, CSV) and passphrase-encrypted export."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
publish.workspace = true
|
|
|
|
[dependencies]
|
|
kv-proto.workspace = true
|
|
kv-crypto.workspace = true
|
|
kv-model.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
thiserror.workspace = true
|
|
uuid.workspace = true
|
|
zeroize.workspace = true
|
|
argon2.workspace = true
|
|
chacha20poly1305.workspace = true
|
|
unicode-normalization.workspace = true
|
|
url.workspace = true
|
|
# Reading only; the pure-Rust miniz_oxide backend keeps the build C-free.
|
|
zip = { version = "9", default-features = false, features = ["deflate-flate2"] }
|
|
# Selects the pure-Rust miniz_oxide backend for zip (no C toolchain needed on any platform).
|
|
flate2 = { version = "1", default-features = false, features = ["rust_backend"] }
|