Description
Hello,
I'm interested in using Obsidian Encrypt for managing my encrypted files locally, but I need more details about the encryption algorithm and how I can reproduce it outside of Obsidian.
I've reviewed the code and noticed that it uses AES-GCM with a fixed IV and a password-derived key. However, my attempts to decrypt data outside of Obsidian (using Python and Node.js) have failed due to authentication errors (MAC check failure).
Questions:
What exact steps does Obsidian Encrypt follow for encryption and decryption?
Key derivation method (PBKDF2 parameters, salt usage, hashing details).
How is the authentication tag stored and extracted?
Any additional transformations or encoding applied before storing?
How can I integrate this into a local script to encrypt/decrypt data for my own file management use case?
I need a way to encrypt/decrypt single strings/files, but the current full-note encryption format does not fit my needs.
Is there a minimal example available that demonstrates how to manually encrypt/decrypt a string using the same method as Obsidian Encrypt?
Any guidance would be greatly appreciated! I’d love to continue using this encryption method while managing my own file structures.
Thanks for your time and for building such a great tool!
Activity