Yep, as per the standard that's sufficient. I must admit though - that particular implementations might not respect it fully and require something extra.
On 12 July 2016 at 15:21, Jochen Daum <j...@automatem.co.nz> wrote: > Thanks Ivan, > > On 12 July 2016 at 14:55, Ivan Kurnosov <zer...@zerkms.ru> wrote: > > http://www.yaml.org/spec/1.2/spec.html#id2776092 > > > > The standard provides all the requirements for escaping. > > So for escaping a password of printable ASCII characters I need to > escape double quote, slash and backslash only, do I understand this > right? > > Kind Regards, > > Jochen > > > > > > > Using `base64` is surely not a solution (for the problem). > > > > On 12 July 2016 at 14:54, anru chen <ctx2...@gmail.com> wrote: > >> > >> just use base64 encode > >> > >> On 12 July 2016 at 14:50, Jochen Daum <j...@automatem.co.nz> wrote: > >>> > >>> Hi, > >>> > >>> has anyone seen an online converter or script to encode strings with > >>> special characters as yaml strings? I thought it was as simple as > >>> placing \ in front of " and \ and placing the string in double quotes, > >>> however it seems {} and other characters also need encoding? > >>> > >>> This is to place complex passwords inside an ansible vault > >>> > >>> -- > >>> Kind Regards, > >>> > >>> Jochen Daum > >>> > >>> P.S.: Is there anything else https://www.automatem.co.nz/can-help.html > >>> with? > >>> > >>> "There is no shortcut to anywhere worth going" - Beverly Sills > >>> > >>> Automatem Ltd > >>> Tauranga: +64 7 281 1289 > >>> Auckland: +64 9 630 3425 > >>> Mobile: +64 21 567 853 > >>> Email: j...@automatem.co.nz > >>> Website: www.automatem.co.nz > >>> Skype: jochendaum > >>> http://nz.linkedin.com/in/automatem > >>> http://twitter.com/automatem > >>> > >>> -- > >>> -- > >>> NZ PHP Users Group: http://groups.google.com/group/nzphpug > >>> To post, send email to nzphpug@googlegroups.com > >>> To unsubscribe, send email to > >>> nzphpug+unsubscr...@googlegroups.com > >>> --- > >>> You received this message because you are subscribed to the Google > Groups > >>> "NZ PHP Users Group" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an > >>> email to nzphpug+unsubscr...@googlegroups.com. > >>> For more options, visit https://groups.google.com/d/optout. > >> > >> > >> -- > >> -- > >> NZ PHP Users Group: http://groups.google.com/group/nzphpug > >> To post, send email to nzphpug@googlegroups.com > >> To unsubscribe, send email to > >> nzphpug+unsubscr...@googlegroups.com > >> --- > >> You received this message because you are subscribed to the Google > Groups > >> "NZ PHP Users Group" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an > >> email to nzphpug+unsubscr...@googlegroups.com. > >> For more options, visit https://groups.google.com/d/optout. > > > > > > > > > > -- > > With best regards, Ivan Kurnosov > > > > -- > > -- > > NZ PHP Users Group: http://groups.google.com/group/nzphpug > > To post, send email to nzphpug@googlegroups.com > > To unsubscribe, send email to > > nzphpug+unsubscr...@googlegroups.com > > --- > > You received this message because you are subscribed to the Google Groups > > "NZ PHP Users Group" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to nzphpug+unsubscr...@googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > Kind Regards, > > Jochen Daum > > P.S.: Is there anything else https://www.automatem.co.nz/can-help.html > with? > > "There is no shortcut to anywhere worth going" - Beverly Sills > > Automatem Ltd > Tauranga: +64 7 281 1289 > Auckland: +64 9 630 3425 > Mobile: +64 21 567 853 > Email: j...@automatem.co.nz > Website: www.automatem.co.nz > Skype: jochendaum > http://nz.linkedin.com/in/automatem > http://twitter.com/automatem > > -- > -- > NZ PHP Users Group: http://groups.google.com/group/nzphpug > To post, send email to nzphpug@googlegroups.com > To unsubscribe, send email to > nzphpug+unsubscr...@googlegroups.com > --- > You received this message because you are subscribed to the Google Groups > "NZ PHP Users Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nzphpug+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- With best regards, Ivan Kurnosov -- -- NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to nzphpug@googlegroups.com To unsubscribe, send email to nzphpug+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "NZ PHP Users Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to nzphpug+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.