Hi, Mohammad, 

everything works fine. *BUT* I've encountered a certain security issue 
which I don't know how to walk around.

Namely: 

   - After the wiki is saved at GitHub it stores PAT in itself. So anyone 
   can download the whole wiki and similarly take control of the published 
   content. 
   - In opposite if PAT is deleted the wiki cannot be saved at GitHub and 
   it is suggested to save the wiki locally instead.
   - However, in your demonstration https://kookma.github.io/test-tw5github/ 
   
<https://www.google.com/url?q=https%3A%2F%2Fkookma.github.io%2Ftest-tw5github%2F&sa=D&sntz=1&usg=AFQjCNE9TlXO9uuG2M-niuyY2A2xUfvJdg>
 your 
   wiki the PAT field is empty.

The question: How can one securely save a wiki at GitHub keeping own PAT in 
secret?

Look forward for your assistance.

Olegh

вівторок, 9 квітня 2019 р. 22:52:53 UTC+3 користувач Mohammad написав:
>
> More inputs
>
>    1. From https://tiddlywiki.com/prerelease 
>    
> <https://www.google.com/url?q=https%3A%2F%2Ftiddlywiki.com%2Fprerelease%2F%23Saving%2Bto%2BGitHub&sa=D&sntz=1&usg=AFQjCNFspx1v3kYu4eJDg1SIPZia2b7PAw>
>  I 
>    downloaded an *empty *version
>    2. I created a new personal access token and enabled permissions for 
>    gist and repo
>    3. I created a new repository at GitHub
>    4. I opened the empty.html from step 1 and from control panel, GitHub 
>    Save filled out the required information (user, password=access token), 
>    file-index.hrml, path=/docs/
>    5. I clicked on save
>    6. It is now on the GitHub (suuessful)
>
> To use for publishing
>
>    1. In the repo I enabled Github pages
>    2. I pointed out to .docs/ folder 
>    3. Now I have GitHub pages working
>    4. see demo at: https://kookma.github.io/test-tw5github/ 
>    
> <https://www.google.com/url?q=https%3A%2F%2Fkookma.github.io%2Ftest-tw5github%2F&sa=D&sntz=1&usg=AFQjCNE9TlXO9uuG2M-niuyY2A2xUfvJdg>
>
>
> One point:
> The saving in progress message like the one is displaying when you save to 
> tiddlyspot  can not be seen. Hope Jeremy fix this. 
>
> Mohammad
>
>
>
>>

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/d142a870-680f-4729-80b0-38d45cedb6fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to