mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 08:35:56 +03:00
[GH-ISSUE #319] incorrect padding for binascii.a2b_base64 #249
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#249
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Jun 20, 2017).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/319
Originally assigned to: @ThomasWaldmann on GitHub.
@DanielO commented on GitHub (Apr 12, 2018):
I had this, the secret is too long for the field and gets truncated.
Although after this patch it complains it can't set/delete connectivity-test.mydomain :(
@DanielO commented on GitHub (Apr 12, 2018):
Actually turns out I had the key setup incorrectly and it works with that patch!
@ThomasWaldmann commented on GitHub (Apr 12, 2018):
@DanielO can you explain why 90 is correct and 88 isn't?
When base64-encoding a 512bits long bytes object, I get a bytes object of length 88.
@DanielO commented on GitHub (Apr 12, 2018):
Ah wait, I just realised my issue..
I ran "dnssec-keygen -a HMAC-SHA512 -b 512 -n ENTITY ddns" and copied the key from the .key file which is 89 bytes long but the .private key is 88 characters long.
I have absolutely no idea why they are different though!