I think this should be possible with the plugin right away, without much additional effort.
When you encrypt a tiddler with this plugin, all its fields (incl. title
and tags
) are encrypted and stored in the encrypted
field. The title
and tags
fields are left as they were in plain text, other fields are removed.
When you decrypt the tiddler, it is as if you force-imported a tiddler from the data stored in the encrypted
field.
This can lead to unexpected results and confusion if the encrypted tiddler was renamed (e.g. indirectly be Relink), but could actually be useful in your case.
Try the following:
- make sure that any temporary tiddlers prefixed
$:/temp/
will never be saved or made public in your setup, this is crucial
- create a tiddler
$:/temp/secret
with the secret in its text field
- encrypt it using the plugin
- rename the encrypted tiddler to something that will get saved, i.e. not temporary, maybe not system to be able to find it easy, e.g.
Secret
- you can now save the wiki, the encrypted secret is stored in the tiddler
Secret
- when you decrypt
Secret
with the plugin, it will “import” the tiddler $:/temp/secret
with its contents decrypted, but the encrypted Secret
should remain untouched
- any other tiddlers requiring the secret can now access it from
$:/temp/secret
- you can safely save the wiki, since the unencrypted temporary tiddler should not get saved