Message ID | 1516770381-29466-1-git-send-email-selva.nair@gmail.com |
---|---|
Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Delivered-To: patchwork@openvpn.net Received: from director4.mail.ord1d.rsapps.net ([172.30.191.6]) by backend31.mail.ord1d.rsapps.net (Dovecot) with LMTP id E287CZwUaFoAWAAAgoeIoA for <patchwork@openvpn.net>; Wed, 24 Jan 2018 00:07:40 -0500 Received: from proxy5.mail.ord1d.rsapps.net ([172.30.191.6]) by director4.mail.ord1d.rsapps.net (Dovecot) with LMTP id k50UCZwUaFr/MgAAHDmxtw ; Wed, 24 Jan 2018 00:07:40 -0500 Received: from smtp21.gate.ord1c ([172.30.191.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by proxy5.mail.ord1d.rsapps.net (Dovecot) with LMTP id yEjwCJwUaFpLKwAA8Zzt7w ; Wed, 24 Jan 2018 00:07:40 -0500 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.34.181.88] Authentication-Results: smtp21.gate.ord1c.rsapps.net; iprev=pass policy.iprev="216.34.181.88"; 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-Classification-ID: 7fadd4d6-00c4-11e8-b935-a0369f0d8808-1-1 Received: from [216.34.181.88] ([216.34.181.88:3650] helo=lists.sourceforge.net) by smtp21.gate.ord1c.rsapps.net (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) (ecelerity 4.2.1.56364 r(Core:4.2.1.14)) with ESMTPS (cipher=DHE-RSA-AES256-GCM-SHA384) id 08/10-31655-B94186A5; Wed, 24 Jan 2018 00:07:39 -0500 Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1eeDGa-0007z0-4u; Wed, 24 Jan 2018 05:06:32 +0000 Received: from sfi-mx-2.v28.ch3.sourceforge.com ([172.29.28.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from <selva.nair@gmail.com>) id 1eeDGY-0007yt-T9 for openvpn-devel@lists.sourceforge.net; Wed, 24 Jan 2018 05:06:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: MIME-Version:Content-Type: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=1dy2PlHuwzgxOhuwZVGKB5r7Qg2rT1+U3z0HYltK/N0=; b=lVI9kAkrbbcns1U2DvPyDkbpn+ nYEd+iPkWu7a7bmgQgEVlCECG6AiMZfhhWVA3dJLYvmENgKxSDs2MB12Dq1QkM2v7SoeF2vK5/SJa Jih5K/d1Pk1p+QxVH++dSy5jrcih8HLJapQk2AUPLZa2LZVpSNJD1ovegDxWzbt+Hqeg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:MIME-Version: Content-Type: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=1dy2PlHuwzgxOhuwZVGKB5r7Qg2rT1+U3z0HYltK/N0=; b=E6ZUEzr9dxqNPc6Psq4oJEMjEu VRLI9otuZS+uiCu6dGd3GXqtE4uxia7/Oe0Y6M60DX2Y+hwx+DZUZuS3f4v50L4rR3VWSJj7YPfZM fqFvkLLlFJwd29QpccS9Nehxkt46eEpgdA8sPvUNeaB3w1VmteWsq0RKOLL7DdxoBpZg=; Received: from mail-it0-f65.google.com ([209.85.214.65]) by sfi-mx-2.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) id 1eeDGY-0007tb-4U for openvpn-devel@lists.sourceforge.net; Wed, 24 Jan 2018 05:06:30 +0000 Received: by mail-it0-f65.google.com with SMTP id u62so3738093ita.2 for <openvpn-devel@lists.sourceforge.net>; Tue, 23 Jan 2018 21:06:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=1dy2PlHuwzgxOhuwZVGKB5r7Qg2rT1+U3z0HYltK/N0=; b=WUNwXVgtESOJmNSemWHJEjErEj4IgqAI73/tsymgg88okWla7N5khwdyEdfxZl/Mw+ JykGKHgfwGjpTIs7ENxt+N0rsyzbqsvJW0MqsnsfAOXgqoQgIAh4z5LngbFeVlCiI6Tq X4sG4c+4ttXOib8Q0F/dut7HJVzHt4AR0tEP2giQ7Hh/PGb3XknBAE8Hj9E4tWDsPm1e hVpn2bUyIXH3syatYk1Dl0CWbvlYMWndHSocaG5YWQp6zJPubBXmOpCg+J4krVnwmnHY gOt+7H0ShKyGtq0KE16i7koSHfX/mVQgWc997ac7V20MIcMFy/jFyKz+9HA4YG6sfFhO u/Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=1dy2PlHuwzgxOhuwZVGKB5r7Qg2rT1+U3z0HYltK/N0=; b=pKIoOGFavfdSm8w96ea0RAQ+UuIDhlFbES4UXNx5mtG5Fg++vNJEclbRRy5DaHNy/A wxWDbYQ/K9FCai/P8SC/GlU1c46AJPsKHVhGsezE57uhF47WzXVR8unZj3QrVwr96W6f P2k9HDkAwHckUOIlzPyQfOUX2tgdAthfj3fu++jAFBAUyhm2lIwcY8FA1CM6NZTzOW0Z uV2X0VjbMo4xROdaLLJ5X6h8UWm0GdIKKcbeuqmYWiOM6QvhkRMGrOQJS+aZywu5eiWI KUf4J4I1lzHLwlEBgHhVMdyLhuXdustFPNXDr20k3HrxnmA2l3hXlNlGpGqB0JRM+vuC HnmA== X-Gm-Message-State: AKwxytfvwUg9GI3q/ZO3Kj713RCIsAu6hU8cZwr8XwWBK/Qhk6uYNEqC SmLBMQW3AGYiyLue3Gnj93IQNAUd X-Google-Smtp-Source: AH8x225XZuYf8N33dHRDy8FEPyGHB5ZjYP1BbvQn2Trg4CRVnmnwfIsjOc2/GZIsA0izMRYSuztv7Q== X-Received: by 10.36.94.140 with SMTP id h134mr7365385itb.150.1516770384667; Tue, 23 Jan 2018 21:06:24 -0800 (PST) Received: from saturn.home.sansel.ca (CPE40167ea0e1c2-CM788df74daaa0.cpe.net.cable.rogers.com. [99.228.215.92]) by smtp.gmail.com with ESMTPSA id 140sm289669itx.3.2018.01.23.21.06.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Jan 2018 21:06:24 -0800 (PST) From: selva.nair@gmail.com To: openvpn-devel@lists.sourceforge.net Date: Wed, 24 Jan 2018 00:06:18 -0500 Message-Id: <1516770381-29466-1-git-send-email-selva.nair@gmail.com> X-Mailer: git-send-email 2.1.4 X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (selva.nair[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [209.85.214.65 listed in list.dnswl.org] -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_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1eeDGY-0007tb-4U Subject: [Openvpn-devel] [PATCH 0/3] Support-EC-certificates-with-cryptoapicert X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox |
Series |
Support-EC-certificates-with-cryptoapicert
|
expand
|
From: Selva Nair <selva.nair@gmail.com> With ecdsa signature support via management-external-key in limbo, let's try to get EC support for Windows users through cryptoapicert. Patch 1 and 2 are some code refactoring to make it easy for the 3rd patch that implements ECDSA signing using NCryptSignHash(). Tested on Windows 10 and Windows 7 with openssl 1.1.0g and an EC cert in user's certificate store. Selva Nair (3): Move code to free cd to a function CAPI_DATA_free() Move setting private key to a function in prep for EC support Support EC certificates with cryptoapicert src/openvpn/cryptoapi.c | 381 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 296 insertions(+), 85 deletions(-)