News for hackers. Stuff that matters.
Re:We Cracked a 512-Bit DKIM Key for Less Than $8 in the Cloud by nyrikki on Wednesday January 08, 2025 @01:19PM (#42636900)
RFC1035 imposes a 255 character limit per string on TXT records .
Re:We Cracked a 512-Bit DKIM Key for Less Than $8 in the Cloud by mjl- on Wednesday January 08, 2025 @02:17PM (#42637477)
Yes, so you use multiple strings (in a single record) if you need longer values:

"first 255 bytes" "second 255 bytes" "etc"

DNS clients combine the 255-byte strings back into a single string.

Re:We Cracked a 512-Bit DKIM Key for Less Than $8 in the Cloud by teddyh on Thursday January 09, 2025 @05:08AM (#42643704)
> DNS clients combine the 255-byte strings back into a single string.

No, DKIM clients and SPF clients do that. Generic DNS clients, however, are in theory free to ascribe any semantic meaning they like to the string separations.