Fix generatepresharedkey script

This commit is contained in:
Evan Cordell 2016-04-29 15:21:19 -05:00
parent 2aa88dcb80
commit af4106e5c0

View file

@ -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')