In order to secure a packet capture, which method would you use to make all (or close to all) past captured packet utterly unaccessible unless a given password is given.
My habbits are
to mount an
ecryptpartitionmount -t ecryptfs /srv /srvto run
tsharkwith a buffer and save files on the encrypted filesystem/media/tshark -B 100k -i wlan0 -w /srv/capture-file.pcap
The problem with this method is that the file capture-file.pcap is only unaccessible once the ecryptfs system is unmounted.
How can I do a capture with no non-encrypted version of the capture on the system at all?