diff --git a/sop-java-picocli/src/main/java/sop/cli/picocli/FileUtil.java b/sop-java-picocli/src/main/java/sop/cli/picocli/FileUtil.java index cbe2735..340eed7 100644 --- a/sop-java-picocli/src/main/java/sop/cli/picocli/FileUtil.java +++ b/sop-java-picocli/src/main/java/sop/cli/picocli/FileUtil.java @@ -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();