Skip to content
Snippets Groups Projects
Unverified Commit 6840a520 authored by Jordan Borean's avatar Jordan Borean Committed by GitHub
Browse files

Add newer encryption types and signing algorithms (#147)

This adds the new encryption types AES 256 GCM/CCM and support for
negotiating the signing algorithm, including AES GCM supported on newer
SMB 3.1.1 dialects. These algorithms were introduced in Server
2022/Windows 11 and Samba 4.15.x and can improve the speed of
encryption/signatures dependending on the CPUs involved.

The encryption and signing algorithms can now also be specified by the
caller when calling connection.connect() in order to influence what is
offered by the client and its priority order.

The negotiate NETNAME_CONTEXT_ID negotiate context is also added to the
negotiate request as per the updated guidelines for SMB. This new
context doesn't influence the negotiation process but is used for
network inspection tools to determine the target of the request.
parent b9cce4a1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment