$npx skillfedfor your agent

ntlm-auth

Creates NTLM authentication structures

SkipPyPI SecurityReleased Jun 20201.1M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ntlm_auth-1.5.0-py2.py3-none-any.whl
v1.5.0 · released 2020-06-16 · Python >=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.* · 1 runtime deps: ordereddict

No—not for new projects. The package is abandoned (last release June 2020, last commit July 2020) and most users should use requests-ntlm instead, which provides the same NTLM support with a simpler API. Install only if you have an existing codebase already using ntlm-auth and cannot migrate, or if you need direct low-level NTLM message construction for a non-HTTP use case and accept the maintenance risk.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 2.6+ or 3.4+; ordereddict dependency for older Python versions.
  • Direct use is low-level; requests-ntlm is the recommended wrapper for HTTP clients.
  • Low install friction with a single pure-Python dependency (ordereddict).

License · maintenance · safety

MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2020-06-16 (2250 days) · last repo commit 2020-07-07 · 54 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,135,075 downloads/mo, #4,312 on PyPI

Verify before relying

from ntlm_auth.ntlm import NtlmContext

ntlm_context = NtlmContext('username', 'password', 'domain', ntlm_compatibility=3)
negotiate_message = ntlm_context.step()
# Send negotiate_message in HTTP header, receive challenge
authenticate_message = ntlm_context.step(challenge_response)
  • Whether the package works reliably with modern Windows Server authentication in production environments post-2020
  • Current compatibility with Python 3.8+ given the last release predates those versions
  • Whether signing/sealing with RC4 meets current security requirements for your use case
Same gist for agents: .md · .json

What it is and what it does

ntlm-auth is a low-level library that handles the cryptographic and message-parsing details of NTLM (NT LAN Manager) authentication, a Windows-based authentication protocol used by some enterprise HTTP services. It constructs the three-message NTLM handshake, encodes them as base64 for HTTP headers, and can optionally sign and seal message content for integrity and confidentiality. It supports multiple NTLM variants (LM, NTLMv1, NTLMv2) and extended session security, plus channel binding tokens for additional security.

The library is designed as a building block rather than a user-facing tool. The documentation explicitly recommends that most users install requests-ntlm instead, which provides a simpler interface for HTTP authentication. Direct use of ntlm-auth requires manual message exchange with a server and careful handling of the authentication state machine. The package depends only on ordereddict, keeping installation friction minimal.

Use it for

  • Authenticate HTTP requests to legacy Windows/Active Directory services that require NTLM when requests-ntlm is unavailable
  • Implement custom NTLM authentication in a non-HTTP protocol or specialized client where a standard wrapper does not fit
  • Sign and seal message content for integrity and confidentiality in NTLM-protected communication channels
  • Integrate NTLM support into a proxy, gateway, or middleware that cannot use requests-ntlm directly

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No—not for new projects.

The package is abandoned (last release June 2020, last commit July 2020) and most users should use requests-ntlm instead, which provides the same NTLM support with a simpler API. Install only if you have an existing codebase already using ntlm-auth and cannot migrate, or if you need direct low-level NTLM message construction for a non-HTTP use case and accept the maintenance risk.

Install

ntlm-auth on PyPI

Before you install

Low install friction with a single pure-Python dependency (ordereddict). However, the package is abandoned—last commit was 2020-07-07 and no releases since 2020-06-16. Most users should prefer requests-ntlm, which wraps this library with a higher-level interface.

Requires Python 2.6+ or 3.4+; ordereddict dependency for older Python versions. Direct use is low-level; requests-ntlm is the recommended wrapper for HTTP clients.

License in practice

MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

from ntlm_auth.ntlm import NtlmContext

ntlm_context = NtlmContext('username', 'password', 'domain', ntlm_compatibility=3)
negotiate_message = ntlm_context.step()
# Send negotiate_message in HTTP header, receive challenge
authenticate_message = ntlm_context.step(challenge_response)

Verify before relying

  • Whether the package works reliably with modern Windows Server authentication in production environments post-2020
  • Current compatibility with Python 3.8+ given the last release predates those versions
  • Whether signing/sealing with RC4 meets current security requirements for your use case

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=2.6,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
ordereddict
MaintenanceAbandoned 2,250 days since the last release
Last repo commit
First released
Downloads1,135,075 / month, #4,312 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Evidence: ntlm_auth-1.5.0-py2.py3-none-any.whl

Tags

Capabilities
ntlm authenticationhttp ntlm authwindows authenticationmessage signing sealingntlmv2 protocolchannel binding tokenslm authentication
Topics
authenticationwindows-legacyabandoned
PyPI keywords
authenticationauthmicrosoftntlmlm

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “message signing sealing”

  • ntlm-authConstructs and parses NTLM authentication messages (LM, NTLMv1,…
  • mailsuitemailsuite retrieves, parses, and sends emails through a unified…
  • eip712Provides Python message classes for EIP-712 typed structured data…

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also requests-ntlm2 · www-authenticate · requests-ntlm3 · httpx-ntlm · requests-ntlm · requests-negotiate-sspi · pyspnego · requests-credssp · msldap · requests-auth