veracrypt / VeraCrypt

Disk encryption with strong security based on TrueCrypt
https://www.veracrypt.fr
Other
6.72k stars 935 forks source link

Veracrypt unable to mount file and freezes if Bus Pirate 5 device is connected #1363

Open lemonlime0x3C33 opened 2 months ago

lemonlime0x3C33 commented 2 months ago

Not sure if this is a VeraCrypt or Bus Pirate 5 issue (I suspect the later) but everything works fine unless I connect the Bus Pirate 5 and try and mount a file, VeraCrypt will attempt but then become unresponsive and freeze. The only thing that seems to fix it is to unplug the Bus Pirate 5 and reboot the computer.

Expected behavior

Observed behavior

Not sure if this is a VeraCrypt or Bus Pirate 5 issue (I suspect the later) but everything works fine unless I connect the Bus Pirate 5 and try and mount a file, VeraCrypt will attempt but then become unresponsive and freeze. The only thing that seems to fix it is to unplug the Bus Pirate 5 and reboot the computer.

I am making this issue in case others experience the same thing, I will attempt to recreate this with other similar devices (The Bus Pirate 5 does mount its own storage, unlike previous version)

Steps to reproduce

  1. connect Bus Pirate 5 (firmware ci-buspirate5-main-6a2842f board rev10)
  2. open VeraCrypt and attempt to mount a file
  3. VeraCrypt will become unresponsive and freeze, killing it does nothing

Your Environment

Please tell us more about your environment

VeraCrypt version: 1.26.7

Operating system and version: Ubuntu 22.04 LTS

System type: 64-bit x86

idrassi commented 3 weeks ago

I was intrigued by this issue and did some research to learn more about Bus Pirate devices.

It turns out that the Bus Pirate 5 can operate in different modes (e.g., SPI, I2C, UART, etc.). What mode is your Bus Pirate 5 in when this issue occurs? Does changing the mode have any effect?

Additionally, after connecting the Bus Pirate 5 and attempting to mount a file with VeraCrypt, please check the output of dmesg for any related error messages. This might provide insight into what's going wrong at the system level:

dmesg | tail -n 50

Hopefully, someone with expertise in Bus Pirate devices can offer more clues or suggestions.