Skip to content

Decode TXT record byte literal.#2

Open
zamblauskas wants to merge 1 commit intoalisade:masterfrom
zamblauskas:decode_txt_record
Open

Decode TXT record byte literal.#2
zamblauskas wants to merge 1 commit intoalisade:masterfrom
zamblauskas:decode_txt_record

Conversation

@zamblauskas
Copy link
Copy Markdown

With some debug statements added, this is what's happening:

Checking _acme-challenge.X.Y for token jYMIkcfuFDbtoEAjzwwpbrYewPlG1u9gxJf-FsNHq3c
Got TXT records: [b'jYMIkcfuFDbtoEAjzwwpbrYewPlG1u9gxJf-FsNHq3c']
 + DNS not propagated, waiting 30s...

Token is never matched, because txt_record from DNSMadeEasy API is a byte literal but token is a regular python string.

I'm not a Python developer, so if a nicer solution exists, please suggest it.

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.

1 participant