Menu

VeraCrypt Bug? Not in TrueCrypt

WRVC2016
2016-02-07
2019-06-05
  • WRVC2016

    WRVC2016 - 2016-02-07

    I made a backup of the configuration file. Before mounting, I refresh this configuration file with the backup configuration file.

    I usually select keyfiles for my mount. Once done with the keyfile selection, I click on the OK button to get back to the password dialog. At that point, the configuration xml file gets reset to VeraCrypt's default. This only happens in VeraCrypt, not TrueCrypt. Was this deliberate and why? Or is it a bug?

    Thanks

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2016-02-07

    I have fixed a similar bug in 1.17-BETA19 as indicated in the release notes here https://veracrypt.codeplex.com/wikipage?title=Release%20Notes:

    Solve issue that caused in some cases configuration and history XML files to be updated even when not needed.

    Can you please check that this indeed solves your issue?

     
  • WRVC2016

    WRVC2016 - 2016-02-07

    Hi Mournir,

    Thanks for the quick reply. I also want to thank you for carrying the torch and dedicating your time to this software!

    I extracted Beta19 as portable. The EXEs have errors upon launching in 32 bit and 64 bit.

    "The system cannot fine the file specified." Source: wWinMain:10227

    "Unable to connect to the VeraCrypt device driver. VeraCrypt cannot work if the device driver is not running. Please note that, due to a Window issue, it may be necessary to log off or restart the system before the device driver can be loaded."

    Once I rebooted, then the EXEs are operational.

    As for the original issue, it still exists in 1.17-BETA19. For some reason, it does not keep the original configuration.xml. Instead, it recreate the file from scratch.

     
  • WRVC2016

    WRVC2016 - 2016-02-07

    To recreate this issue:

    -Make a copy of the configuration file
    -Make some edits, such as the <config key="DefaultPRF">1</config> value. VeraCrypt's default is 0.
    -Mount and get to the password dialog.
    -Compare the configuration files (with a file comparison software). Should be almost exact.
    -Add keyfiles and make sure to hit "OK" after done. Even if you don't add any keyfiles, as long as you click "OK" to get back to the password dialog.
    -Compare the configuration files (with a file comparison). Defaults back to VeraCrypt's original values.

    NOTICE: the other button(Mount Options) works fine. It left the configuration file intact.

     
  • Mounir IDRASSI

    Mounir IDRASSI - 2016-02-08

    Ah...I see: the previous fix was not complete and I missed a line that still had the issue.
    This time I have implemented a compelete fix: https://sourceforge.net/p/veracrypt/code/ci/555849607935e2b2c321c606d3e3b0664c5b5a8d/

    It will be included in the next beta (maybe released tomorrow).

     
  • WRVC2016

    WRVC2016 - 2016-02-08

    OK, when the next release comes out, I will test it and let you know. Thanks

     
  • WRVC2016

    WRVC2016 - 2016-02-09

    Thanks Mounir IDRASSI. I will test it out later today and let you know.

     
  • WRVC2016

    WRVC2016 - 2016-02-10

    Mounir, I have extracted and tested 1.17-BETA20 for several hours. Issue is still there. Fortunately, I was able to pinpoint it for you to review.

    It is the command line switch of "/quit". Please review the below.

    No Error:
    "C:\TestArea\VeraCrypt-x64.exe" /beep /cache n /history n /wipecache /volume "C:\TestArea\Test.vc" /letter "Q" /quit background /keyfile "C:\TestArea\KeyFile.txt" /hash "SHA512" /PIM 888 /Password "1234"

    No Error:
    "C:\TestArea\VeraCrypt-x64.exe" /beep /cache n /history n /wipecache /volume "C:\TestArea\Test.vc" /letter "Q"

    No Error:
    "C:\TestArea\VeraCrypt-x64.exe" /beep /cache n /history n /wipecache /volume "C:\TestArea\Test.vc" /letter "Q" /keyfile "C:\TestArea\KeyFile.txt" /hash "SHA512" /PIM 888 /Password "1234"

    ERROR: When open KeyFile dialogbox and press OK, it will reset the configuration.xml back to default, causing the lost of all previous settings.
    "C:\TestArea\VeraCrypt-x64.exe" /beep /cache n /history n /wipecache /volume "C:\TestArea\Test.vc" /letter "Q" /quit background

     

    Last edit: WRVC2016 2016-02-10
  • WRVC2016

    WRVC2016 - 2016-02-12

    Awesome Mounir. Thank you for being so active on this!

     
  • WRVC2016

    WRVC2016 - 2016-02-12

    I have tested 1.17-BETA21 and the above issue has been resolved. Thank You

     

    Last edit: WRVC2016 2016-02-12
  • Anonymous

    Anonymous - 2019-06-05

    when do i use veracrypt rescue disk and how do i use it

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.