Re: XTS cipher mode for cluster file encryption
От | Robert Haas |
---|---|
Тема | Re: XTS cipher mode for cluster file encryption |
Дата | |
Msg-id | CA+TgmoYJMAtGSR3ragOrwrAiWhd_TA2mqMjBmMNOiHOA8pJv8Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: XTS cipher mode for cluster file encryption (Stephen Frost <sfrost@snowman.net>) |
Ответы |
Re: XTS cipher mode for cluster file encryption
Re: XTS cipher mode for cluster file encryption |
Список | pgsql-hackers |
On Fri, Oct 15, 2021 at 3:22 PM Stephen Frost <sfrost@snowman.net> wrote: > Specifically: The default cipher for LUKS is nowadays aes-xts-plain64 > > and then this: > > https://gitlab.com/cryptsetup/cryptsetup/-/wikis/DMCrypt > > where plain64 is defined as: > > plain64: the initial vector is the 64-bit little-endian version of the > sector number, padded with zeros if necessary > > That is, the default for LUKS is AES, XTS, with a simple IV. That > strikes me as a pretty ringing endorsement. Yes, that sounds promising. It might not hurt to check for other precedents as well, but that seems like a pretty good one. I'm not very convinced that using the LSN for any of this is a good idea. Something that changes most of the time but not all the time seems more like it could hurt by masking fuzzy thinking more than it helps anything. -- Robert Haas EDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: