-
-
Notifications
You must be signed in to change notification settings - Fork 186
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
Add support for multi volume 7z files #980
Conversation
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Outdated
Show resolved
Hide resolved
|
||
@Override | ||
public String cryptoGetTextPassword() throws SevenZipException { | ||
if (password == null) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about empty password? how is it being treated - just being curious....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting question... I don't think it is technically possible to encrypt with an empty password because essentially you don't have a key to perform the encryption operation in the first place...
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for the follow-up @ShayArtzi!
...jbindings/src/main/java/com/mucommander/sevenzipjbindings/SevenZipJBindingROArchiveFile.java
Outdated
Show resolved
Hide resolved
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Outdated
Show resolved
Hide resolved
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Outdated
Show resolved
Hide resolved
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Outdated
Show resolved
Hide resolved
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Outdated
Show resolved
Hide resolved
...n/java/com/mucommander/sevenzipjbindings/multivolume/SevenZipMultiVolumeCallbackHandler.java
Show resolved
Hide resolved
…to multi_volume_7z
thanks @ShayArtzi ! |
Hi folks,
I would like to finish the multi-volume archive support I have started in PR #881. This PR is for adding support for multi volume 7z archives.
Multi volume 7z archives have a special file extension -
7z.DDD
whereDDD
is a 3-digit number, starting with001
:Internally, multi-part 7z files are just a 7z file split into multiple files. It means that:
This is different from the way multi volume rar files are implemented, and that's the reason why I have created a dedicated handler for multi volume 7z files (and didn't re-use the multi volume rar handler).
Please let me know what you think... Thanks!