Ensure key is good enough for acme-dns to accept

Signed-off-by: Max Ehrlich <max.ehr@gmail.com>
This commit is contained in:
Max Ehrlich 2018-08-03 13:02:28 -04:00
parent 240828b272
commit d12fbc161f
No known key found for this signature in database
GPG Key ID: 439AC62D3C8A495A

View File

@ -29,6 +29,7 @@ func TestLiveAcmeDnsPresent(t *testing.T) {
provider, err := NewDNSProviderHostBytes(acmednsHost, acmednsAccountsJson)
assert.NoError(t, err)
err = provider.Present(acmednsDomain, "", "123d==")
// ACME-DNS requires 43 character keys or it throws a bad TXT error
err = provider.Present(acmednsDomain, "", "LG3tptA6W7T1vw4ujbmDxH2lLu6r8TUIqLZD3pzPmgE")
assert.NoError(t, err)
}