Header encryption

Aug 2, 2016 at 9:14 AM
Edited Aug 2, 2016 at 9:33 AM

Is it possible to add this argument to password protection/encryption?

Header encryption:
Add -mhe to encrypt headers. The password command will automatically deal with encrypted headers.
Remember, encrypted headers will hide the names of the files in your archive.

After that, password is asked even to see filenames inside archive..

Thank you in advance,


Edit: It seems that I was able to "hardcode" it by changing line #2278 to this:
If(Test-Variable "BkArchivePassword") { $Bk7ZipArgs += "-p$BkArchivePassword -mhe" }

just added "-mhe" after password, not the most beautiful way, but probably working. :)
Aug 5, 2016 at 8:53 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Aug 6, 2016 at 7:08 PM
Thank you Fraction for your smart suggestion.

New release 2.0.2 implements this.
Aug 13, 2016 at 11:10 AM
Edited Aug 13, 2016 at 11:22 AM
Hi and thank you, but it gives "unexpected token ']' in statement"-error of line 2547.

I think there is one extra }-mark on line 2345 now. :)
Aug 13, 2016 at 3:10 PM
You're right but it's already amended.
Please redownload 2.0.2.

Aug 13, 2016 at 5:17 PM
Hmm.. I tried with two computers and with both download links:

but it seems that I'm still getting the old version, because there is still "}" on line 2345.