Fix media files permission
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
1794015c1d
commit
b523c34d29
|
@ -569,7 +569,7 @@ public final class EncryptionUtils {
|
|||
}
|
||||
|
||||
public static EncryptedFile encryptFile(File file, Cipher cipher) throws InvalidParameterSpecException {
|
||||
File encryptedFile = new File(file.getAbsolutePath() + ".enc");
|
||||
File encryptedFile = new File(file.getAbsolutePath() + ".enc.jpg");
|
||||
encryptFileWithGivenCipher(file, encryptedFile, cipher);
|
||||
String authenticationTagString = getAuthenticationTag(cipher);
|
||||
return new EncryptedFile(encryptedFile, authenticationTagString);
|
||||
|
|
Loading…
Reference in New Issue