meld-cp / obsidian-encrypt Goto Github PK
View Code? Open in Web Editor NEWHide secrets in your Obsidian.md vault
License: MIT License
Hide secrets in your Obsidian.md vault
License: MIT License
Hi there!
I tried to install this on the iOS beta and it says hat the plugin is not supported on mobile. Without having yet looked too deeply, is there some major problem with the plugin that makes it incompatible? Perhaps a library issue? What would it take to make it mobile compatible?
Great plugin thanks! 💯
Any chance TAB could jump from the password field to the confirm password field? At the moment it first jumps to the button, so you have to remember to TAB twice to get to the confirmation field.
Was encrypting a bunch of different stuff and kept press tab, typing the confirmation password but the button was focused :)
No big deal, thanks for creating it!
@barbwire08 I've created a new issue here so we can track this separately
Ref:
#4 (comment)
Idea of using a single password to lock and unlock a master encryption key. Possibly use an ".obsidian.meld" file that has an encrypted master password key. You can use a password to unlock the master key that is used to encrypt/decrypt content within obsidian..
If remember password is set, someone using my PC could access encrypted content during the timeout. That makes sense and is expected.
What is not expected is that someone using my PC could access the password itself by clicking on the glasses icon while the password is remembered. The password is, in a way, the most private part of the encrypted note, since it opens access to the note and possibly other notes / accounts.
Thanks for this great plugin.
I like to encrypt my whole notes and show the decrypted text inside the small preview-container. On this way the synced notes can't be synced decrypted and all my notes are safe. Unfortunately there is no way to edit the decrypted text inside the small preview-container and push the new encrypted text to the original note. Any chance to realize that?
Oh. One more thing. Any chance to optimize the size of the small preview-container? I would like to make it bigger on obsidian desktop only.
This is a very cool plugin! Would it be possible to add an option to "decrypt in-place," which would replace the encrypted text with the decoded text without having to copy/paste it from the dialog box?
Hi! First of all, this is a great Obsidian plugin!
I find myself in the common use case of having a journal in Obsidian which I would like to encrypt. Cryptomator falls short for me because 1. I don't sync my journal automatically and 2. I would like to access it from mobile as well.
The ideal functionality for me would be having a command in the palette which, given a folder, encrypts/decrypts all the files in the folder (and the subfolders). So, it would act on ALL Markdown files found by récursively navigating that folder. It's a very similar thing to what the command "Encrypt a whole file" does, except you would specify a folder instead.
I have no need for automation or more complexity, I would just like to:
If I forget to re-encrypt files, that's on me :)
What do you think about having this feature? I'm open to create a PR myself if you are busy with other things, but first I'd love to hear your thoughts
Cheers!
obsidian-encrypt/src/CryptoHelper.ts
Line 4 in df595f6
As far as I know, fixing the IV like this is a very bad idea. Can you elaborate why this was chosen?
I really am not an expert by any means, but forum posts as this https://crypto.stackexchange.com/questions/26790/how-bad-it-is-using-the-same-iv-twice-with-aes-gcm paint a pretty solid picture for me.
When I click "create new encrypted note" from the the command pallet on my iPhone, it doesn't do anything.
Add an option to auto decrypt .encrypted notes if password is known/remembered.
I changed the encrypted text but not ware of that. Now I can't undo the changes. I try to decrypt but I shows "Decryption Failed". Is there any chance for me to restore my data?
Hi
Thank you for this great plugin.
Feature request - is it possible to add a "encrypt/decrypt this folder" feature - i.e. it will encrypt/decrypt all files inside it with the same password.
Thank you!
Thanks for this wonderful plugin! could you add an option to remove the label to not draw attention to the fact that there are encrypted notes? With a large number of files, and not highlighting the encrypted notes we have an extra layer of protection I think?
Thanks!
See video. If I copy the encrypted text to a new note, then decrypt, it works.
I disable option "remember password" because I want to keyin password every time open that note.
but Meld-Encrypt always keep password until restart obsidian or remember timeout.
This bug will reveal secret note and password !
Selection text encryption is very handy, it is once a killing feature in EverNote
If you do want to change direction of this project: could you please at least keep the old functionality ??
Some times, I only have a small part of text to encrypt, like my online gaming accounts, it is not so important which need a strong encryption method.
It is convenient to keep them in an unencrypted note, with plain text beside describing what it is and how to use it.
But the whole document encryption requires me to enter the password before knowing what is in there.
Selection encryption and whole document encryption does not conflict with each other. no need to drop one.
If you do have an new direction, why not create a new plugin ?
Or at least keep the compatibility for 1.x.
Hmm, maybe restrict it to one of the three (edit/rendered/lp) to begin with?
Preferably lp, but that might also be the most complicated probably. Nonetheless it is a neat feature, albeit tThe inability to link to the file properly is the biggest setback (well you can, but it is not given as a suggestion when linking, so you actually must know the entire name).
Originally posted by @Gewerd-Strauss in #48 (comment)
I've tested this in the auto-purging testvault to ensure this was not some strange plugin interaction between one of the 97 plugins installed, and it wasn't. Below can be seen a screenshot showcasing two things:
.encrypted
-note)..encrypted
) by hand to link to the encrypted note.Hopefully this can be fixed because otherwhise this reduces viability quite a bit.
Additionally, they (obviously) also do not show up on the graph.
I've given this issue a bit of thought, and the assumed-to-be-simplest solution I could come up with is to create a note of the same name alongside every encrypted note and automatically add the correct path to the encrypted note as file contents, generating a proxy of sorts.
I hope these details are sufficient. I'll be happy to test things if necessary.
Sincerely,
~Gw
Currently, the password can be kept for decryption for a time period which can be set in the plugin options.
I would like to ask that during a session, once you use a password for encryption, to give the same password for encryption upon subsequent attempts at encrypting further blocks/files. Then the user can either continue each encryption with the same password, or clear the fields and enter a new one.
When obsidian closes, that cache is cleared and during the next session the first encryption attempt has no preset password again. Every encryption thereafter within the same session uses the password used during the first encryption as its optional default.
I can't find a way to encrypt an existing note.
Someone knows how? thanks
Instead, the action should be cancelled.
Encrypting and decrypting parts of a note does not seem to work in Obsidian app (Android).
Encrypting: When I highlight a part of a text and chose "meld encrypt: encrypt/decrypt", a popup appears and I am able to set a password. After confirming the password, nothing happens.
Same with decrypting: I decrypted a part of a text on my laptop and synchronized the note to my mobile. I can see that there is a decrypted text, I can select the decrypted text and I can chose "meld encrypt: encrypt/decrypt". It asks for the password, I enter the password and nothing happens.
At present, if the 'Expand selection to whole line' option is disabled, then one has to select the entire encrypted text (including the bracketing doubled %s) -- otherwise the Meld Encrypt commands don't appear in the Command Palette.1
It would be better if, when the keys to bring up the Command Palette were pressed, the plug-in
I see that this previously was referenced in the following comment in a now-Closed issue: https://github.com/meld-cp/obsidian-encrypt/issues/20#issuecomment-952701683 ↩
Android 11/12
Obsidian 1.1.1/1.2.0
Meld Encrypt: 1.6.2
Android System WebView: 99.0.4844.88
Couldn't find any Meld Encrypt commands when typing meld or crypt in the command palette.
However it works fine on an older phone which has Android 10 and Android System WebView 98.0.4758.101.
I had similar problem with some other plugin before which turned out to be compatibility issue with WebView, so I provided its version number above hoping it could be useful to troubleshooting.
Is it possible to:
Set a single password then
Thanks for this convenient plugin!
Windows 10.
Obsidian: v0.13.28
Meld Encrypt: v1.6.0
It works fine when turning on "Expand selection to whole line?".
impossible to decrypt a very important note.
Obsidian responds "decryption failed" even though I am sure of the password.
On PC and Android.
The .md are synchronized via nextcloud, can it have a link?
How can I recover my file?
Thank you for your help
As we only set the password once, and there is no option to see the password, one single mistake when setting it and we can't ever access the file again, thus a second reentering of the password will help to mitigate this problem.
The encryption is good but it matters little if it can be easily deleted (by accident or someone else), thus I propose to make the line not removable by defect or by an additional command.
Would it be possible to decrypt the text without obsidian-encrypt plugin. My worry is if you lose interest in maintaining the plugin what will happen with my encrypted data :)
Is it possible to decrypt without obsidian? If so, how?
I used many different online services to try to decrypt, but whatever settings I chose, they did not fit.
Please check version v2.0.0 and see how you get on with the new standalone encrypted note setup.
OK honeymoon's over.
Can we have Markdown inside encrypted note? 🙏🙏🙏 pretty pretty pretty please?
Originally posted by @mardoqueo in #31 (comment)
Could it be possible to embed encrypted data into a picture/link in obsidian. My idea is to click on a picture and then decode it (hopefully including the [[]] external brackets) to get access to the data.
Thanks for the support!
Is there a way to encrypt only selected text rather than the whole line
My use case is that I want to generate a table of certain data and only have a field in a line be encrypted, rather than the whole line. Also right now because it does the whole, it ruins the table MD
EX:
Name | Secret | Note |
---|---|---|
Test | %encrypted% | this is a note |
I did the update and couldn't decrypt my secret codes. Even though after degrading the old version, it keeps saying, "Decryption Failed."
Add another command in the palette which will always decrypt in-place. This way the user can bind each version (decrypt in-dialog or decrypt in-place) to a keyboard shortcut and choose on-the-fly whichever they like.
Would it be possible to re-encrypt a decrypted note automatically with the original password after a certain amount of time and/or on exit? I've found it a hassle to view and edit encrypted notes on a frequent basis, because I need to re-enter the original password twice every time I'm done working on an encrypted note (and it has to be twice so that I don't lose a note off of one mistyped password).
password still remembered while "remember password" was turned off
When I encrypt a file on PC with ctrl+maj+e, I can't read the file on my smartphone.
HOw can I decrypt it ?
Could it be possible to add support for searching through a *.encrypted
file that's been accessed via password and is open in the editor? Similarly to how Obsidian supports using Ctrl + F
to search through open *.md
files?
When I created a new encrypted note, I typed the following in the first line:
It didn't turn into heading1.
The same thing when typing other format shortcuts like - or ```
Decrypt is a little clunky because I have to highlight the whole encrypted text for the decrypt command to work. If highlighting partial of the text then it trys to run encrypt.
Originally posted by @jin-ahn in #20 (comment)
Please provide an option to encrypt full pages in obsidian .
I don't need encryption ,just password protection so that no one who uses my computer can access a particular note , Kanban or mindmap
Thank you for making and sharing this plug-in.
Please consider adding support for optional password hints that are saved at encryption time and then presented to the user when encrypted text is selected for decryption.
By reducing the risk of being unable to recall the password required to decrypt a block of text, password hints would encourage users to employ as many different encryption passwords as make sense in their use-case.
Got a File with 21k words. tryin to encrypt file but file does not get encrypted, is there a limit for purpose?!
Thanks for this great plugin .
Can we have feature wherein we rightclick a folder and recursively all file and folders are encrypted under it ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.