Account Databases

From Lime 49 Wiki
Revision as of 13:10, 3 January 2010 by Harry jennerway (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Click File->Open or Save to open or save a database.

See Also: Synchronizing with a Phone/PDA


Creating a New Database

Click File->New->Database to create a new database. Select the database type and encryption, enter a password then click Create.

Creating a database

Check Open when the application starts to automatically open the new database every time LockCrypt starts.

Opening an Existing Database

Click File->Open to open an existing database. You must know the type of encryption the file uses even if you're unsure of it's format. If Auto is selected, LockCrypt will attempt to guess the format and assume it uses and empty password.

Password prompt

If the database is password protected, a prompt will be shown.

Exporting / Saving a Database

Click File->Save to save a copy of the currently loaded database.


To import an account database, click File->Open, then select the file format.

Using an External / Portable Database

If one is set, LockCrypt will try to open the database from the preferred location specified in the Options dialog. To open a different file, specify it as a parameter when launching LockCrypt.exe. If you use the installer, a file extension can be automatically created.

See also

  1. Command Line Options

Changing the Password

Click File->Change Password to change the database password.

Automatic Re-locking

LockCrypt can automatically re-lock after a specified length of inactivity. Select Tools->Options to configure auto-lock. LockCrypt can either close the database so you need to re-open it with File->Open, or just lock it and reprompt for a password. This can be configured in Tools->Options.

Database Descriptor Files

Descriptor files can be used to save needing to remember the type of database type (both XML and SQLite use .lce by default) and the encryption algorithm. Database descriptor files are just text files with a .lcd extension. They allow specifying the database connection details, encryption algorithm and password and use the same format as command line arguments, with one argument per line. LockCrypt will prompt for any unspecified options when the file is opened (eg: if the password is ommited).

Descriptors must contain "lockcrypt" db on the first line, with the arguments on each line thereafter.

The path to the actual file can be relative or absolute. If a relative path is given (ie: just a filename), LockCrypt looks in the directory of the descriptor file, then in the application directory (where LockCrypt.exe is located). This is normally the directory where you installed LockCrypt. You may wish to keep the actual database on a USB stick and a descriptor file on a PC for example.


The file below would open an SQLite database called sqlite-aes-password3.db3 in the same directory as the descriptor file, using 256bit AES encryption with a password of apple.

lockcrypt db

This would open an XML database called xml-aes.lce in the specified directory as the descriptor file, using 256bit AES encryption with a password of apple. If the database uses a password, LockCrypt will prompt you to enter it.

lockcrypt db
-db=C:\LockCrypt Databases\xml-aes.lce

The file below would connect to a MySQL database on server pegasus, authenticating as user ic.weiner and password littles3cret, with lockcrypt as the database name.

lockcrypt db

Available Formats

XML is the preferred way to store data. It is always guaranteed to be compatible between versions.
SQLite is an alternative to XML which can not always be migrated between versions.
MySQL stores data in an encrypted format on a MySQL server.
Legacy Format is used by LockCrypt for Java and uses either a proprietory file structure or XML file.

Note: The legacy format does not allow groups to be nested, and is primarily intended for importing from earlier versions.

Back to LockCrypt Help Contents

Personal tools