Skip to content

Commit

Permalink
Fixes small syntax typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kushaldas committed Aug 12, 2019
1 parent 92e0949 commit 6fc3763
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions admin/securedrop_admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,15 +595,15 @@ def find_or_generate_new_torv3_keys(args):
# For app ssh service
app_ssh_public_key, app_ssh_private_key = generate_new_v3_keys()
# For mon ssh service
mon_ssh__public_key, mon_ssh_private_key = generate_new_v3_keys()
tor_v3_service_info = dict(
mon_ssh_public_key, mon_ssh_private_key = generate_new_v3_keys()
tor_v3_service_info = {
"app_journalist_public_key": app_journalist_public_key,
"app_journalist_private_key": app_journalist_private_key,
"app_ssh_public_key": app_ssh_public_key,
"app_ssh_private_key": app_ssh_private_key,
"mon_ssh_public_key": mon_public_ssh_key,
"mon_ssh_public_key": mon_ssh_public_key,
"mon_ssh_private_key": mon_ssh_private_key,
)
}
with open(secret_key_path, 'w') as fobj:
json.dump(tor_v3_service_info, fobj, indent=4)

Expand Down

0 comments on commit 6fc3763

Please sign in to comment.