mirror of
https://github.com/qdm12/ddns-updater.git
synced 2026-08-02 10:38:41 -04:00
Bug: GoDaddy Error Malformed Secret #102
Reference in New Issue
Block a user
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 @IonCharge on GitHub (Feb 12, 2021).
Originally assigned to: @qdm12 on GitHub.
TLDR: GoDaddy does not work. Error shows malformed secret
caa4840)Logs:
Configuration file (remove your credentials!):
Host OS: Ubuntu 18.04 LTS
Note: I know my API key works. There is an example CURL command here: https://developer.godaddy.com/getstarted
@IonCharge commented on GitHub (Feb 12, 2021):
My Secret key is actually 21 characters. Not sure if that is because it is an older key.
I assume the issue is caused by the following line:
caa4840a61/internal/regex/regex.go (L33)#I believe this can be fixed easily with the following change:
matcher.goDaddySecret, err = regexp.Compile(`^[A-Za-z0-9]{21,22}$`)@qdm12 commented on GitHub (Feb 12, 2021):
Indeed, thanks for digging in the code! Should now be fixed in
:latestonce it's built. Feel free to comment if it does/doesn't work 👍@IonCharge commented on GitHub (Feb 13, 2021):
@qdm12
I pulled the latest build this morning to try out and I am still having the error. See below:
Version: latest built on 2021-02-12T14:39:59Z (commit
c985595)It is still showing a malformed secret error.
@qdm12 commented on GitHub (Feb 13, 2021):
I removed the check entirely for now (except check it's not empty) in
2e5b3c7924Please wait for the build to complete (check Github Actions) and then try by pulling it again 😉
@IonCharge commented on GitHub (Feb 13, 2021):
It works!
I sanitized the domain and host in the log output. Thank you so much. Let me know if you need an example of my 21 character secret key to fix the main cause.