Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the session key available to clients #21

Merged
merged 2 commits into from
Jun 17, 2015

Conversation

jlee-r7
Copy link

@jlee-r7 jlee-r7 commented Jun 10, 2015

[MS-NLMP] 3.1.5.1.2 uses ExportedSessionKey for what this code calling master_key.

SMB2 uses ExportedSessionKey as the signing key -- [MS-SMB2] 3.3.5.5.3.

This pull request changes the name to match the documentation and makes it a public method so I don't have to reach into the object's privates with send. (see https://github.com/rapid7/smb2/blob/22156bc405734c48262d4ae23497c3d2b2acb093/lib/smb2/client.rb#L215-L219)

@zenchild
Copy link
Member

Looks great. Good add.

zenchild added a commit that referenced this pull request Jun 17, 2015
@zenchild zenchild merged commit 9d2e57e into WinRb:master Jun 17, 2015
jlee-r7 pushed a commit to jlee-r7/ruby_smb that referenced this pull request Jul 13, 2015
@jlee-r7 jlee-r7 deleted the feature/surface-exported-session-key branch July 13, 2015 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants