diff --git a/util/generatepresharedkey.py b/util/generatepresharedkey.py index 25b7576e6..4343deb51 100644 --- a/util/generatepresharedkey.py +++ b/util/generatepresharedkey.py @@ -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')