How about you explain the problem with password protected archives and explain how you solved it, instead of linking to something and seeing if it sticks.
I asked myself in the past 'how secure are password-protected zip files?', and the answers I found online all seem to agree on 'not very secure'.
Rather than trying to explain why, I provided a reasonably reputable source with a good summary. Read it if you are curious. Or don't. No need to be bite.
if it could be 'tweaked' with the following suggestions - even better - Plausible deniability built in (with one or two passwords) - if you enter the wrong password you do not get an error message on the unencryption, but just garbage out
One additional feature you can add is a recovery key. You could use a time-limited master recovery key and encrypt the file's data key and store it within the HTML file as an encrypted header. It of course increases the attack surface because an attacker can then just focus on the recovery key. But it would help in the scenarios where the passphrase for the datakey is forgotten and you need a way to recover. By supplying the master recovery passphrase, the file's data key/passphrase can be recovered and the content decrypted. This is a usability versus security tradeoff.
Time-limited i.e., you rotate master key after a fixed time, say 1 month/1 year etc., depending on the use case.
During that period the content can be recovered by using the masterkey to unwrap the data key and decipher the content. Beyond that period, if you don't remember the master key, you cannot decrypt the content. The time-period is only a shortcut. So, for personal use, as the OP intended, resetting the masterkey each year would still offer some protection against forgetting the passphrase for the data encryption.
Comments (376) 84 threads
Earlier commentsp.s. don't use password protected archives: https://security.stackexchange.com/questions/35818/are-passw...
Rather than trying to explain why, I provided a reasonably reputable source with a good summary. Read it if you are curious. Or don't. No need to be bite.
if it could be 'tweaked' with the following suggestions - even better
- Plausible deniability built in (with one or two passwords)
- if you enter the wrong password you do not get an error message on the unencryption, but just garbage out
Very solid use case here. I installed Signal on my mom's phone, but also her phone is full of scary apps. I feel like .. let it be.
One additional feature you can add is a recovery key.
You could use a time-limited master recovery key and encrypt the file's data key and store it within the HTML file as an encrypted header.
It of course increases the attack surface because an attacker can then just focus on the recovery key.
But it would help in the scenarios where the passphrase for the datakey is forgotten and you need a way to recover. By supplying the master recovery passphrase, the file's data key/passphrase can be recovered and the content decrypted.
This is a usability versus security tradeoff.
During that period the content can be recovered by using the masterkey to unwrap the data key and decipher the content. Beyond that period, if you don't remember the master key, you cannot decrypt the content.
The time-period is only a shortcut. So, for personal use, as the OP intended, resetting the masterkey each year would still offer some protection against forgetting the passphrase for the data encryption.
Could your time-based scheme be defeated by changing the system clock on the attacker computer?
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.