Repository navigation
Migration V13 to V14
V13 and V14 are intentionally different formats and should be migrated explicitly rather than through heuristic interpretation.
V13 browser packages:
SECURE-BROWSER-V13
.spk13
V14 server packages:
SECURE-PKG-V14
.spkg14
They are not interchangeable.
- browser-side Web Crypto
- PBKDF2-HMAC-SHA-256
- 1,500,000 iterations
- AES-256-GCM
- browser streaming/chunk model
- server-side Sodium
- Argon2id13
- XChaCha20-Poly1305-IETF
- secretstream XChaCha20-Poly1305
- random 256-bit package root key
- explicit credential/recovery key slots
- authenticated header binding
- blob SHA-256 inventory
- package Merkle root
The V14 reader does not attempt to treat a V13 package as a V14 package.
This is deliberate.
A format parser that guesses which security profile the caller intended can become a downgrade or confusion boundary.
- Keep the V13 browser client available for existing
.spk13packages. - Create all new server-side encrypted packages as V14.
- Preserve V13 artifacts as legacy input during the migration period.
- Store V14 recovery keys independently from their packages.
- Introduce any V13-to-V14 conversion path as a dedicated, testable feature.
- Require security review for the conversion reader/exporter before making it the default workflow.
A future conversion tool should explicitly verify:
- source format identity
- source package integrity
- source credential validity
- complete source inventory
- source Merkle/integrity state
- output V14 format identity
- output package root key creation
- output key-slot construction
- output manifest integrity
- output restore equivalence
The result should be a fresh V14 package, not a V13 package with renamed metadata.
The cryptographic profiles are different. A trustworthy migration therefore needs to:
V13 ciphertext
-> authenticated V13 restore/decrypt
-> plaintext staging
-> fresh V14 encryption
-> V14 verification
The conversion operation should not simply transplant V13 ciphertext into V14 structures.
A V14 recovery key is a new credential generated for the V14 package. A V13 recovery mechanism should not be copied into the V14 header unless the future migration design explicitly defines and authenticates such a relationship.
The active source tree keeps superseded generation material under:
archive/secure-package-legacy.zip
This archive is historical material, not part of the active application surface.
Secure Package V14 · SECURE-PKG-V14 · Version 14.1.0 · MIT License · Author: ElmanCod110
This Wiki describes the implementation currently documented by the repository. Security-sensitive behavior should be verified against the active source tree before production deployment.
Start
V14 Engine
Security
Integration
Operations
- Storage and Data Lifecycle
- Deployment
- Testing and Validation
- Release and Supply Chain
- Migration V13 to V14
Contributing