Browse Source

set ssh authority as always root authority

master
Edoardo Putti 7 years ago
parent
commit
aa26f0700c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ca_manager/models/ssh.py

+ 1
- 0
ca_manager/models/ssh.py View File

@ -82,6 +82,7 @@ class SSHAuthority(Authority):
"""
# check if the public key exists
if not self:
self.isRoot = True
# let ssh-keygen do its job
subprocess.check_output(['ssh-keygen',
'-f', self.path,


Loading…
Cancel
Save