Author Topic: Help with Command Line Usage  (Read 287 times)

0 Members and 1 Guest are viewing this topic.

Offline dhiggs88

  • Member
  • *
  • Posts: 3
Re: Help with Command Line Usage
« Reply #5 on: May 29, 2017, 04:43:43 AM »
Thank you for your reply!

I figured out what is happening.

The command line version only checks for the master password and ignores any additional passwords, so attempts to mount an encrypted volume from the command line by anything other than that volume's master password will fail. This is why both 'pass word' and 'pass<word' failed to mount for me but succeeded for you. Try them again as additional passwords and they should fail.

I thought the special characters were the problem until I found that the additional passwords were not working regardless of what characters were used.

Offline Jetico

  • Jetico Inc. Support Engineer
  • *
  • Posts: 1530
Re: Help with Command Line Usage
« Reply #4 on: May 22, 2017, 10:41:09 AM »
We have double-checked the behavior.

Using ^ as a control symbol should work smoothly. So -Ppass^ word should work.

BCVE will also accept space character if the "-P" parameter is the last parameter and the space key is not last symbol in the password string. So even -Mount E: -Ppass word should work.

Are you checking if the volume is mounted in the UI? Try giving it a couple of seconds and tap F5 to refresh the view.

Offline dhiggs88

  • Member
  • *
  • Posts: 3
Re: Help with Command Line Usage
« Reply #3 on: May 22, 2017, 12:07:31 AM »
Gotcha, that answers my question, thanks!  No need to get back to me, my version of bcve is past its update period anyway, and the easy obvious solution for me is to just avoid those characters (or add an additional password which does not contain them), which works well enough. Just consider it a bug report or whatever :). Thanks again.

Have a great day!

Offline Jetico

  • Jetico Inc. Support Engineer
  • *
  • Posts: 1530
Re: Help with Command Line Usage
« Reply #2 on: May 19, 2017, 02:23:47 PM »
We have reproduced the problem. We will need to analyze the source code to understand why this is happening. We will get back you early next week

Offline dhiggs88

  • Member
  • *
  • Posts: 3
Help with Command Line Usage
« Reply #1 on: May 17, 2017, 06:29:46 PM »
Hello,

It appears bestcrypt is unable to correctly parse passwords containing <> or blank spaces (and possibly other symbols) from the command line.

What I've tried:

Encrypted volume with the master password and additional passwords:

password
pass word
pass<word

Command Prompt run as Administrator:

(x86)\Jetico\Bestcrypt Volume Encryption>  bcfmgr.exe -Mount E: -Ppassword  (Worked as expected)

The rest fail

bcfmgr.exe -Mount E: -P"password"
bcfmgr.exe -Mount E: "-Ppassword"
bcfmgr.exe -Mount E: -Ppass word    expected to fail
bcfmgr.exe -Mount E: -Ppass^ word
bcfmgr.exe -Mount E: -P"pass word"
bcfmgr.exe -Mount E: "-Ppass word"
bcfmgr.exe -Mount E: -P"pass^ word"   expected to fail
bcfmgr.exe -Mount E: "-Ppass^ word"   expected to fail
Same results for pass<word
Same results in PowerShell
Verified all passwords work from gui

Just making sure I am not doing something wrong before giving up! Thanks!

 


Except where otherwise stated, all content, graphics, banners and images included © 2006 - 2018 Smokey Services™ -- All rights reserved
Design board graphics, banners and images by DSTM & PseFrank

This site does not store profiling-, tracking-, third-party and/or any other non-essential cookie(s) on client computers and is fully compliant with the EU ePrivacy Directive
Smokey's does not use any Web Analytics/Analysis Service, and also does not use any browser fingerprinting techniques



Smokey's also provides free fully qualified Log / Malware Analysis & Removal Help and System Health Checks