Try System.getenv "UNISON" (* Use UNISON dir if it is set *)Īssert false (* osType can't be anything else *)) Try System.getenv "USERPROFILE" (* Windows NT/2K standard *) Try System.getenv "HOME" (* Windows 9x with Cygwin HOME set *) (*We don't want the behavior of Unison to depends on whether it is runįrom a Cygwin shell (where HOME is set) or in any other way (where System.fspathFromString "/Your path here"Ĭomment out from here: (if (osType = `Unix) || isCygwin then You also need to open ubase/util.ml and edit: let homeDir () = There is a file called pty.c in the unison source - find the following section: // openptyĪnd comment out define HAS_OPENPTY 1 as shown. Follow the instructions at and then you will need to do a few things. You may have found something you are happy with now but I have compiled a binary of unison that works on android - it is possible using the hand-waving instructions you are talking about - I used them to cross-compile the linux source within ubuntu 12.10 using the android NDK and with a few alterations to the code it is now working. KeePass doesn't give any hints whether it requires key, password or both - which works to your advantage. But I would recommend against this, as in this case the security is even lower than a password-protected database - instead of a password you have in your head, you use a "password" (the key file) that is on your device. keyboard loggers), you can only use the database from devices that have the key AND now which file is actually the key.įor convenience, you might want to have key-only authentication on a mobile device (secure passwords are tedious to type on a mobile device, and you obviously don't want to use anything short and easy here). In this way, you can upload your database to a random website, and even if your password gets compromised for some reason (i.e. Configure your KeePass clients not to remember the location of the key (remembering the location of the database is fine).Dropbox in particular keeps a copy of the files you upload and then delete at least for a week for backup purposes (quite convenient, I must admit), but if your key is on the server already, it's not more secure than a normal password-protected database. It goes without saying that the service should have an Android client if you want to use it on your device.ĭO NOT upload your key there - use another method to copy it to the devices you need. Upload your database to a third-party storage service (I use Dropbox, but other options would work just as well). Preferably put it in a crowded directory where it would seem like some configuration file or some random noise file created by a program. Copy the key to the local storage of all your devices, and give it some inconspicuous name.The password database can only be unlocked when both pieces are in place. This will give you a two-factor authentication ("something you know" - your password, and "something you have" - your key). Protect the database with the password (I assume you have, already), and a key.This won't work for other sensitive material, but since you asked specifically for KeePass, here's what I do: You might want to consider another option here, if you want to use this for KeePass password database.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |