Browse Source

set output path for request and certificate

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

+ 2
- 2
authority.py View File

@ -62,8 +62,8 @@ class SSHAuthority(Authority):
assert type(request) in self.request_allowed
pub_key_path = os.path.join(OUTPUT_PATH, request.req_id + '.pub')
cert_path = os.path.join(OUTPUT_PATH, request.req_id + '-cert.pub')
pub_key_path = request.destination
cert_path = Certificate(request.req_id).path
with open(self.path + '.serial', 'r') as stream:
next_serial = int(stream.read())


Loading…
Cancel
Save