Open Malunke opened 4 years ago
Correct, however this issue was fixed way back. As indicated in the linked thread. The App developer of the client application needs to update the dependency to the latest version.
Thanks a lot - the developer promised he updated everything but it still doesn't work. I will forward it to the developer and ask him to double check his implementation.
Thanks a lot.
Otherwise, do you have a pcap (network trace) file which can be analyzed?
Op di 14 apr. 2020 om 19:34 schreef Malunke notifications@github.com:
Thanks a lot - the developer promised he updated everything but it still doesn't work. I will forward it to the developer and ask him to double check his implementation.
Thanks a lot.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hierynomus/smbj/issues/546#issuecomment-613578466, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4XIYXS2P2AFPUQRYN763RMSNBDANCNFSM4MH36JOQ .
I can't use wireshark because the client is my android phone (I don't know how to capture there) and the server is OmniOS -> also there packet capture is difficult for me.
The developer of MiXplorer answered to me:
The log shows that in this class "PacketSignatory", it can't verify the signature of the received packet header. Maybe its algorithm is not "HmacSHA256" but I'm not sure. I'm using the latest version of library. Maybe there is a setting I need to change but I don't really know.
Dear Developers,
I can't use SMB2 with OmniOS.
I think it is related to: https://illumos.topicbox.com/groups/developer/T5092d83142769ad1/smb2-with-android-mixplorer-and-illumos-omnios
The signature is only ever 16 bytes long. The fix for the linked issue suggests that the SMBJ implementation didn't account for padding during signing/verification.