[
https://issues.apache.org/jira/browse/COMPRESS-633?focusedWorklogId=830874&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-830874
]
ASF GitHub Bot logged work on COMPRESS-633:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 03/Dec/22 23:36
Start Date: 03/Dec/22 23:36
Worklog Time Spent: 10m
Work Description: Dougniel commented on code in PR #332:
URL: https://github.com/apache/commons-compress/pull/332#discussion_r1038884999
##########
src/main/java/org/apache/commons/compress/utils/ByteUtils.java:
##########
@@ -266,4 +270,24 @@ private static void checkReadLength(final int length) {
throw new IllegalArgumentException("Can't read more than eight
bytes into a long value");
}
}
+
Review Comment:
Right, I move it on `AES256SHA256Decoder` because it is used to convert
password from char to byte for encryption/decryption
Issue Time Tracking
-------------------
Worklog Id: (was: 830874)
Time Spent: 1h (was: 50m)
> Adding support for SevenZ password encryption
> ---------------------------------------------
>
> Key: COMPRESS-633
> URL: https://issues.apache.org/jira/browse/COMPRESS-633
> Project: Commons Compress
> Issue Type: Improvement
> Components: Compressors
> Affects Versions: 1.22
> Reporter: Daniel Santos
> Priority: Major
> Labels: contributing, features
> Time Spent: 1h
> Remaining Estimate: 0h
>
> 👉🏼 The purpose is to provide password based encryption for 7z compression in
> the same way of decryption already supported, so go forward of [one know
> limitation|https://commons.apache.org/proper/commons-compress/limitations.html]
> ☝️In this way, I would like to submit my contribution based on the existing
> implementation of decryption and the [C++ implementation of 7z
> |https://github.com/kornelski/7z/blob/main/CPP/7zip/Crypto/7zAes.cpp]
> ✅ I added one unit test
>
> I prepared a [Pull Request on
> GitHub|https://github.com/apache/commons-compress/pull/332]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)