-
Notifications
You must be signed in to change notification settings - Fork 17
grpc: add session crypto information support #158
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
grpc: add session crypto information support #158
Conversation
92f244c
to
0400571
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from the typo in the commit subject, grpc: add support for session crypto inforamation
could mention "backend" as it basically modifies the grpc backend.
These junk values were placeholders I was using for some very early on debugging and somehow stopped noticing them. Remove them. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Add session crypto message to the protobuf/grpc definition. Regenerate generated files. Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
Signed-off-by: John Mulligan <[email protected]>
0400571
to
be57928
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixes: #156
After looking at the code and the implemenation in samba I decided it was easiest and best to mimic the structure seen in the JSON, adding a new SessionCrypto message type and using that for the encryption and signing fields of the smbstatus.