Wireshark-bugs: [Wireshark-bugs] [Bug 11407] Update decryption table from Lua
Date: Tue, 28 Jul 2015 23:22:30 +0000

Comment # 3 on bug 11407 from
Actually I was thinking of implementing this as a more general enhancement: the
ability for Lua to read and set preferences of other protocols. Right now Lua
can create new preferences for protocols it creates, but it can't retrieve/set
existing C-code preferences.

Lua can also already force a re-loading of the file; so once it can
retrieve/set preferences, it will be able to read/set the encryption key stuff.
(I suppose whether it's "safe" to let any/all Lua scripts read the encryption
keys is a bit debatable; but I'd argue they can already do worse damage)

Also, in the future I plan to let Lua scripts write/read custom blocks/options
in PCAPNG files, so that one could, for instance, save the security stuff in
the file and read it back on loading the file. (though really we should create
a new PCAPNG block type for that purpose)


You are receiving this mail because:
  • You are watching all bug changes.