Create protected note using backend api #2416
-
Hi
and there is an error
Is it even possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
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.