From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:60731) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGA9P-0005mg-Uh for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGA9O-0006Mp-On for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGA9O-0006Ml-Ls for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGA9O-0002Bc-KQ for guix-patches@gnu.org; Sun, 22 Mar 2020 19:37:02 -0400 Subject: [bug#38957] [PATCH 2/4] gnu: Add python-ntlm-auth. Resent-Message-ID: From: Christopher Baines Date: Sun, 22 Mar 2020 23:36:43 +0000 Message-Id: <20200322233645.3220-2-mail@cbaines.net> In-Reply-To: <20200322233645.3220-1-mail@cbaines.net> References: <20200322233645.3220-1-mail@cbaines.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38957@debbugs.gnu.org From: Alexandros Theodotou * gnu/packages/python-crypto.scm (python-ntlm-auth): New variable. --- gnu/packages/python-crypto.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index e82599bb5f..0c4cfff959 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -1281,6 +1281,35 @@ package provides a tool to securely sign firmware images for booting by MCUboot.") (license license:expat))) +(define-public python-ntlm-auth + (package + (name "python-ntlm-auth") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "ntlm-auth" version)) + (sha256 + (base32 + "16mavidki4ma5ip8srqalr19gz4f5yn3cnmmgps1fmgfr24j63rm")))) + (build-system python-build-system) + (propagated-inputs + `(("python-cryptography" ,python-cryptography))) + (home-page "https://github.com/jborean93/ntlm-auth") + (synopsis + "Calculates NTLM Authentication codes") + (description + "This library handles the low-level details of NTLM authentication for +use in authenticating with a service that uses NTLM. It will create and parse +the 3 different message types in the order required and produce a base64 +encoded value that can be attached to the HTTP header. + +The goal of this library is to offer full NTLM support including signing and +sealing of messages as well as supporting MIC for message integrity and the +ability to customise and set limits on the messages sent. Please see Features +and Backlog for a list of what is and is not currently supported.") + (license license:expat))) + (define-public python-secretstorage (package (name "python-secretstorage") -- 2.25.1