Skip to content

VS Code Extension v0.1.2

Choose a tag to compare

@Jastchi Jastchi released this 13 Jun 11:13

Updates the dotseal extension to match the CLI/library selective-encryption and core improvements from v0.3.0.

Features

  • Selective encryption on first savedotseal.plaintextKeys and dotseal.plaintextKeyRegex settings apply when the virtual editor creates a new .env.enc; existing files keep the policy stored in their footer
  • Preserves selective-encryption policy through re-encrypt on save
  • Python/TypeScript regex token encoding aligned (base64url with padding) so policies round-trip with the CLI

Improvements

  • rotateText() added to the extension core (parity with Python; no UI command yet)
  • Python-only regex patterns in an existing file footer are skipped safely (fail-closed: affected keys are re-encrypted rather than crashing the editor)

Installation

Download dotseal-vscode-0.1.2.vsix below and install via Extensions: Install from VSIX in VS Code or Cursor.

Notes

  • Tested against dotseal CLI/library v0.3.0. Older extension releases work with the same encrypted file format (v=1 / v=2) but lack selective-encryption settings and cross-language regex interoperability.
  • Plaintext policy settings only affect new encrypted files; use the CLI to change policy on existing files.