HR / Crypter

🔓✨🔒 An innovative, convenient and secure encryption app
https://git.io/Crypter
MIT License
461 stars 70 forks source link

Full CRYPTO file portability #26

Closed HR closed 4 years ago

HR commented 7 years ago

As it is right now, the MasterPass credentials are not included with the CRYPTO file when you encrypt a file using Crypter.

Proposition: Consider including the MasterPass credentials with the CRYPTO file or provide an option to do so.

This has some pros. and cons. that are as follows:

Pros:

Cons:

EdOverflow commented 7 years ago

Could you give me a rough rundown of the process and the exact information that would be stored in an encrypted file?

HR commented 7 years ago

@EdOverflow at the moment all the public credentials (i.e. IV, authentication tag and salt) required to rederive the encryption for the encrypted file are included in the CRYPTO file. If were to include the MasterPass credentials for deriving the MasterPassKey then you would include the MasterPass salt, MasterPassKey hash and the MasterPassKey salt with the CRYPTO file. I'd recommend you have a look at https://github.com/HR/Crypter/blob/dev/readme.md