Hi,
Based on this wizard; Generate DNS OPENPGPKEY Record
I want to add OPENPGPKEY-record(s), but is does not accept my input.
I keep getting the following error;
Record content for type OPENPGPKEY malformed: Incorrect padding
What am I doing wrong?
Erwin
peter
March 4, 2025, 11:26am
2
Hi Erwin,
Thanks for your message, and welcome to deSEC!
bovenkamp:
What am I doing wrong?
It’s hard to say without the record content. Can you share it?
Stay secure,
Peter
1 Like
From the error message, it appears that the BASE64 encoded key is not padded to a length that is divisible by 4. Just append one or two = characters so that its length is a multiple of 4.
1 Like
You are right! I have added an extra = at the end and it work.
Thank you very much @GenericUser .
@peter is this something which can be check during entering the value?
Or make the error message a little bit more clear?
peter
March 4, 2025, 1:50pm
5
We could add that, yes. Can you please create a feature request on GitHub?
Thanks,
Peter
1 Like