π 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
.peccfileextension for permanently encrypted attachments (distinct from.eccfilefor temporary mode) - In-memory decryption architecture:
.peccirianfiles 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
encryptionModeparameter propagation fromPasswordModalto 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
.peccfileinstead of.eccfile - Fixed Convert to Markdown link cleanup - Removed
.peccfileextension - 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
.eccfileattachments (temporary mode) continue to work without changes - New
.peccfileattachments (permanent mode) are automatically created for new encryptions