1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 19:39:57 +00:00
TiddlyWiki5/editions/dev/tiddlers/from tw5.com/mechanisms/EncryptionMechanism.tid

19 lines
1.3 KiB
Plaintext
Raw Normal View History

2013-11-29 17:20:10 +00:00
created: 20130825154200000
modified: 20131129163653069
2014-09-11 19:12:25 +00:00
tags: Mechanisms
title: EncryptionMechanism
2013-11-29 17:20:10 +00:00
type: text/vnd.tiddlywiki
2013-01-31 10:20:13 +00:00
TiddlyWiki5 allows the entire content of a TiddlyWiki HTML file to be encrypted with the Stanford JavaScript Crypto Library. Opening an encrypted TiddlyWiki in the browser prompts for a password before decrypting and displaying the content.
2014-09-17 07:36:39 +00:00
For instructions on how to use TiddlyWiki5's encryption features, see [[Encryption]].
2013-01-31 10:20:13 +00:00
The EncryptionMechanism is implemented with the following elements:
* A PasswordVault within the BootMechanism that holds the current encryption password
2013-01-31 10:20:13 +00:00
* The ability of the BootMechanism to read a block of encrypted tiddlers from the TiddlyWiki file, to prompt the user for a password, and to decrypt the tiddlers
2014-08-28 20:43:44 +00:00
* Handlers for the messages [[WidgetMessage: tm-set-password]] and [[WidgetMessage: tm-clear-password]] that handle the user interface for password changes
* The EncryptWidget within the main file template that encrypts a filtered list of tiddlers with the currently held password
2013-01-31 10:20:13 +00:00
* The [[$:/isEncrypted]] tiddler that contains "yes" or "no" according to whether there is a password in the password vault
** The availability of this tiddler allows the RevealWidget to be used to selectively display user interface elements according to whether encryption is in force