Codename One Launches Vault API for Secure Cross-Device Data Sync Without Exposing Keys

Codename One, an open-source framework for building cross-platform apps from a single Java or Kotlin codebase, has released a new com.codename1.security.vault API as part of its latest update. The Vault API enables encrypted data to be synchronized across phones and browsers without the sync server ever receiving the encryption key or plaintext. It uses authenticated encryption with a random 32-byte data key, storing only wrapped copies of that key so that a password change does not require re-encrypting all records. The API supports three unlock policies — session-only, device-remembered, and user-verification — giving users deliberate control over how vault access is restored. In browser environments, remembered access leverages a non-extractable Web Crypto key stored in IndexedDB, strengthening security beyond conventional approaches like storing a key alongside its ciphertext.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in