lua-lockbox icon indicating copy to clipboard operation
lua-lockbox copied to clipboard

util.bit support for Lua 5.4

Open cmcqueen opened this issue 1 year ago • 1 comments

I've been using Lockbox for a Lua dissector in Wireshark 3.6 to 4.2, which uses Lua 5.2.

In Wireshark 4.4 which now uses Lua 5.4.6, I get an error "no bitwise support found". It looks as though Lua 5.4 removes bit32.

cmcqueen avatar Nov 12 '24 11:11 cmcqueen

I also have been using lockbox on wireshark dissectors and I have made a patch to workaround with this problem.

I have only tested it with DES + CBC, but it seems do work ok.

It's not something that should be merged, as it possibly breaks something, but you could test to see if it fits your needs.

bitwise.patch

gcarlos64 avatar Oct 12 '25 18:10 gcarlos64