Commit f71cd64d authored by ale's avatar ale

Drop obsolete -r option to dnssec-keygen

parent 843c33d5
......@@ -101,7 +101,7 @@ def generate_tsig_key():
# doesn't matter what the value is.
base = subprocess.check_output([
'/usr/sbin/dnssec-keygen', '-a', 'HMAC-SHA512', '-b', '512',
'-n', 'USER', '-r', '/dev/urandom', '-K', tmp_dir, 'pwgen',
'-n', 'USER', '-K', tmp_dir, 'pwgen',
]).strip()
base = base.decode()
result = {'algo': 'HMAC-SHA512'}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment