Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Mat
On Saturday, March 10, 2018 at 3:50:43 PM UTC+1, Mark S. wrote:
>
> "Your bad" because you didn't spelunk the source code? I think not. It 
> reminds me of this Dilbert classic: http://dilbert.com/strip/1994-02-01
>

Hehe! Well, his - or at least my - point is that I'm definitely experienced 
enough to know I should do a proper search before asking ;-)

 

> Will stash away encrypted text if a password has been set. The thing is, 
> how do you decrypt it? There's no corresponding <$decrypt> widget.
>

Ha! both interesting and funny

<:-) 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35f8564f-7414-4d95-853c-b01ccf9f00d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Jeremy Ruston
> "Your bad" because you didn't spelunk the source code? I think not.

Yes indeed, my comment was intended to be helpful, not an admonishment!

Best wishes

Jeremy.


> It reminds me of this Dilbert classic: http://dilbert.com/strip/1994-02-01
> 
> After some fiddling ...
> 
> \define encmac() <$encrypt filter='[tag[HelloThere]]'/>
> 
> <$wikify name=enc type="text" text=<>>
> <$button>Hide My Stuff
> <$action-setfield $tiddler="MyStuff" $field="text" $value=<> />
> 
> 
> 
> 
> Will stash away encrypted text if a password has been set. The thing is, how 
> do you decrypt it? There's no corresponding <$decrypt> widget.
> 
> -- Mark
> 
>> On Saturday, March 10, 2018 at 5:25:18 AM UTC-8, Mat wrote:
>>> On Saturday, March 10, 2018 at 2:07:51 PM UTC+1, Jeremy Ruston wrote:
>>> By the way, if you're investigating something like this in the future..
>> 
>> You're right. My bad.
>> 
>> ...
>> 
>> I agree with Josiah, the doc is ambiguous. I'll make a PR.
>> 
>> <:-)
>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/80b178df-7d57-4ae8-9e00-95cc006ca089%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E6AAA3F1-9760-41EC-B066-1562BF7EFD1A%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Jeremy Ruston
There is indeed no corresponding decrypt widget. Decryption of the single file 
TiddlyWiki has to be done during the boot process:

https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L1364

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 10 Mar 2018, at 15:10, @TiddlyTweeter  wrote:
> 
> "There's no corresponding <$decrypt> widget."
> 
> Mark S. wrote:
>> 
>> 
>> \define encmac() <$encrypt filter='[tag[HelloThere]]'/>
>> 
>> <$wikify name=enc type="text" text=<>>
>> <$button>Hide My Stuff
>> <$action-setfield $tiddler="MyStuff" $field="text" $value=<> />
>> 
>> 
>> 
>> Will stash away encrypted text if a password has been set. The thing is, how 
>> do you decrypt it? There's no corresponding <$decrypt> widget.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/da1a292d-ba9e-41e4-a19d-ce73bdae8d47%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95574A81-15C0-4F99-97EA-C7C4E9A3C6DB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread @TiddlyTweeter
"There's no corresponding <$decrypt> widget."

Mark S. wrote:
>
>
> \define encmac() <$encrypt filter='[tag[HelloThere]]'/>
>
> <$wikify name=enc type="text" text=<>>
> <$button>Hide My Stuff
> <$action-setfield $tiddler="MyStuff" $field="text" $value=<> />
> 
>
> 
> Will stash away encrypted text if a password has been set. The thing is, 
> how do you decrypt it? There's no corresponding <$decrypt> widget.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/da1a292d-ba9e-41e4-a19d-ce73bdae8d47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread 'Mark S.' via TiddlyWiki
"Your bad" because you didn't spelunk the source code? I think not. It 
reminds me of this Dilbert classic: http://dilbert.com/strip/1994-02-01

After some fiddling ...

\define encmac() <$encrypt filter='[tag[HelloThere]]'/>

<$wikify name=enc type="text" text=<>>
<$button>Hide My Stuff
<$action-setfield $tiddler="MyStuff" $field="text" $value=<> />




Will stash away encrypted text if a password has been set. The thing is, 
how do you decrypt it? There's no corresponding <$decrypt> widget.

-- Mark

On Saturday, March 10, 2018 at 5:25:18 AM UTC-8, Mat wrote:
>
> On Saturday, March 10, 2018 at 2:07:51 PM UTC+1, Jeremy Ruston wrote:
>>
>> By the way, if you're investigating something like this in the future..
>>
>
> You're right. My bad.
>
> ...
>
> I agree with Josiah, the doc is ambiguous. I'll make a PR.
>
> <:-)
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/80b178df-7d57-4ae8-9e00-95cc006ca089%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Mat
On Saturday, March 10, 2018 at 2:07:51 PM UTC+1, Jeremy Ruston wrote:
>
> By the way, if you're investigating something like this in the future..
>

You're right. My bad.

...

I agree with Josiah, the doc is ambiguous. I'll make a PR.

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4ede8fb6-5878-4861-888d-a8b951a36533%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Mat


On Saturday, March 10, 2018 at 2:00:11 PM UTC+1, PMario wrote:
>
>
> The doc doesn't talk about single tiddlers. .. It says a filtered list of 
> tiddlers. If the filter param is not there it uses all of them. ... That's 
> it. 
>

Yeah, but since there is a filter param it should be possible to only 
encrypt a single tiddler - but how then?

Thanx

<:-) 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31b0ea79-f808-46ca-987e-77782b1ec1d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Jeremy Ruston
By the way, if you're investigating something like this in the future, it's 
handy to search for (in this case) “<$encrypt” across the system tiddlers just 
to see where and how it is being used in the core.

Best wishes

Jeremy.


--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 10 Mar 2018, at 13:00, PMario  wrote:
> 
>> On Saturday, March 10, 2018 at 1:19:33 PM UTC+1, Mat wrote:
>> https://tiddlywiki.com/#EncryptWidget
>> 
>> This ol' doc from 2013 implies that individual tiddlers can be encrypted by 
>> use of <$encrypt>. It also has missing links to ambitious sounding docs.
> 
> The doc doesn't talk about single tiddlers. .. It says a filtered list of 
> tiddlers. If the filter param is not there it uses all of them. ... That's 
> it. 
> 
> -m
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/83a93804-7dd9-4d8a-b7ff-7b781b568d97%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4076849D-D9D3-4D14-967F-65B515239D5F%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread PMario
On Saturday, March 10, 2018 at 1:19:33 PM UTC+1, Mat wrote:
>
> https://tiddlywiki.com/#EncryptWidget
>
> This ol' doc from 2013 implies that individual tiddlers can be encrypted 
> by use of <$encrypt>. It also has missing links to ambitious sounding docs.
>

The doc doesn't talk about single tiddlers. .. It says a filtered list of 
tiddlers. If the filter param is not there it uses all of them. ... That's 
it. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/83a93804-7dd9-4d8a-b7ff-7b781b568d97%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Mat
...cont: 

@Jeremy - should the doc perhaps simply be removed? (I'm not sure how to do 
> a PR for that).
>


...and the widget along with it? Or what is it used for?

<:-) 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/66ecc993-8a9e-400c-9ef6-de3f5c22782a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread Mat
@TiddlyTweeter - yes, this is what I also think the status is.

@Jeremy - should the doc perhaps simply be removed? (I'm not sure how to do 
a PR for that).

<:-)

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fa39be00-9751-4b47-b4a5-88851cbfd3b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: EncryptWidget - deprecated or what is it?

2018-03-10 Thread @TiddlyTweeter
Mat

https://tiddlywiki.com/#EncryptWidget
Looks like something out of step.

My understanding is you can in basic TW encrypt the whole tamoli, but not 
parts.

https://tiddlywiki.com/#Encryption
Should "allows content to be encrypted", in the latest docs, be changed to 
"allows the TiddlyWiki to be encrypted"? 

For individual Tiddler encryption one needs a plugin like Danielo's--I 
think.

Josiah

On Saturday, 10 March 2018 13:19:33 UTC+1, Mat wrote:
>
> https://tiddlywiki.com/#EncryptWidget
>
> 
>
> This ol' doc from 2013 implies that individual tiddlers can be encrypted 
> by use of <$encrypt>. It also has missing links to ambitious sounding docs.
>
> Was this an old feature, now deprecated? Does it have to do with the 
> https://tiddlywiki.com/#Encryption 
> 
>  
> which concerns encrypting the whole TW, not individual tids?
>
> How use? - Or should it just be removed from docs? @Jeremy
>
> Thanx
>
> <:-)
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fdf753d9-f405-49c7-911e-4000713fdf34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.