mirror of
https://github.com/github/octodns.git
synced 2024-05-11 05:55:00 +00:00
OvhProvider python3
This commit is contained in:
@@ -345,7 +345,7 @@ class OvhProvider(BaseProvider):
|
||||
@staticmethod
|
||||
def _is_valid_dkim_key(key):
|
||||
try:
|
||||
base64.decodestring(key)
|
||||
base64.decodestring(bytearray(key, 'utf-8'))
|
||||
except binascii.Error:
|
||||
return False
|
||||
return True
|
||||
|
Reference in New Issue
Block a user