OpenCIFS.Security 0.1.1

There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package OpenCIFS.Security --version 0.1.1
                    
NuGet\Install-Package OpenCIFS.Security -Version 0.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenCIFS.Security" Version="0.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OpenCIFS.Security" Version="0.1.1" />
                    
Directory.Packages.props
<PackageReference Include="OpenCIFS.Security" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OpenCIFS.Security --version 0.1.1
                    
#r "nuget: OpenCIFS.Security, 0.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OpenCIFS.Security@0.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OpenCIFS.Security&version=0.1.1
                    
Install as a Cake Addin
#tool nuget:?package=OpenCIFS.Security&version=0.1.1
                    
Install as a Cake Tool

OpenCIFS.Security

Shared OpenCIFS security helpers for NTLMv2, SPNEGO, signing, encryption, transcript hashing, and SMB key derivation.

OpenCIFS 0.1.1 is alpha software. This package reflects the bounded security surface currently exercised by OpenCIFS, and exhaustive compatibility testing across SMB dialects, authentication environments, and external peers has not been performed.

Scope

  • NTLMv2 response and MIC helpers
  • SPNEGO token handling
  • SMB signing and verification helpers
  • SMB 3.0.2 AES-128-CCM transform helpers
  • preauthentication hashing and negotiated key-derivation helpers

OpenCIFS.Security is an advanced dependency package. Most consumers should use it transitively through OpenCIFS.Client or OpenCIFS.Server instead of taking a direct dependency.

Install

dotnet add package OpenCIFS.Security

The verified scope currently matches the managed NTLMv2 and signing flows used by OpenCIFS under SMB 2.0.2 and SMB 2.1 by default, plus the bounded SMB 3.0 / SMB 3.0.2 AES-CMAC signing slice and the bounded SMB 3.0.2 AES-128-CCM encrypted-session slice. Native Kerberos and broader SMB 3.x behavior such as SMB 3.1.1 signing or encryption negotiation remain backlog.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OpenCIFS.Security:

Package Downloads
OpenCIFS.Client

Managed OpenCIFS direct-TCP SMB 2.0.2 through bounded SMB 3.0.2 client library.

OpenCIFS.Server

Managed OpenCIFS direct-TCP SMB 2.0.2 through bounded SMB 3.0.2 server library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.1-alpha 23 10/3/2026
0.2.0-alpha 30 10/3/2026
0.1.1 181 9/29/2026

0.1.1: fixed truncated multi-page directory enumeration (and '.'/'..' are no longer returned), short-read truncation in ReadAllBytesAsync, READ/WRITE frames that exceeded the direct-TCP frame limit, stale responses after cancellation, unsafe concurrent use of one client connection, raw ChannelClosedException on transport loss, OperationCanceledException on connect timeout, and stale or inconsistent server file timestamps; added OpenCifsClientTransportException, ranged ReadAsync, streaming OpenReadAsync and WriteAsync(Stream), Metadata.ExistsAsync, recursive Directories.CreateAsync, share-root paths, and directory-entry IsDirectory plus UTC timestamps. See https://github.com/jchristn/OpenCIFS/blob/main/CHANGELOG.md.