flip to Encryption: ON by default

This commit is contained in:
Peter Cai 2020-02-20 13:26:51 +08:00
parent 4338ea55e9
commit 872a17d7b2
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
2 changed files with 3 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import * as crypto from "../crypto"
import * as util from "../util"
export default BinaryUpload = ->
[encrypt, toggleEncrypt] = hooks.useToggle false
[encrypt, toggleEncrypt] = hooks.useToggle true
[encrypting, setEncrypting] = useState false
[file, setFile] = useState null

View File

@ -28,7 +28,8 @@ export default HelpButton = ->
so that they will <strong>not</strong> be sent to the server as part of the URL when you access the file later from your browser.
</p>
<p>
The decryption will also be done entirely in your browser. Therefore, it is not supported to access encrypted files outside of a modern browser.
The decryption will also be done entirely in your browser. Therefore, it is not supported to access encrypted files outside of a modern browser.&nbsp;
If you plan to download the shared file from outside the browser (e.g. command line) or on a low-performance device, use <strong>"Encryption: OFF"</strong>.
</p>
</React.Fragment>
showHelp = useCallback showHelp, [openDialog]