Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ulenspiegel

macrumors 68040
Original poster
Nov 8, 2014
3,212
2,490
Land of Flanders and Elsewhere
I would like to ask for your kind help.

My password manager Locko is discontinued, so I have to switch to 1Password. The problem is with converting the Locko databse to one that is compatible with 1 Password.

I have found this site: https://www.mikestreety.co.uk/blog/export-locko-to-1password with a workaround, but I am no expert in this field. I am ok till point 4.

I would be grateful if someone could walk me through from point 5 in the above mentioned link.

Thank you in advance.
 
  • Like
Reactions: testvip

velocityg4

macrumors 604
Dec 19, 2004
7,330
4,721
Georgia
Looks like the author left out some steps. I'll take a crack at it.

Just to make things easier. Name your folder PASSWORDS. Put PASSWORDS at the root of your Home folder. So /Volumes/Macintosh HD/Users/YOUR USERNAME/PASSWORDS
- Open up textedit in your applications folder.
- Open Textedit preferences then Open and Save tab. Select Display HTML files as HTML code instead of formatted text
- Copy and paste the code.
- Edit the code the line [$folder = './FOLDER NAME/';] should be [$folder = './PASSWORDS/';] without the brackets.
- Save the file in PASSWORDS. Name it File.php.
- Quit Textedit
- Open Terminal
- CD to the PASSWORDS folder. Which should be [cd ~/PASSWORDS/] without brackets. If you properly placed PASSWORDS in your Home folder.
- Now you should be able to run [$ php file.php] in Terminal. Without brackets of course:rolleyes:.
 

velocityg4

macrumors 604
Dec 19, 2004
7,330
4,721
Georgia
Just to confirm.
- You changed Locko.lockexp to locko.zip.
- You then extracted that file
- This created a folder (parent folder) with some subfolders those folders contain files
- The parent folder you renamed PASSWORDS. You then placed this parent folder in the your users root folder.

This is just so I know it is in the right location. Based on my understanding of the original authors instructions.

How many passwords are we talking about? It might be quicker easier to just open each password in Locko. Then paste the relevant data into 1Password manually.
 
  • Like
Reactions: Ulenspiegel

Ulenspiegel

macrumors 68040
Original poster
Nov 8, 2014
3,212
2,490
Land of Flanders and Elsewhere
Yes, it was placed in the right directory.
Everything was done as on the mentioned webpage with your walkthrough.

The error message still persists.

Anyway, I think I will copy/paste the records (over a hundred) as you have proposed. This solution came to my mind as well yesterday, but I hoped I could win some time and energy with the conversion.

Thank you very much for your time. :)
 

mikestreety

macrumors newbie
Jun 16, 2020
1
1
Hello!

I appreciate this thread is over 2 years old, but I was sent the link by someone who was experiencing some trouble with the code in my post.

First off, apologies - it seems Locko changed the format of their export slightly (the blog post was 3 years old at the time and now 5!)

With thanks the the aforementioned person, I have worked with them to update the code. Also, with thanks to velocityg4's notes above, I have tweaked the instructions to hopefully make it a bit clearer.

I realise that two years later, this update might not help the original poster, but it might help someone in the future who finds this post


Thanks for all the feedback (and not bad mouthing my post!)
 
  • Like
Reactions: velocityg4
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.