mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2024-11-22 15:12:06 +01:00
Add TODO for allowing non-utf8 passwords during decryption
This commit is contained in:
parent
e88d9f9dab
commit
780abbbc51
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ public class FileUtil {
|
|||
while ((read = inputStream.read(buf)) != -1) {
|
||||
byteOut.write(buf, 0, read);
|
||||
}
|
||||
// TODO: For decrypt operations we MUST accept non-UTF8 passwords
|
||||
return UTF8Util.decodeUTF8(byteOut.toByteArray());
|
||||
} finally {
|
||||
inputStream.close();
|
||||
|
|
Loading…
Reference in a new issue