You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when a password is null or empty, the following is thrown:
throw new ZipException("empty or null password provided for AES decryption");
Other exceptions have a type associated except for this one. It would be useful to have a "PASSWORD_EMPTY" zip exception type, or something along those lines.
The text was updated successfully, but these errors were encountered:
Actually, after analysing the code, I will reuse the WRONG_PASSWORD type for this case as well. ZipStandardDecrypter throws this type of exception when the password is empty. Doing the same for AesDecrypter will keep this behaviour consistent.
Currently, when a password is null or empty, the following is thrown:
throw new ZipException("empty or null password provided for AES decryption");
Other exceptions have a type associated except for this one. It would be useful to have a "PASSWORD_EMPTY" zip exception type, or something along those lines.
The text was updated successfully, but these errors were encountered: