Open fedemengo opened 1 month ago
Possibly.
Presumably this is so you wouldn't need to type in a password and you could then use an extra long password/key?
To have a file, the mobile and desktop versions would need separate paths set up in settings.
Env var might be easier, as the interface to get/set would be the same for all platforms.
you wouldn't need to type in a password and you could then use an extra long password/key
yep exactly
Env var might be easier, as the interface to get/set would be the same for all platforms.
ok, yeah, I explored this a little last night... desktop platforms would work with an env var but I can't see a way for a user to set a semi-permanent env var on mobile devices. The pw/key retrieval method needs to work for both desktop and mobile, and getting it working for mobile is the roadblock currently.
The other option is to use multiple paths to some file outside your vault as the key. 'Outside your vault' to prevent it being sync'd with your notes, and 'multiple paths' because each one of your devices may have that file stored in different locations.
I had a bit more success using files.
If you are able to test, I can attach a version for you to try.
yep, I can test it in the next couple of days
Btw, thank you so much for the effort 🙏
No problem @fedemengo,
Backup your notes before you test, just in case.
key-file-test.zip contains main.js
. Use this to replace the version in .....\.obsidian\plugins\meld-encrypt\
and restart the plugin.
Add the paths to your key files in settings (paths need to be relative to your vault):
You can use the 'Check Paths' button to check if the files can be seen by the plugin on the current device:
Let me know how it goes.
Looks pretty awesome 🚀🚀
The only odd behavior I noticed (tested only on my laptop) is
Thanks for testing, I must have missed that, will look into it 👍
This should fix that prompting for password issue: key-file-test.zip
Released to 2.4.0-beta.3
sorry for the delay, tested the beta! Looks very good!
That's great to hear @fedemengo, thanks for testing. 😊
is it possible to load the password/encryption key from file/env variable?