Skip to content
Discussion options

You must be logged in to vote

Hi, it is possible to create protected notes, in fact your code snippet works, but at the time you run it, protected session must be active, otherwise there's no encryption key which could be used to encrypt (protect) the note.

It's not possible to login/enter protected session programmatically since for that you would have to store the password on some unprotected place.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adamcodemaker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants