Browse Source

use destination from request class

master
Edoardo Putti 8 years ago
parent
commit
603af91db5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      authority.py

+ 1
- 1
authority.py View File

@ -93,7 +93,7 @@ class SSHAuthority(Authority):
with open(self.path + '.serial', 'w') as stream:
stream.write(str(next_serial + 1))
with open(pub_key_path, 'w') as stream:
with open(request.destination, 'w') as stream:
stream.write(request.key_data)
ca_private_key = self.path


Loading…
Cancel
Save