mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Improve dnssec key generation on low entropy devices
See https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/963368
This commit is contained in:
parent
f43750b4d6
commit
c2065f0a72
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ def dyndns_subscribe(subscribe_host="dyndns.yunohost.org", domain=None, key=None
|
|||
logger.info(m18n.n('dyndns_key_generating'))
|
||||
|
||||
os.system('cd /etc/yunohost/dyndns && ' \
|
||||
'dnssec-keygen -a hmac-md5 -b 128 -n USER %s' % domain)
|
||||
'dnssec-keygen -a hmac-md5 -b 128 -r /dev/urandom -n USER %s' % domain)
|
||||
os.system('chmod 600 /etc/yunohost/dyndns/*.key /etc/yunohost/dyndns/*.private')
|
||||
|
||||
key_file = glob.glob('/etc/yunohost/dyndns/*.key')[0]
|
||||
|
|
Loading…
Add table
Reference in a new issue