[enh] use db key_algo entry to generate bind files in cron

This commit is contained in:
Laurent Peuch 2017-09-06 10:40:56 +02:00
parent eb9b14f8fe
commit 3c9eb4469c

View file

@ -95,7 +95,7 @@ for url in subs_urls:
for entry in result:
lines.extend([
'key '+ entry['subdomain'] +'. {',
' algorithm hmac-md5;',
' algorithm ' + entry['key_algo'] + ';',
' secret "'+ entry['public_key'] +'";',
'};',
])