I promised Lyall that I'd forward this to the news group. He was
incredibly helpful...
BTW, I chose to use his idea to set up a systemConfig tiddler and
everything is working the way I want it to.

Kent,

<<<"You are prompted for the password only when you are about to
display the tiddler, not when you open your tiddlywiki.">>>

Unfortunately, that particular wording is an obsolete feature from a
previous version of TiddlerEncryptionPlugin (which is still
available). The new version uses html forms to retrieve the password,
whereas the old version used javascript 'prompt()' - the downside of
using prompt() was you could see the password - the upside was that
the plugin operated, as described above. Using forms for password
entry, whilst obscuring the password, made things incredibly
difficult, behind the scenes, causing a loss of that particular piece
of functionality - I will have to remember to remove that wording in
the next update.


What you could do is create a tiddler named 'Hello, please decrypt
this Tiddler', which is encrypted with the Prompt whose password you
want to cache - making all subsequent tiddlers encrypted with that
prompt automatically decrypt. When this is opened, the user clicks the
decrypt button, which asks for the password and caches it for future
use.

<<<"Encrypted Tiddlers content is replaced by "Decrypt" button. This
has consequences, in the current version as, if you edit the tiddler
without decrypting it, you lose the contents.">>>

The reason why it does not work, online, is that the Plugin defaults
to having this option turned off. When you browse online, you use a
different cookie to locally. Try using the CookieJar plugin, from
Eric's TiddlyTools - to force the value to true. A simpler way is to
simply create a 'systemConfig' tiddler with the following text in it.

    config.options.chkShowDecryptButtonInContent=true;

This tiddler is then treated as a plugin, executed at startup, setting
the appropriate flag to the value you want. You could set any cookie
value to a forced value - this is the basic principle of Eric's Cookie
Jar.

Alternatively, edit the TiddlerEncryptionPlugin to change the default
value to 'true'.

Please post on the TiddlyWiki news group, what you learn, so others
may gain from your experience.

:-)

...Lyall


Kent Matsueda wrote:

Subject: Remote Support Request (from web page)
From: Kent Matsueda <[email protected]>
Date: Fri, 8 May 2009 12:24:21 -0400
To: [email protected]
To: [email protected]
Hello Lyall,

Thank you for your awesome work on the Tiddler Encyption Plugin. It
rocks!

I did have a question though. In the TiddlyVault, it says:
You are prompted for the password only when you are about to display
the tiddler, not when you open your tiddlywiki.

That does not seem to work with my TiddlyWiki:
http://www.personal.psu.edu/kkm11/matsueda.html

For example if you were to scroll down to the link under the chart:
"View Comprehensive Hours"
when I click on it, it just opens the tiddler and displays all of the
encrypted data.

I tried to use a macro to decrypt just one prompt string, but I
haven't figured out how to do that just yet.

Finally, the option to:
Encrypted Tiddlers content is replaced by "Decrypt" button. This has
consequences, in the current version as, if you edit the tiddler
without decrypting it, you lose the contents.

Works on my local tiddler when I've selected that option, but not when
browsing online.

BTW, I am using 2.5.0.

Thank you for any guidance!
Kent

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to