Import from a text file
|Back to Overview|
There are so many way how people make secret notes and hide them. A piece of paper, the page 318 in a book, the bottom side of a furniture, just to name a few. This situation has not changed when it comes to computers. There is no "standard" format to store secrets, but there are many "confidential" formats.
This, of course, makes it difficult to import secrets into our program sharedSecrets. What we can do is to import text files in a flexible way. The text file has to have one line (row) per secret, and the different parts of the secret, e.g. the secret's name, the user id, the password, are all in this row, and are separeted by some separator. Supported separator are a comma, a tab or a semicolon. Such a text file may look like:
|User ID||password||topic||topic group||comments||homepage/address|
|401713-4487-3872-1601||4589||Gold Card||bank||confirmation no: 225|
|Mr. Smith||36768989||Swiss Numbered Account||money||"clerk: Mr. Rütlihuber keyphrase: security rules"||Zürich, Uriplatz 1|
|Mr. Jones||all you need is love||stock depot Bahamas||money||Bahamas securities bank||Nassau, 5 main street|
|6767||BMW coupe car radio||cars||press left button for 5 sec, then enter code|
|3right, 4left, 17right||safe behind Picasso||money|
|789.334.567||safe in office||money||enter new code: enter old code, press hash key for more than 3 sec, then follow menu|
As you can see from this example, there are empty fields possible, and the first line of the text file is not a secret itself, but contains the original column headers. To import this file, follow these steps:
The import is undoable. If yo do not like the result of the import, simply undo it. Then, you can modify the text file and try it again.
Secrets with an empty secret name in the column "secret" are not imported.
If a secret with the same name exists already in the data base of sharedSecrets, this secret is not imported.
Secrets with no category name in the column "category" are moved to the group "imported secrets"
Having all secrets in an unencrypted text file is a security risk. Delete the text file as soon as possible. Are there any versions of the text file somewhere in a backup? Delete the backup versions also.