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 public key fetcher bug when the split public key has an "n" in the edges. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eerlo
Copy link

@eerlo eerlo commented Jul 23, 2024

Public keys may be split in more than one TXT record. For such cases, there's a chance that the letter "n" sits exactly at the beginning or at the end of some of the record strings, we cannot use python's strip('\n') because it will take out the "n" and generate a wrong public key. Changed by replace('\n', '') to avoid this issue.

…e edges.

Public keys may be split in more than one TXT record. For such cases, there's a chance that the letter "n" sits exactly at the beginning or at the end of some of the record strings, we cannot use python's split('\\n') because it will take out the "n" and generate a wrong public key. Changed by replace('\\n', '') to avoid this issue.
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