Thanks Ivan,

On 12 July 2016 at 14:55, Ivan Kurnosov <[email protected]> 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 <[email protected]> wrote:
>>
>> just use base64 encode
>>
>> On 12 July 2016 at 14:50, Jochen Daum <[email protected]> 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: [email protected]
>>> 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 [email protected]
>>> To unsubscribe, send email to
>>> [email protected]
>>> ---
>>> 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 [email protected].
>>> 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 [email protected]
>> To unsubscribe, send email to
>> [email protected]
>> ---
>> 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 [email protected].
>> 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 [email protected]
> To unsubscribe, send email to
> [email protected]
> ---
> 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 [email protected].
> 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: [email protected]
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 [email protected]
To unsubscribe, send email to
[email protected]
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to