cpu / goacmedns

Go library to handle acme-dns client communication and persistent account storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storage: Strip `*.` prefix in Put

cpu opened this issue · comments

The same Account should be used for foo.example.com and *.foo.example.com.
pyacmedns does this:
https://github.com/joohoi/pyacmedns/blob/25f0d1c6d11f3f6fb7d5fa25baaa8b98168326e9/pyacmedns/__init__.py#L178-L181

Should Fetch also strip a *. prefix? Probably.

I don't think this is necessary in practice. Closing until there is justification.