From patchwork Tue Oct 30 23:22:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steffan Karger X-Patchwork-Id: 582 Return-Path: Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director11.mail.ord1d.rsapps.net ([172.27.255.56]) by backend30.mail.ord1d.rsapps.net with LMTP id KOxGDt+C2Vv5LAAAIUCqbw for ; Wed, 31 Oct 2018 06:24:31 -0400 Received: from proxy12.mail.iad3a.rsapps.net ([172.27.255.56]) by director11.mail.ord1d.rsapps.net with LMTP id GIU5C9+C2VtofgAAvGGmqA ; Wed, 31 Oct 2018 06:24:31 -0400 Received: from smtp4.gate.iad3a ([172.27.255.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy12.mail.iad3a.rsapps.net with LMTP id 8NF6BN+C2VvsQgAAh9K5Vw ; Wed, 31 Oct 2018 06:24:31 -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: smtp4.gate.iad3a.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; dmarc=none (p=nil; dis=none) header.from=fox-it.com X-Suspicious-Flag: YES X-Classification-ID: 26bf589e-dcf7-11e8-b14f-5254003c557e-1-1 Received: from [216.105.38.7] ([216.105.38.7:27400] helo=lists.sourceforge.net) by smtp4.gate.iad3a.rsapps.net (envelope-from ) (ecelerity 4.2.38.62370 r(:)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 3E/A3-06514-ED289DB5; Wed, 31 Oct 2018 06:24:30 -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 1gHney-0005gy-Ks; Wed, 31 Oct 2018 10:23:36 +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 1gHnex-0005gq-Dx for openvpn-devel@lists.sourceforge.net; Wed, 31 Oct 2018 10:23:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Date:Subject: CC:To:From:Sender:Reply-To:Content-Transfer-Encoding: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=4HbDYCTxGPDa+P7XeSbAzUny3MzOcI/kgQsLdGztbys=; b=maA71hxHJGgaIttEz+J1rTE1PN qeaD1w2vmlJyAxwYtrvAwkSGMrOzb97gBaG01KmvJr5RDQw47LHyxBRwv/Y7fOLSw1OHHQCC733L4 mpUCkXjeKKtgei/VZZ+GhhSbPCRM/jWFLPwgvbetJGC86HxvzsPxo/6X+3X/o9u2V+o8=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender: Reply-To:Content-Transfer-Encoding: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=4HbDYCTxGPDa+P7XeSbAzUny3MzOcI/kgQsLdGztbys=; b=Z htmEjUYGHDK+7fD6jZINquuou/3ng0EHM43tp0sz4EmAjTc9sfdwX225lgx8WMzM7w+8NmfkMwX4I jWjJsfyAWkoUpo6I00hixA2JsUJQBO8v67QMaPldCECdKadI0umMD1HpYmh5QgNGCu5fuOcoWhKPR nE227Ui/lDU5w/0A=; Received: from ns2.fox-it.com ([178.250.144.131]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.90_1) id 1gHnet-0082yu-9I for openvpn-devel@lists.sourceforge.net; Wed, 31 Oct 2018 10:23:35 +0000 Received: from FOXDFT52.FOX.local (unknown [10.0.0.129]) by ns2.fox-it.com (Postfix) with ESMTPS id 30BE91AF918 for ; Wed, 31 Oct 2018 11:23:22 +0100 (CET) Received: from steffan-fox.fox.local (10.0.3.178) by FOXDFT52.FOX.local (10.0.0.129) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 31 Oct 2018 11:23:22 +0100 From: Steffan Karger To: Date: Wed, 31 Oct 2018 11:22:57 +0100 Message-ID: <1540981377-22752-1-git-send-email-steffan.karger@fox-it.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-ClientProxiedBy: FOXDFT52.FOX.local (10.0.0.129) To FOXDFT52.FOX.local (10.0.0.129) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -0.0 SPF_PASS SPF: sender matches SPF record X-Headers-End: 1gHnet-0082yu-9I Subject: [Openvpn-devel] [PATCH] tls-crypt-v2: clarify --tls-crypt-v2-genkey man page section 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 As kitsune1 mentioned in IRC, this section should explain that "--tls-crypt-v2-genkey client" requires the user to supply the server key using "--tls-crypt-v2". Signed-off-by: Steffan Karger Acked-by: Antonio Quartulli --- doc/openvpn.8 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/openvpn.8 b/doc/openvpn.8 index 94b5cc4..f38fba9 100644 --- a/doc/openvpn.8 +++ b/doc/openvpn.8 @@ -5314,6 +5314,11 @@ If no metadata is supplied, OpenVPN will use a 64\-bit unix timestamp representing the current time in UTC, encoded in network order, as metadata for the generated key. +A tls\-crypt\-v2 client key is wrapped using a server key. To generate a +client key, the user must therefore supply the server key using the +.B \-\-tls\-crypt\-v2 +option. + Servers can use .B \-\-tls\-crypt\-v2\-verify to specify a metadata verification command.