Locko – “personal cloud”

I am strongly against clouds, and the reason here is not that some naked pictures recently leaked from somewhere. I simply don’t store sensitive data at someone’s hard drives. Period.

However, I need some sort of cloud for my personal usage – especially for Locko. I don’t want to copy paste all the passwords manually.

locko

As a personal “cloud server” I use svn installed on FreeBSD. To be able to exchange data between Locko’s database you have to transfer this directory

~/Library/Group Containers/J3CP9BBBN6.com.binarynights/Locko.lckdb

All you have to do is:

1. create SVN repository at your server

svnadmin create /svn/repos/Locko.lckdb

2. make sure you can access it in read/write mode

# pay attention to these files
/svn/repos/Locko.lckdb/conf/svnserve.conf
/svn/repos/Locko.lckdb/conf/userfile

3. checkout Locko.lckdb project at the machine that contains Locko database

# MAKE sure to create backup before proceeding any further !!
cd ~/Library/Group\ Containers/J3CP9BBBN6.com.binarynights/
mv Locko.lckdb Locko.lckdb~
svn co svn://yourhost/Locko.lckdb
# go to newly created directory
cd Locko.lckdb
# and get database from original location
cp -r ../Locko.lckdb~/* .
# make sure to add all data into SVN
svn add hosts
svn add default
svn commit -m "created new database for Locko"

4. on second machine, simply checkout database

# MAKE sure to create backup before proceeding any further !!
cd ~/Library/Group\ Containers/J3CP9BBBN6.com.binarynights/
mv Locko.lckdb Locko.lckdb~
svn co svn://yourhost/Locko.lckdb

And that’s it. In my case it works fine as one of the machines is the master and the other one is used occasionally. I haven’t tried to merge simultaneous additions or modifications of passwords. However, I expect some issues here as everything here are binary data.

Comments (2)

anonymousMay 8th, 2018 at 8:55 am

How do I can acces a deleted file from the locko backups ??

anonymousMay 8th, 2018 at 7:20 pm

I have no freaking idea. ;)

I guess you have to e-mail Locko support.