Packing files with Encrypt option is not working?

English support forum

Moderators: white, sheep, Hacker, 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: 3729
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: 10903
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, 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 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.30b1 on Android 6 & 11
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: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
petermad
Power Member
Power Member
Posts: 10903
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, 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 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.30b1 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
User avatar
Stefan2
Power Member
Power Member
Posts: 3369
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: 10903
Joined: 2003-02-05, 20:24 UTC
Location: Valsted, 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 10.00 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (21H1) 64bit, 'Everything' 1.4.1.1009 (x64)
TC 3.30b1 on Android 6 & 11
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Horst.Epp
Power Member
Power Member
Posts: 4589
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 21H2 (OS Build 22000.318)
TC 10.00 x64 / x86
Everything 1.5.0.1286a (x64)
Post Reply