Skip to content

mdc-lite v1.2.0

Latest

Choose a tag to compare

@saji1970 saji1970 released this 24 Aug 06:13
· 4 commits to main since this release

mdc-lite v1.2.0

Breaking on-disk format change. Every entry's encrypted bytes are now DNA-encoded (2 bits/base, 00→A 01→C 10→G 11→T — the same mapping MDC Platform's DNA archive tier uses) before being written to disk, so a stored file is ACGT text, not raw binary. This is applied to ciphertext, never plaintext — the mapping is public, so encoding plaintext directly would only be obfuscation; XChaCha20-Poly1305 encryption (unchanged) is what actually protects an entry.

v1.1.0 and earlier stores are not readable by v1.2.0, and vice versa. No migration path for this prototype-stage format change — re-put() existing entries under the new version if you have any.

What's new

  • src/dna.rs: the DNA encode/decode module, 6 new tests.
  • 3 new tests in src/lib.rs confirming the on-disk file is genuinely ACGT text, doesn't leak the plaintext value, and that a corrupted (non-ACGT) file fails cleanly rather than panicking.
  • 23/23 tests passing (up from 14).

Positioning correction (docs only, no code change)

mdc-lite has always been mobile/wearable-only — no CLI, no standalone desktop app. Docs now say so explicitly, and clarify why macOS/Windows builds still exist: desktop-companion-app embedding, and a planned (not yet built) MDC Platform CLI bridge to open an mdc-lite store when a phone/wearable is connected to a Windows machine. mdc-lite also doesn't store AI models — that's MDC Platform's job; mdc-lite stores small generic objects (settings, credentials, cached blobs).

See BUILD_INFO.md for exact verification details per artifact, and the whitepaper for the DNA-encoding design shared with MDC Platform.