ansible-vault format

9 views
Skip to first unread message

Dick Visser

unread,
Oct 23, 2023, 8:52:48 AM10/23/23
to ansible...@googlegroups.com
Hii,

I've always wondered what the format of the ansible vault is, more specifically why it consists of only numbers, as that seems like an insufficient way to represent data.
It is as if the content has to go through some medium that can only understand digits?

Dick

Matt Martz

unread,
Oct 23, 2023, 10:23:01 AM10/23/23
to ansible...@googlegroups.com
The encryption used is AES256, but what you are seeing in the vault output is not the direct result of the encryption. The result currently goes through binascii.hexlify 2 times, resulting in only having numbers.  We are looking at removing the 2nd pass in the future.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAF8BbLaDnu_xyYYdE8ZbRAjp_i2iY9PJnsA8Eji99HKfNHb12w%40mail.gmail.com.


--
Matt Martz
@sivel
sivel.net

Will McDonald

unread,
Oct 23, 2023, 10:25:01 AM10/23/23
to ansible...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages