Header encryption

Aug 2, 2016 at 8:14 AM
Edited Aug 2, 2016 at 8:33 AM
Hi,

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.
Tip:
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,

Fraction

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. :)
Coordinator
Aug 5, 2016 at 7:53 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Aug 6, 2016 at 6:08 PM
Thank you Fraction for your smart suggestion.

New release 2.0.2 implements this.
Aug 13, 2016 at 10:10 AM
Edited Aug 13, 2016 at 10: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. :)
Coordinator
Aug 13, 2016 at 2:10 PM
You're right but it's already amended.
Please redownload 2.0.2.

Regards.
Aug 13, 2016 at 4:17 PM
Hmm.. I tried with two computers and with both download links:
https://7zbackup.codeplex.com/downloads/get/1599796
https://7zbackup.codeplex.com/downloads/get/1600109

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