fruiz500 / PassLok-Privacy

PassLok privacy app
GNU General Public License v3.0
30 stars 8 forks source link

Restore a backup PL24dir #24

Closed ericogit closed 4 years ago

ericogit commented 4 years ago

When I make a PL24dir backup (PL24dir==AAAAAAaaaaa==PL24dir) and then try to restore it by pasting the text into the main window of another Passlok install, then the text will be decrypted and pasted into the edit window. But when I press "Merge" I get an error message: "The items to be merged must be 256-bit and in base64 (or base36 for Locks)"

So restoring the backup dir fails. Manually restoring all the locks is the only option.

fruiz500 commented 4 years ago

It doesn't look like your backup contains anything, if it's that short. It is possible that the program is running with an empty directory. Try going to the page console (ctrl-alt-j in Chrome, or right-click and select Inspect, then move to the Console tab), and type locDir, followed by Return, to see what's actually loaded.

On Fri, Dec 6, 2019 at 5:25 AM Eric O notifications@github.com wrote:

When I make a PL24dir backup (PL24dir==AAAAAAaaaaa==PL24dir) and then try to restore it by pasting the text into the main window of another Passlok install, then the text will be decrypted and pasted into the edit window. But when I press "Merge" I get an error message: "The items to be merged must be 256-bit and in base64 (or base36 for Locks)"

So restoring the backup dir fails. Manually restoring all the locks is the only option.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fruiz500/passlok/issues/24?email_source=notifications&email_token=AATF25C7I22FNPB6GHE7BFDQXIZBVA5CNFSM4JWUD4UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6SYNSQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATF25DXWF5EDULV27H63QTQXIZBVANCNFSM4JWUD4UA .

-- Francisco Ruiz Associate Professor MMAE department Illinois Institute of Technology

PL24wordLok==qualifications veterans speaker coating physically tapes worldsex folder book mostly distinguished shine enemy sticker focusing arena believe zinc baker thoroughly==PL24wordLok https://www.youtube/watch?v=BT_tFXpkUR0

get the PassLok privacy app at: https://passlok.com http://passlok.com

ericogit commented 4 years ago

It doesn't look like your backup contains anything, if it's that short. It is possible that the program is running with an empty directory. Try going to the page console (ctrl-alt-j in Chrome, or right-click and select Inspect, then move to the Console tab), and type locDir, followed by Return, to see what's actually loaded.

I am sorry. I only posted the PL24dir code as an example. The real line is much longer. And this line also decrypts fine in a new install of Passlok (other browser). But as soon as I want to merge the this backup dir data in the EDIT window. I get the mentioned error message: "The items to be merged must be 256-bit and in base64 (or base36 for Locks)" Screenshot 2019-12-06 at 17 12 49

fruiz500 commented 4 years ago

So both installs are the same version? It could well be that the encoding is different (I changed it a few versions back) and this causes the problem. If so, delete all data (by making a backup and then saying yes when PassLok offers to delete existing data) and then load the backup. This should remove the incompatibility.

On Fri, Dec 6, 2019 at 10:09 AM Eric O notifications@github.com wrote:

It doesn't look like your backup contains anything, if it's that short. It is possible that the program is running with an empty directory. Try going to the page console (ctrl-alt-j in Chrome, or right-click and select Inspect, then move to the Console tab), and type locDir, followed by Return, to see what's actually loaded. … <#m8865881607134328902> On Fri, Dec 6, 2019 at 5:25 AM Eric O @. > wrote: When I make a PL24dir backup (PL24dir==AAAAAAaaaaa==PL24dir) and then try to restore it by pasting the text into the main window of another Passlok install, then the text will be decrypted and pasted into the edit window. But when I press "Merge" I get an error message: "The items to be merged must be 256-bit and in base64 (or base36 for Locks)" So restoring the backup dir fails. Manually restoring all the locks is the only option. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#24 https://github.com/fruiz500/passlok/issues/24?email_source=notifications&email_token=AATF25C7I22FNPB6GHE7BFDQXIZBVA5CNFSM4JWUD4UKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H6SYNSQ>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATF25DXWF5EDULV27H63QTQXIZBVANCNFSM4JWUD4UA https://github.com/notifications/unsubscribe-auth/AATF25DXWF5EDULV27H63QTQXIZBVANCNFSM4JWUD4UA . -- Francisco Ruiz Associate Professor MMAE department Illinois Institute of Technology PL24wordLok==qualifications veterans speaker coating physically tapes worldsex folder book mostly distinguished shine enemy sticker focusing arena believe zinc baker thoroughly==PL24wordLok https:// www.youtube*/watch?v=BT_tFXpkUR0 get the PassLok privacy app at: https://passlok.com http://passlok.com

I am sorry. I only posted the PL24dir code as an example. The real line is much longer. And this line also decrypts fine in a new install of Passlok (other browser). But as soon as I want to merge the this backup dir data in the EDIT window. I get the mentioned error message: "The items to be merged must be 256-bit and in base64 (or base36 for Locks)"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fruiz500/passlok/issues/24?email_source=notifications&email_token=AATF25DZ4LKNX346ONYPCCLQXJ2KTA5CNFSM4JWUD4UKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGER7SY#issuecomment-562634699, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATF25FSXDNUHRAOU2HFDA3QXJ2KTANCNFSM4JWUD4UA .

-- Francisco Ruiz Associate Professor MMAE department Illinois Institute of Technology

PL24wordLok==qualifications veterans speaker coating physically tapes worldsex folder book mostly distinguished shine enemy sticker focusing arena believe zinc baker thoroughly==PL24wordLok https://www.youtube/watch?v=BT_tFXpkUR0

get the PassLok privacy app at: https://passlok.com http://passlok.com

ericogit commented 4 years ago

Yes, both installs are the same. I've tried on 2.4.13 and 14 and in different browsers (Brave and Firefox) Maybe I am doing something wrong here. So please let me describe my workflow: -Options Tab: select Advanced and then press "Whole directory" -Answer the popup with OK. -Go back to main Tab and copy the PL24dir text. -Go to other browser and login with my credentials. -Paste the PL24dir text into the Main Tab. This decrypts the text and switches to the "Edit" Tab. -There I see the decrypted public locks. Press "Merge" -Error message as stated above.

fruiz500 commented 4 years ago

Thanks for the heads up! Problem is fixed.

ericogit commented 4 years ago

Thanks for the heads up! Problem is fixed.

Working great now! Cheers, Eric