New feature: Original filename in encrypted file
Posted: Wed Sep 27, 2017 7:13 am
Hi,
Feature request for the next file format:
include the original filename
Rational:
Sometimes it's useful to change the filename after encryption to improve security or just to make it possible to click on e.g. an encrypted image in a browser window without side effects.
I tested encrypting the image DSC_0312.JPG and got a file named DSC_0312.JPG.aes
If I do a file listing at my website and click on the encrypted file my browser tries to show the encrypted image! I get an error message stating that the image cannot be displayed because it contains errors ...
To be able to simply download, decrypt and view the file I must rename the encrypted file in a way that removes the jpg-extension completely. But I must rename the file back before or after I decrypt it, to get the jpeg-file back. Otherwise I just get a file with the obfuscated name, but with the aes-extension removed.
If the original filename was kept in the encrypted file, it could easily be restored during decryption.
Feature request for the next file format:
include the original filename
Rational:
Sometimes it's useful to change the filename after encryption to improve security or just to make it possible to click on e.g. an encrypted image in a browser window without side effects.
I tested encrypting the image DSC_0312.JPG and got a file named DSC_0312.JPG.aes
If I do a file listing at my website and click on the encrypted file my browser tries to show the encrypted image! I get an error message stating that the image cannot be displayed because it contains errors ...
To be able to simply download, decrypt and view the file I must rename the encrypted file in a way that removes the jpg-extension completely. But I must rename the file back before or after I decrypt it, to get the jpeg-file back. Otherwise I just get a file with the obfuscated name, but with the aes-extension removed.
If the original filename was kept in the encrypted file, it could easily be restored during decryption.