From 23858158e0385553af29b485831713fa579e4771 Mon Sep 17 00:00:00 2001 From: mh Date: Mon, 14 Jan 2013 22:08:41 +0100 Subject: add note about migrating yaml backend --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 339153d..a0c2343 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,8 @@ Simply build and install the gem. 1. be sure to update as well the moneta gem, trocla now uses the official moneta releases and supports current avaiable versions. 1. Options for moneta's backends have changed. For example, if you are using the yaml-backend you will likely need to change the adapter option `:path:` to `:file:` to match moneta's new API. -1. SECURITY: Previous versions of trocla used quite a simple random generator. Especially in combination with the puppet `fqdn_rand` function, you likely have very predictable random passwords and I recommend you to regenerate all randomly generated passwords! Now! +1. *IMPORTANT:* If you are using the yaml backend you need to migrate the current data *before* using the new datastore! Use the following two sed commands `sed -i 's/^ / /' /PATH/TO/trocla_data.yaml` && `sed -i '/^ value\:/d' /PATH/TO/trocla_data.yaml`. +1. *SECURITY:* Previous versions of trocla used quite a simple random generator. Especially in combination with the puppet `fqdn_rand` function, you likely have very predictable random passwords and I recommend you to regenerate all randomly generated passwords! Now! 1. We now support reading passwords from files, which means that you can now also easily add multi-line passwords. Have a look at the documentation above. ## Contributing to trocla -- cgit v1.2.3