Hi Markus, Guillaume and Fabian first of all, thank you all for your productive replies! I have resorted for now to use passwords without any special and unicode characters (as that might have been the actual issue here). Moving the password to different files seems a bit difficult as I need them to generate config files for various applications, and I need a lot of them (for each client I easily have 10 different passwords / keys). As soon as I managed to get stronger passwords to work, I'll be glad to report back here how I did it ;-)
Kind regards and keep up the great attitude, you guys rock! Erik On Wed, Jan 13, 2016 at 3:16 PM Fabian Schmitthenner < [email protected]> wrote: > Hi Erik, > > besides " and \ also ${ needs to be escaped as written in the manual > (https://nixos.org/nix/manual/ Section 15.1). > > Fabian > > On 01/12/2016 03:48 PM, 4levels wrote: > > Hi Nix Devs, > > > > I'm really struggling to get strong passwords correctly parsed in my nix > > configuration files. I keep getting errors about unexpected $end or > > $undefined at wrong places (eg. there is no $ or ; anywhere near the > > reported failure). > > Deleting the passwords from the nix config file solves this, so the > > error is definitely related to the contents of these strings. > > > > I'm using a random password generator to create strong passwords, like > > ETrai_5{h'aG,MQ: > > I've tried writing them with double quotes, double single quotes and > > single quotes, with and without escaping, all to no avail. I also can't > > seem to find a list of the characters that should be escaped (I only see > > " and \ and those are not in those passwords. > > > > Do you have any tips on how to store many different strong password and > > use it in nix configuration files? I need those passwords to be in an > > object structure so I can build custom config files from them. > > > > For the record, I'm using git-crypt to prevent these files from being > > read by unauthorized clients / people > > > > Kind regards, > > > > Erik > > > > > > _______________________________________________ > > nix-dev mailing list > > [email protected] > > http://lists.science.uu.nl/mailman/listinfo/nix-dev > > > > _______________________________________________ > nix-dev mailing list > [email protected] > http://lists.science.uu.nl/mailman/listinfo/nix-dev >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
