Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: python3 + migrate PyCrypto to PyCryptodome + parsing splitted strings in TXT records #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zeuh
Copy link

@Zeuh Zeuh commented Apr 20, 2023

Closes #1

Zeuh added 3 commits April 20, 2023 14:48
Signed-off-by: Yann 'Ze' Richard <[email protected]>
PyCrypto 2.x is unmaintained, obsolete, and contains security vulnerabilities.

Python package : pycryptodomex
Debian package : python3-pycryptodome

Signed-off-by: Yann 'Ze' Richard <[email protected]>
Because of RFC 1035 section 2.3.4 TXT records are limited to 255 characters. However RFC 4408 allow to split string into portions of 255 characters :
- Size Limits: https://www.rfc-editor.org/rfc/rfc1035.html#section-2.3.4
- TXT RDATA format : https://www.rfc-editor.org/rfc/rfc1035.html#section-3.3.14
- Multiple Strings in a Single DNS record : https://www.rfc-editor.org/rfc/rfc4408#section-3.1.3

From : countsudoku@3863dd8
Author : https://github.com/countsudoku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error for splitted DNS records
1 participant