-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Describe the bug
We're successfully connecting to an unencrypted SMB2 server hosted by a third party. We can create files successfully, however watching a directory will:
- Timeout when no event happens in 10 seconds. This I think is intended behavior as the default timeout is 10 seconds.
- Result in a "Failed to verify incoming message"
TransformErrorwhen an event happens
I've patched it locally with an extremely simplistic and insecure approach. In verify_plain_incoming I simply skip verification for unencrypted messages by setting form.signed to true and returning an Ok(()). This fixes the issue.
I'm sure you have a good reasons for the verification, but is it possible that this is not behaving correctly as it stands?
To Reproduce
I've copied the code from the notify test from this repository and made minimal modifications to run on my already-setup tokio executor.
Desktop (please complete the following information):
- OS, architecture & version: [e.g. macOS 15.2, arm64]: Ubuntu 22 LTS, x86
- Version [e.g. 0.8.1]: 0.9.0
Additional context
The host is definitely an unencrypted SMB2 share (can't tell which subversion specifically).