Synchronize directories in asymmetric mode problem with password dialogues

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Synchronize directories in asymmetric mode problem with password dialogues

Post by *karlchen »

Hello, Christian.

I am afraid I have to report a reproducible issue in Total Commander 10.00 64-bit (means I have not tested on 32-bit, yet).
Where it still works: Total Commander 9.51 64-bit and 32-bit
OS-Platform: Windows 2016, Linux Mint 19.3 64-bit through Wine (in fact, the OS does not matter)

I have got a number of ZIP-archives, which are AES encrypted, i.e. password protected. (T.C. internal ZIP packer)
Left panel: source folder tree
Right panel: password protected ZIP archive (which is a backup of the source folder)

The encrypted ZIP archive gets updated regulary using the Total Commander functionality "Synchronize Directories" - Mode: Asymmetric.

This will trigger two password dialogues, asking for the same password each:
1. first time in order to be permitted to delete obsolete objects from the encrypted ZIP archive
2. second time in order to be permitted to add / update new or updated objects in the encrypted ZIP archive

In T.C. 9.51 the first password dialogue will be displayed. Type password. Press Enter.
Second dialogue comes up. Type password. Press Enter.
Deleting operation will be done first. Adding/Updating operation will be done second.
All works fine. No issues.

In T.C. 10.00 the first password dialogue will be displayed. Type password. Click OK.
Second dialogue comes up. Type password. The [OK] button will remain grayed out. Only chance is to click on Cancel.
Deleting operation will be done, because the first password had been accepted.
Click Synchronize button again.
Second dialogue will come up. Password already present. Click OK.
And the update operation will be executed as well.

I will be able to illustrate the explained behaviour with screenshots, just not at the moment. But no problem to create them and share the links here later.

Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize directories in asymmetric mode problem with password dialogues

Post by *ghisler(Author) »

Thanks for your report, I was able to reproduce it. There don't need to be any files to delete, both dialogs are for packing. The second is used to confirm the password, but this fails because TC10 now stores the password in encrypted form. A separate function is needed to confirm the password in this case (which is done in the normal Alt+F5 function, but not here). When you retry packing, the entered password is compared with the one you entered in the failed attempt.
Author of Total Commander
https://www.ghisler.com
User avatar
karlchen
Power Member
Power Member
Posts: 4601
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Re: Synchronize directories in asymmetric mode problem with password dialogues

Post by *karlchen »

Hello, Christian.
Thank you for replying so quickly. - Great that you could reproduce the issue.
Regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 10.52 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize directories in asymmetric mode problem with password dialogues

Post by *ghisler(Author) »

This should be fixed in TC 10.5 beta, please test it.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Synchronize directories in asymmetric mode problem with password dialogues

Post by *ghisler(Author) »

This should be fixed in TC 11 beta (actually already in 10.5), please test it.
Author of Total Commander
https://www.ghisler.com
Post Reply