Fix generatepresharedkey script
This commit is contained in:
parent
2aa88dcb80
commit
af4106e5c0
1 changed files with 1 additions and 2 deletions
|
@ -43,6 +43,5 @@ if __name__ == '__main__':
|
|||
parser.add_argument('--notes', help='Optional notes about the key', default=None)
|
||||
|
||||
args = parser.parse_args()
|
||||
approver_user = model.user.get_user(args.approver)
|
||||
generated, _ = generate_key(approver_user, args.service, args.name, args.expiration, args.notes)
|
||||
generated, _ = generate_key(args.service, args.name, args.expiration, args.notes)
|
||||
print generated.exportKey('PEM')
|
||||
|
|
Reference in a new issue