Making archives with encrypt filenames?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
user2030ble
Junior Member
Junior Member
Posts: 4
Joined: 2014-05-05, 23:02 UTC

Making archives with encrypt filenames?

Post by *user2030ble »

Hi,
Total Commander allows to make archives with password.

But everyone can see names of files, etc.

How make an anrchive with encrypt filenames??
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Use e.g. WINRAR.EXE as a packer for RAR format, with -p option in config, or Total7zip packer plugin for 7z.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

user2030ble,
TC itself packs only into ZIP which doesn't support encrypted names. However RAR or 7Z formats do support such feature so you have to use them for your task, just like Gral said. So, after installing plugin or configuring external RAR packer, you can use Alt+F5 and chose corresponding archive format.

Gral,
As far as I remember, it is -hp switch that encrypts filenames, usual -p only encrypts data.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

MVV
That's true, but it displays a dialog box where the user can choose to encrypt the names, while -hp displays dialog box with this option checked.
User avatar
silencer
Senior Member
Senior Member
Posts: 208
Joined: 2003-05-13, 13:18 UTC
Location: The Netherlands

Post by *silencer »

Or pack the files 2 times. In other words, pack the archive again.
user2030ble
Junior Member
Junior Member
Posts: 4
Joined: 2014-05-05, 23:02 UTC

Post by *user2030ble »

Great :)
I hope that any chance to do it by 'checkbox' only somewhere in total :)

It should be some chechbox in pack dialog - then always can be packed with default option.

Every time should add '-p' or '-hp' parametr ;)
But always it's some solution :)


Thanks
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7024
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

user2030ble wrote:Great :)
I hope that any chance to do it by 'checkbox' only somewhere in total :)

It should be some chechbox in pack dialog - then always can be packed with default option.

Every time should add '-p' or '-hp' parametr ;)
But always it's some solution :)


Thanks
Use the Total7zip plugin and you can set the "Encrypt" checkbox in TC pack dialog.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

You can make this option permanent:
on "Pack files" dialog select "RAR", press "Configure" and type -p or -hp at the end of the "RAR packer line"
E.g.
C:\PATH\TO\FILE\WINRAR.EXE -p

Note: if you press "Cancel" on WINRAR dialog window it only cancel password prompt, files will be packed without password!
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7024
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Gral wrote:You can make this option permanent:
on "Pack files" dialog select "RAR", press "Configure" and type -p or -hp at the end of the "RAR packer line"
E.g.
C:\PATH\TO\FILE\WINRAR.EXE -p

Note: if you press "Cancel" on WINRAR dialog window it only cancel password prompt, files will be packed without password!
For normal encryption you can also use the "Encrypt" option in TC pack dialog
It will automatically provide the correct switch to the configured Winrar.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

That's right, but it causes the appearance of additional dialogs and (with default options) the behavior of the archives as if they were not passwords protected (TC remember password by default).
User avatar
Horst.Epp
Power Member
Power Member
Posts: 7024
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

Gral wrote:That's right, but it causes the appearance of additional dialogs and (with default options) the behavior of the archives as if they were not passwords protected (TC remember password by default).
No, it doesn't remember the password by default !
There is a checkbox in the password dialog if one wants that.
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

Sorry, my fault, i don't use this option, but probably enabled it during tests.
user2030ble
Junior Member
Junior Member
Posts: 4
Joined: 2014-05-05, 23:02 UTC

Post by *user2030ble »

Gral wrote:You can make this option permanent:
on "Pack files" dialog select "RAR", press "Configure" and type -p or -hp at the end of the "RAR packer line"
E.g.
C:\PATH\TO\FILE\WINRAR.EXE -p

Note: if you press "Cancel" on WINRAR dialog window it only cancel password prompt, files will be packed without password!
GREAT :)
But one little thing
What parametr - to set ENCRYPT FILE NAMES withoutk 'SHOW PASSWORD'
or alone - PACK - without 'SHOW PASSWORD'? :)

Cancel work great also :P
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

To pack files without prompting
- with data encrypt, without encrypt filenames:
C:\PATH\TO\FILE\WINRAR.EXE -pPASSWORD

- with data and file names encrypt:
C:\PATH\TO\FILE\WINRAR.EXE -hpPASSWORD
where PASSWORD is your actual password

Be careful: password is saved in INI file as a plain text (no encrypting)!
user2030ble
Junior Member
Junior Member
Posts: 4
Joined: 2014-05-05, 23:02 UTC

Post by *user2030ble »

No, i don't mean that...
In WINRAR my box 'show password' was still checked...
But I found reason - WINRAR remember my last use...

I run winrar - Made archive and uncheked 'show password'.
Now it's fine.

TOTAL can make me this is what I really need :D
THANKS!!!! :D
Post Reply