Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension to encrypted file. #185

Open
6677028 opened this issue Nov 12, 2023 · 4 comments
Open

Add extension to encrypted file. #185

6677028 opened this issue Nov 12, 2023 · 4 comments

Comments

@6677028
Copy link

6677028 commented Nov 12, 2023

I am using this software.
I have another idea that you can add the feature to encode the file extensions.
Currently, the app has the option to encrypt file names. But with file name encryption, if that person deletes a character in the encrypted file name, the file will be corrupted.
Therefore, to be safe, I think we just need to encode the file name extension into a similar extension name, such as .cpp.
Hope you will develop this app for a long time.

@yfdyh000
Copy link
Contributor

I don't understand the meaning of this request.
Do you need optional encryption for the real extension? But the file cannot be opened.
Adding an extension does not resolve the corruption if the name is changed manually.
Alternatively, it is not secure to encrypt only the extension. Saving encrypted things to extension is not appropriate because they are too long.

@6677028
Copy link
Author

6677028 commented Nov 12, 2023

Thank you for your very quick reply.

#. I use your app to encrypt my data. But the File names I chose are Plain text. I have some reason for not encrypting the filename.

  • 1- I often have to copy and transfer files so I want to keep the file names. That way I can select the file that needs to be moved
  • 2- when encrypting file names, if someone changes the encrypted file name then the file cannot be opened again.

#. As I know, Ransomware is usually attacked on certain file types like . doc, xlsx, PDF....so if you don't use encrypted file names, We will be attacked by Ransomware. Some encryption software also works well to change the extension like Kruptos 2 which added the extension to .K2p or Boxcryptor which added the extension .Bc ....... So we don't need to encode the file name. so I want you to add such feature to CPPcryptfs. In my opinion you can add an extension to all encrypted files like .cpp and hide the default extension. Doing so will not affect filename encoding.

This is the way of Kruptos 2

This is the way of Boxcryptor

@6677028 6677028 changed the title Proposed extension encoding Add extension to encrypted file. Nov 14, 2023
@6677028
Copy link
Author

6677028 commented Nov 25, 2023

Who can help me?

@red0888
Copy link

red0888 commented Dec 7, 2023

I agree, this is a very important feature that must be added. The final file extension could also be encrypted and appended to the encrypted file name and then accordingly, can identify and decrypt to the correct file extension.

I see no reason why this shouldn't be added...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants