Skip to content
Snippets Groups Projects
Commit e2e92ea0 authored by Guido Trotter's avatar Guido Trotter
Browse files

Generate hmac file with a newline at the end


This makes it slightly easier to cut&paste its content.

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent d2c8afb1
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ def GenerateHmacKey(file_name): ...@@ -107,7 +107,7 @@ def GenerateHmacKey(file_name):
@param file_name: Path to output file @param file_name: Path to output file
""" """
utils.WriteFile(file_name, data=utils.GenerateSecret(), mode=0400) utils.WriteFile(file_name, data="%s\n" % utils.GenerateSecret(), mode=0400)
def _InitGanetiServerSetup(master_name): def _InitGanetiServerSetup(master_name):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment