Google chrome on android not opening encrypted tw5

64 views
Skip to first unread message

passingby

unread,
Aug 19, 2017, 11:35:32 AM8/19/17
to TiddlyWiki
I tried to open an encrypted tw5 hosted on tiddlyspot in google chrome on android on my samsung galaxy edge. It does not open. At first i thought my password was incorrect but then i found that same file opens on other browsers on the phone such as firefox and internet (samsung stock browser). The same file opens without difficulty on laptop on chrome. Its just on the phone that it does not open.

Mark S.

unread,
Aug 19, 2017, 1:17:56 PM8/19/17
to TiddlyWiki
There must have been some change to the internal JS encryption library -- decryption doesn't work on AndTidWiki now either.

Error messages might help debug the problem. Unfortunately, it might be necessary to use a desktop app to connect to the console. There are instructions here:

https://developers.google.com/web/tools/chrome-devtools/remote-debugging/

Mark

Jeremy Ruston

unread,
Aug 19, 2017, 1:21:02 PM8/19/17
to tiddl...@googlegroups.com
Hi Mark

This issue has been reported before but we weren’t able to gather enough information to diagnose it:


Any help with tracking down the issue would be gratefully received,

Best wishes

Jeremy

--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@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/e69d3ee9-f1ec-4030-9286-8501ea63385b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark S.

unread,
Aug 19, 2017, 4:03:32 PM8/19/17
to TiddlyWiki
Chrome for Android doesn't let you just use a developer's console on screen. You have to link to your desktop, following directions that are apparently incorrect.

Anyways, after attempting to log in to the encrypted marxsal.tiddlyspot.com I got these 2 messages in the (remote) console window:

(index):932 Crypto error:URIError: URI malformed
(index):869 [Violation] 'submit' handler took 12335ms

I assume the index values are line values in the html, but don't know.

Do these messages provide any clue?

Thanks,
Mark

Arlen Beiler

unread,
Aug 19, 2017, 4:42:36 PM8/19/17
to TiddlyWiki
Do either of them have a stacktrace included?

To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscribe@googlegroups.com.

To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.

Mark S.

unread,
Aug 19, 2017, 6:10:25 PM8/19/17
to TiddlyWiki
I haven't used these tools this way, but poking around, the full long message is ...

  1. URIError: URI malformed    at decodeURIComponent (<anonymous>)↵    at Object.fromBits (http://marxsal.tiddlyspot.com/:145:171)↵    at Object.ia (http://marxsal.tiddlyspot.com/:190:236)↵    at Object.decrypt (http://marxsal.tiddlyspot.com/:190:300)↵    at callSjcl (http://marxsal.tiddlyspot.com/:929:31)↵    at $tw.utils.Crypto.decrypt (http://marxsal.tiddlyspot.com/:957:10)↵    at Object.callback (http://marxsal.tiddlyspot.com/:1671:36)↵    at HTMLFormElement.<anonymous> (http://marxsal.tiddlyspot.com/:882:15)"
  2. __proto__:Error

I can see that the error is inside the first catch inside of $tw.utils.Crypto = function() function  (my line numbers may be different since I'm using 14-pre-release.)

The stack trace:

callSjcl ((index):932)
decrypt ((index):957)
callback ((index):1671)
(anonymous) ((index):882)

I can see that the form has captured the correct password, so it's not a simple form error.

If there's some particulare error message or variable I should be looking for, let me know.
Reply all
Reply to author
Forward
0 new messages