github Enthalpiex/Eccirian-Encrypt 1.0.0
v1.0.0

latest release: 0.9.8
19 hours ago

πŸŽ‰ Stable Release v1.0.0

This is the first stable release with complete attachment encryption support for both Temporary and Permanent modes. Attachments will remain encrypted on disk while .peccirian file is in-memory decrypt .


Whatβ€˜s New?

Permanent Mode Attachment Encryption

  • Implemented .peccfile extension for permanently encrypted attachments (distinct from .eccfile for temporary mode)
  • In-memory decryption architecture: .peccirian files decrypt content in memory while keeping attachments encrypted on disk
  • Link transformation system: Automatically updates attachment links between encrypted and decrypted states
  • Convert to Markdown support: Properly decrypts attachments and updates links when converting .peccirian β†’ .md

Encryption Mode Selection

  • Fixed encryptionMode parameter propagation from PasswordModal to encryption callbacks
  • Users can now select encryption mode (Temporary/Permanent) in the password dialog, and the selection is correctly applied to both file and attachment encryption
  • Ribbon icon and Command Palette now respect user-selected mode instead of defaulting to settings

Folder Encryption Enhancements

  • Password hint support for encrypted folders (display on decryption, save on encryption)
  • Overwrite confirmation dialog when decrypting to an existing folder path
  • Consistent UX with file encryption workflows

Technical Implementation

Attachment Encryption Architecture

Temporary Mode (.eccirian):
  Encrypt: a.png β†’ a.png.eccfile (physical file replacement)
  Decrypt: a.png.eccfile β†’ a.png (physical file restoration)

Permanent Mode (.peccirian):
  Open: Keep a.png.peccfile on disk, transform links in memory
  Save: Keep a.png.peccfile on disk, transform links before encryption
  Convert: a.png.peccfile β†’ a.png (physical file restoration)

Bug Fixes

  • Fixed attachment extension mismatch - Permanent mode now correctly uses .peccfile instead of .eccfile
  • Fixed Convert to Markdown link cleanup - Removed .peccfile extension
  • Fixed encryption mode propagation - Selection in password dialog now correctly applies to attachment encryption
  • Fixed null reference error in save operations - Additional null checks are added to prevent Cannot read properties of null (reading 'saving') error during async operations
  • Fixed race condition - File reference is now validated before vault.modify() calls to handle cases where file is closed during encryption

Compatibility

  • Fully backward compatible with v0.9.8, no manual intervention required for existing encrypted files
  • Existing .eccfile attachments (temporary mode) continue to work without changes
  • New .peccfile attachments (permanent mode) are automatically created for new encryptions

Don't miss a new Eccirian-Encrypt release

NewReleases is sending notifications on new releases.