Packing files with Encrypt option is not working?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
monstro
Junior Member
Junior Member
Posts: 9
Joined: 2021-04-14, 14:19 UTC

Packing files with Encrypt option is not working?

Post by *monstro »

Hi.
I wanted to pack some files with Encrypt option.
When I do this, I still can double-click on the "encrypted" zip files, and it doesn't ask me for any password, opens the content right away.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: Packing files with Encrypt option is not working?

Post by *sqa_wizard »

Zip does not encrypt the filename, just the file.
Try to view the file and you will be asked for a password.
#5767 Personal license
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Packing files with Encrypt option is not working?

Post by *petermad »

The password is remembered until TC is shut down or minimized.

It is configurable:
Help wrote:[Packer]
KeepPackerPassword=0 Used together with option "RememberLastPassword". Allows you to keep last archive password when:
1: The program is minimized
2: The screen saver starts
3: both

RememberLastPassword=0 Set to 1 to remember the last used archive password for all other archives (packing+unpacking) until TC is closed, minimized or Windows goes to sleep
Can also be set via the GUI during the packing with encryption- see: https://madsenworld.dk/tcmd/rememberpassword.png

"Remember (until program is closed or minimized)" is not set by default, so you must have chosen the option during the packing.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
monstro
Junior Member
Junior Member
Posts: 9
Joined: 2021-04-14, 14:19 UTC

Re: Packing files with Encrypt option is not working?

Post by *monstro »

sqa_wizard wrote: 2021-10-19, 21:28 UTC Zip does not encrypt the filename, just the file.
Try to view the file and you will be asked for a password.
I understand that :wink: I was talking about the file content.

And I still can open it without a password after I closed Total Commander. I can even open it from Windows file explorer.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Packing files with Encrypt option is not working?

Post by *Horst.Epp »

monstro wrote: 2021-10-23, 05:22 UTC
sqa_wizard wrote: 2021-10-19, 21:28 UTC Zip does not encrypt the filename, just the file.
Try to view the file and you will be asked for a password.
I understand that :wink: I was talking about the file content.

And I still can open it without a password after I closed Total Commander. I can even open it from Windows file explorer.
Not confirmed here.
The content is encrypted and TC or Windows Explorer ask for a password to view or copy the files.
Try with a fresh ini file, something is wrong with your config.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Packing files with Encrypt option is not working?

Post by *petermad »

2monstro
When you open the zip file (in Full View), do you se an e in the Attr column for each file - if you don't, then the files are not encrypted.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Packing files with Encrypt option is not working?

Post by *Horst.Epp »

petermad wrote: 2021-10-23, 09:56 UTC 2monstro
When you open the zip file (in Full View), do you se an e in the Attr column for each file - if you don't, then the files are not encrypted.
I never see an e in the attributes forZip files with encryption.
I guess you only see that if you encrypt a file with the OS file encryption.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Stefan2
Power Member
Power Member
Posts: 4133
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Packing files with Encrypt option is not working?

Post by *Stefan2 »

monstro wrote: 2021-10-19, 21:23 UTC
When I do this, ...

Maybe explain what you did and how,... step by step...







 
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Packing files with Encrypt option is not working?

Post by *petermad »

2Horst.Epp
I never see an e in the attributes forZip files with encryption.
I guess you only see that if you encrypt a file with the OS file encryption.
No, also if I pack with TC's internal packer. It is the files inside the zip that has the e's - not the zip file itself.

Maybe your Attr. column isn't wide enough - the e's are appended to the end of the attributes.
So are the c's for compressed files.

See: https://madsenworld.dk/tcmd/encrypted-compressed-attribute.png
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Packing files with Encrypt option is not working?

Post by *Horst.Epp »

petermad wrote: 2021-10-23, 20:06 UTC 2Horst.Epp
No, also if I pack with TC's internal packer. It is the files inside the zip that has the e's - not the zip file itself.
There I have the e.
So I was misunderstanding your post
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
Post Reply