From patchwork Tue Oct 30 12:20:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tincanteksup X-Patchwork-Id: 581 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director9.mail.ord1d.rsapps.net ([172.28.255.1]) by backend30.mail.ord1d.rsapps.net with LMTP id 6LDmAn7n2FtAQgAAIUCqbw for ; Tue, 30 Oct 2018 19:21:34 -0400 Received: from director6.mail.ord1c.rsapps.net ([172.28.255.1]) by director9.mail.ord1d.rsapps.net with LMTP id +Nm8An7n2FtOfQAAalYnBA ; Tue, 30 Oct 2018 19:21:34 -0400 Received: from smtp17.gate.ord1c ([172.28.255.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by director6.mail.ord1c.rsapps.net with LMTP id 0N5iAn7n2FvFPAAA5akwjA ; Tue, 30 Oct 2018 19:21:34 -0400 X-Spam-Threshold: 95 X-Spam-Score: 0 X-Spam-Flag: NO X-Virus-Scanned: OK X-Orig-To: openvpnslackdevel@openvpn.net X-Originating-Ip: [216.105.38.7] Authentication-Results: smtp17.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.105.38.7"; spf=pass smtp.mailfrom="openvpn-devel-bounces@lists.sourceforge.net" smtp.helo="lists.sourceforge.net"; dkim=fail (signature verification failed) header.d=sourceforge.net; dkim=fail (signature verification failed) header.d=sf.net; dkim=fail (signature verification failed) header.d=gmail.com; dmarc=fail (p=none; dis=none) header.from=gmail.com X-Suspicious-Flag: YES X-Classification-ID: 89e78480-dc9a-11e8-8ab1-bc305beffb0c-1-1 Received: from [216.105.38.7] ([216.105.38.7:14057] helo=lists.sourceforge.net) by smtp17.gate.ord1c.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 17/4C-32382-D77E8DB5; Tue, 30 Oct 2018 19:21:33 -0400 Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1gHdJT-0002x2-Uk; Tue, 30 Oct 2018 23:20:43 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1gHdJS-0002wv-PL for openvpn-devel@lists.sourceforge.net; Tue, 30 Oct 2018 23:20:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version :Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WW6pFUpAzJIEe/R9MRlEBa3t46xhm4qmIWBGVZ9WykU=; b=HmdpMKsQMmKHrj/UE5+S4Npm4c 68DGBFKiYm9+hzSLd+EEd46YzfpMzs20YTGQQautwCXKBByms69rHRcPyfGj8ObOP0Kn+VkrPqz2l 2PdSZF1TRfQhwB0r7z4Wc8QQ4ySEQ+Z9SGyUcFWhI6O6+Uuu2D9Es76ITibsE364Tzds=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID: Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=WW6pFUpAzJIEe/R9MRlEBa3t46xhm4qmIWBGVZ9WykU=; b=I tPrRL4z6GcDrHaFk6zhh16On+j3Q6oOzUEQMjQcC2MZkXluYg+RB2jLhELmDIChjq/N74FXwVnFxC PBbdUZKMTumj+ALcFgG03V8+0J/8s9FfeOANd/on/c7niCu8sjGLQKBEiPVJj7g0rwqlzVDhXABO4 TAtq/aPlWujyKV5M=; Received: from mail-wr1-f51.google.com ([209.85.221.51]) by sfi-mx-4.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.90_1) id 1gHdJR-00FKsc-9t for openvpn-devel@lists.sourceforge.net; Tue, 30 Oct 2018 23:20:42 +0000 Received: by mail-wr1-f51.google.com with SMTP id i17-v6so14397874wre.7 for ; Tue, 30 Oct 2018 16:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=WW6pFUpAzJIEe/R9MRlEBa3t46xhm4qmIWBGVZ9WykU=; b=U65qJ3N/fLaBIOGiwnXsUXb9RdrO3HXvTEx/trk2SRIrciAbQ5tLG+mTS6+jiqBGU1 qOuT7ZOct3lHHyK91iX1TwF149TT5qt7OFs3+HK8RjKumALq6ved6ZkbS/vQtQzsInL6 Vcac8B9c8ipkO+/o+DuKjsmo5sDX23tILvAXF6UlO0TyFAMLqx8Z3suGVnBDdrIU4ZrJ pKeah7xoYuCxzaeScv97nZhvK57yfeUvjImaxkr6/33XMlNfatlf51q/aLk03FmBbm4L mjiMZEXR7RSfANVZkrFZ+0kN0hmZn/OktgbKXUAq3sj7lWKcSpZDYI/pFyEqXbDt5YYQ RyjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=WW6pFUpAzJIEe/R9MRlEBa3t46xhm4qmIWBGVZ9WykU=; b=bZAVzkACiO/70R8XgqrRO5dCqBsXAz9me296RLftw07hXRvb9j4GYXVRB1R4PW7Zvb /5QXQR9VkdU9h+cisD8kRAYyw0rWhQcPiayhuNtBKIwgUBpIBUBoNTypV4WNU/+V8pd7 K0FW40jI8q3yIJL8F7vId1oyWKrdHz+x8kgIv6B+z+aSLZK/pfX/DeFCGmMeYcXtEvUk FJ+4FDjTOoHKq8hN9rS9k4Q2eSNF03uhIcQGySHxOLIL21QJGavdktWzZ+3lPYNfRrcP fF0D7R/kTU+MroLx5bkuiAqVq2tF0AsaDwMBsEHWZBUucPUKw3MSvXrQkjvXw6M0LJRw DuOw== X-Gm-Message-State: AGRZ1gJUsSc5GQotDCypsQhLDu2e5Gq3xx6v7r5p6hDre7EGeLAsTFnM OGfrTChrQCwpWSKKTm+jkYXCPKY9 X-Google-Smtp-Source: AJdET5ewz3x7yFQgf07r7bvTeLoiwuFsmtWxx7fBN3DtuQDrXGC5fmi/2JazGXi1Vh7ug0C43oXofQ== X-Received: by 2002:a5d:424a:: with SMTP id s10-v6mr534752wrr.260.1540941634299; Tue, 30 Oct 2018 16:20:34 -0700 (PDT) Received: from [10.2.201.101] (host-92-21-59-75.as13285.net. [92.21.59.75]) by smtp.gmail.com with ESMTPSA id 78-v6sm13991944wma.38.2018.10.30.16.20.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Oct 2018 16:20:33 -0700 (PDT) To: "openvpn-devel@lists.sourceforge.net" From: tincanteksup Message-ID: <87a06f64-26df-d1f2-3039-08f8addfaa3b@gmail.com> Date: Tue, 30 Oct 2018 23:20:32 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Language: en-GB X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.221.51 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tincanteksup[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.51 listed in wl.mailspike.net] X-Headers-End: 1gHdJR-00FKsc-9t Subject: [Openvpn-devel] [PATCH] Correct error message for --tls-crypt-v2-genkey client X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox Correct error message for --tls-crypt-v2-genkey client Signed-off-by: Richard Bonhomme Acked-by: Steffan Karger --- tls_crypt_v2_write_client_key_file(options->tls_crypt_v2_genkey_file, diff --git a/src/openvpn/init.c b/src/openvpn/init.c index 882337b2..39e8ca5f 100644 --- a/src/openvpn/init.c +++ b/src/openvpn/init.c @@ -1087,7 +1087,7 @@ do_genkey(const struct options *options) { if (!options->tls_crypt_v2_file) { - msg(M_USAGE, "--tls-crypt-v2-gen-client-key requires a server key to be set via --tls-crypt-v2"); + msg(M_USAGE, "--tls-crypt-v2-genkey requires a server key to be set via --tls-crypt-v2 to create a client key"); }