glebzaripov / pyPrivnote

A Python Interface to Privnote service
GNU General Public License v3.0
9 stars 4 forks source link

The note link or password is incomplete or incorrect, and the note could not be decrypted. #2

Open tellst1 opened 6 years ago

tellst1 commented 6 years ago

I get this error if the link has some error (for example - https://privnote.com/xxx#xxx123) The note (id=xxx) link or password is incomplete or incorrect, and the note could not be decrypted.

But the note is still deleted, and does not return the content.

glebzaripov commented 5 years ago

the link looks like https://privnote.com/note_id#generated_password. If you made a mistake in note_id thats ok just cant find associated note. If note_id links to existing note then sends request for encrypted note text. Privnote service stores only encrypted data and delete it after first request. Password manual or autogenerated (stored in end of link) used for local decryption. If it is broken that means you get encrypt message so privnote.com destroy it, but you cant decrypt. So you lose the content. It is default privnote behavior. Hope I understand correctly the issue