RAR Encrypt File Name option
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 6
- Joined: 2014-02-21, 14:01 UTC
- Location: Italy
RAR Encrypt File Name option
Hi.
WinRAR encrypting facility has an option to encrypt hiding file names.
This prevents to see file and folder names inside a RAR file (everybody can see these data BEFORE inserting the password).
When using WinRAR from inside TC this option is not available.
I've tried several ways to create a button using the switch -hp from TC, without positive results.
Any suggestion?
The best should be having a check within TC Pack mask.
Tank you in advance,
ZZ
WinRAR encrypting facility has an option to encrypt hiding file names.
This prevents to see file and folder names inside a RAR file (everybody can see these data BEFORE inserting the password).
When using WinRAR from inside TC this option is not available.
I've tried several ways to create a button using the switch -hp from TC, without positive results.
Any suggestion?
The best should be having a check within TC Pack mask.
Tank you in advance,
ZZ
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: RAR Encrypt File Name option
Just add -hp to the RAR command in Configuration - Options - Packer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 6
- Joined: 2014-02-21, 14:01 UTC
- Location: Italy
Re: RAR Encrypt File Name option
Adding -hp to winrar launch string in TC Packer options does the job, but rar compression is now contantly in encrypting mode.
OK, you can avoid encrypting pressing ESCape everytime ...
Anyway, this solution is OK for me.
Thank you Christian.
ZZ
OK, you can avoid encrypting pressing ESCape everytime ...
Anyway, this solution is OK for me.
Thank you Christian.
ZZ
-
- Junior Member
- Posts: 6
- Joined: 2014-02-21, 14:01 UTC
- Location: Italy
Re: RAR Encrypt File Name option
Just to complete:
Adding -hp to winrar launch string in TC Packer options is also active unpacking RAR files.
In other words, when you unpack a RAR file it asks for decrypting password even if the RAR file is not encrypted.
At this point typing ESC solves and unRARing runs as normal.
Best regards
ZZ
Adding -hp to winrar launch string in TC Packer options is also active unpacking RAR files.
In other words, when you unpack a RAR file it asks for decrypting password even if the RAR file is not encrypted.
At this point typing ESC solves and unRARing runs as normal.
Best regards
ZZ
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: RAR Encrypt File Name option
Why not use the internal RAR unpacker using the official unrar dll?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: RAR Encrypt File Name option
I am facing the same problem.
To the Ghisler's question, why not to use internal rar unpacker:
Internal unpacker does not provide the -ola switch, so if the archive contains directory symlinks, they will be unpacked and copied as normal directories, not symlinks.
If I use Winrar instead and include the -hp switch in TC config, I will be asked for password every time I use compression or decompression. This is quite annoying.
Will you add the file names encryption as an option to the GUI, Mr. Ghisler? When?
Thank you.
To the Ghisler's question, why not to use internal rar unpacker:
Internal unpacker does not provide the -ola switch, so if the archive contains directory symlinks, they will be unpacked and copied as normal directories, not symlinks.
If I use Winrar instead and include the -hp switch in TC config, I will be asked for password every time I use compression or decompression. This is quite annoying.
Will you add the file names encryption as an option to the GUI, Mr. Ghisler? When?
Thank you.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: RAR Encrypt File Name option
Unfortunately unrar.dll doesn't seem to be able to unpack symlinks. I did some tests already in 2014, but couldn't get anywhere:
https://www.ghisler.ch/board/viewtopic.php?t=40092
https://www.ghisler.ch/board/viewtopic.php?t=40092
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: RAR Encrypt File Name option
The easiest solution would be to encrypt the RAR file structure by default, when using Winrar as the external packer. TC should pass the -hp switch, instead of -p to Winrar, after an user selects the password protection in TC's GUI.