Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supplying default password for unpacking 7zip archives for comparing contents #2590

Open
fazl opened this issue Dec 27, 2024 Discussed in #2589 · 0 comments
Open

Supplying default password for unpacking 7zip archives for comparing contents #2590

fazl opened this issue Dec 27, 2024 Discussed in #2589 · 0 comments

Comments

@fazl
Copy link

fazl commented Dec 27, 2024

Discussed in #2589

Originally posted by fazl December 27, 2024
Would it be possible to add the ability to give WinMerge default password for it to use when trying to compare a 7zip archive that is password protected, so it doesn't need to ask each time (unless the default password fails, say) ?

WinMerge is showing me a huge number of files with binary differences when comparing two folder trees, containing a lot of files encrypted with 7zip, all using the same password.

If I manually run a compare on one of these files, and supply the [same] password two times (one for the left, one for the right archive), it then shows me the contents are identical, but the entry in the folder tree is marked as a binary difference.

I couldnt find how I could configure WinMerge (or, its 7zip plugin) with the default password once, then have it use that for each .7z archive automatically when it does a 'binary comparison' all down the folder tree, so that it looks inside archives in the left and right windowpanes to decide they are identical or not..

(This way archive files would be treated logically as folders, that contain other files.)

I have looked at the WinMerge docs and see there are some options for telling it to use the file extension or to look inside the file for a signature to determine the file type, but I've not seen anything about supplying a default password for archives.

I'm using version 2.16.4.4.0 [current version in december 2024].

Well, thanks if you even read this far :)

PS I am aware that there is a switch -mtc which can be added to the 7zip args on creating the archives, to stop 7zip storing some NTFS timestamp (e.g. access time) that can make the archive different for identical content, but that is a separate issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants