Giter VIP home page Giter VIP logo

Comments (12)

 avatar commented on July 17, 2024

btw, the encrypted notes are having this text duplicated (begin/end encrypted text)

from scripts.

pbek avatar pbek commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

There now is a new release, could you please test it and report if it works for you?

from scripts.

 avatar commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

Can you please post the saving issue to https://github.com/pbek/QOwnNotes/issues/

from scripts.

 avatar commented on July 17, 2024

done. thanks for the support

from scripts.

Mahaaveer avatar Mahaaveer commented on July 17, 2024

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.

pbek avatar pbek commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.