Mikescher/AlephNote

StandardNotes: Cannot decrypt note with local masterkey

sn3akyb3ar opened this issue · 1 comments

Can't sync StandardNotes since yesterday. Tried fresh install, it downloads my notes from SN server, but then shows this error message again and creates new conflict notes.

AlephNote.Plugins.StandardNote.StandardNoteAPIException: Cannot decrypt note with local masterkey
    ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at AlephNote.Plugins.StandardNote.StandardNoteCrypt.DecryptContent(String encContent, String encItemKey, Nullable`1 itemsKeyID, String authHash, StandardNoteData dat)
   at AlephNote.Plugins.StandardNote.StandardNoteAPI.CreateNote(ISimpleJsonRest web, StandardNoteConnection conn, APIResultItem encNote, StandardNoteData dat, StandardNoteConfig cfg)
   --- End of inner exception stack trace ---
   at AlephNote.Plugins.StandardNote.StandardNoteAPI.CreateNote(ISimpleJsonRest web, StandardNoteConnection conn, APIResultItem encNote, StandardNoteData dat, StandardNoteConfig cfg)
   at AlephNote.Plugins.StandardNote.StandardNoteAPI.<>c__DisplayClass42_0.<Sync>b__36(APIResultItem n)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at AlephNote.Plugins.StandardNote.StandardNoteAPI.Sync(ISimpleJsonRest web, StandardNoteConnection conn, StandardNoteConfig cfg, StandardNoteData dat, List`1 allNotes, List`1 notesUpload, List`1 notesDelete, List`1 tagsDelete)
   at AlephNote.Plugins.StandardNote.StandardNoteConnection.StartSync(IRemoteStorageSyncPersistance idata, List`1 ilocalnotes, List`1 localdeletednotes)
   at AlephNote.Common.Repository.SynchronizationThread.DoSync(Boolean isImmediateResync)

Thanks, it works now.