Comments (12)
btw, the encrypted notes are having this text duplicated (begin/end encrypted text)
from scripts.
Can you please post the output from the debug settings (see issue template).
And is there any useful log output if you enable the log panel (see Window / Panels)? Please make sure you also enable debug logging in the log panel (by right-clicking on the panel and and selecting Debug
in Options
).
from scripts.
btw, the encrypted notes are having this text duplicated (begin/end encrypted text)
Can you please post an example of an encrypted note. What do you mean by "this text"?
from scripts.
Decrypt notes only when you click the button to do so
Currently it's part of the Note scripting api to try to decrypt the note by default and when the current note is changed the NoteApi will be updated... I'm not sure what will happen in the long run if I remove the decryption part. We'll see...
the way the encryption system with the encryptionHook works is that there will be an attempt made to decrypt a note (with the currently used password, but this script doesn't use that password). If the attempt was successful
from scripts.
20.8.7
- the note scripting api will now not attempt to automatically decrypt a note in the background because
this would happen every time the current note changes
from scripts.
There now is a new release, could you please test it and report if it works for you?
from scripts.
Sorry for the delay.
There now is a new release, could you please test it and report if it works for you?
Yes, the new update now only decrypts the note when requested, much better!
Can you please post an example of an encrypted note. What do you mean by "this text"?
https://i.imgur.com/VLguFt3.png
Text added to an encrypted note with AES-256 encryption (bold) is being accumulated with that generated by openpgp (italic).
I don't know if this was the previous behavior, but editing when editing an encrypted note and then switching to another note without saving the previous one can result in data loss. Saving the note before going to another note solves this. video here
from scripts.
Yes, the new update now only decrypts the note when requested, much better!
thank you for testing
Text added to an encrypted note with AES-256 encryption (bold) is being accumulated with that generated by openpgp (italic).
that's ok, the first BEGIN/END is from QOwnNotes to mark an encrypted note, the 2nd is from pgp itself.
when editing an encrypted note and then switching to another note without saving the previous one can result in data loss.
I'll look into that.
from scripts.
Can you please post the saving issue to https://github.com/pbek/QOwnNotes/issues/
from scripts.
done. thanks for the support
from scripts.
is it possible to use pgp keys with passphrase protection ? Works well on windows but on Linux, it prompts for password but decryption ad encryption did not happen.
from scripts.
I haven't found a good way to do that... Maybe you can use some external tool to send the password string or use a PGP daemon.
from scripts.
Related Issues (20)
- [FEATURE] Color selector menu for text highlighter HOT 4
- [SUPPORT] Script to automatically format the Markdown each save HOT 3
- [SUPPORT] Stuck trying to get Backlinks script to work HOT 4
- [SUPPORT] Mermaid diagrams script: theme configuration for sequenceDiagram HOT 6
- [BUG] Latex Math v0.0.6 script doesn't update pictures when color style is changed HOT 7
- [BUG] Toggle checkbox - checkbox where added in wrong place when autocreated from list HOT 5
- [FEATURE] Add video display support HOT 3
- [BUG] The "YAML nested tags" script breaks formatting and causing text lost in preview HOT 4
- [BUG] "exportFolder is not defined" in export-notes-as-website HOT 7
- [BUG] A Wiki Link to a note under notes sub-folder gives pop up "Note was not found" even if it exists HOT 4
- [SUPPORT] HOT 11
- [SUPPORT] HOT 2
- [SUPPORT] LateX Math results in very aliased images HOT 8
- adding favorite note script results with error " Expected a qualified name id"[BUG] HOT 10
- [SUPPORT] HOT 7
- [BUG] can't follow [[wiki linked]] file links that have spaces HOT 2
- [BUG] Scripts "export note as website" not working properly on Windows HOT 7
- [BUG] export note using pandoc not working on windows HOT 2
- [BUG] Backlinks doesn't support setext headers for title HOT 6
- [BUG] LaTeX math script generates empty icons instead of images HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scripts.