SpiderOak / Encryptr

Encryptr is a zero-knowledge cloud-based password manager / e-wallet powered by Crypton
GNU General Public License v3.0
1.57k stars 136 forks source link

Windows phone support (through cordova) #173

Open GameplayJDK opened 9 years ago

GameplayJDK commented 9 years ago

A version for windows phone is the only thing missing to make Encryptr available on all popular platforms out there. Since windows phone is supported by cordova it should be easy to add support for it.

weswigham commented 9 years ago

cordova-plugin-whitelist and org.devgeeks.privacyscreen are used and don't support windows phone. Both of them would likely need to be updated with WP support.

GameplayJDK commented 9 years ago

@weswigham Oh, I didn't know that. It seems to be possible to port both plugins to wp. Maybe I'll look into doing so, but currently it's not worth the effort since there might be some major changes as soon as Windows 10 Mobile is rolling out...

devgeeks commented 9 years ago

Another issue is that crypto.getRandomValues() is only supported from IE 11

http://caniuse.com/#feat=getrandomvalues

weswigham commented 9 years ago

It aught to be safe enough to a polyfill the web crypo API in a cordova app, since you don't have the untrusted host and xss issues people always cry about when you think about polyfilling it in the browser. Provided the polyfill can deal with the lack of basic crypto primitives and unknown memory erasure behavior. It feels surmountable in this scenario.

devgeeks commented 9 years ago

@weswigham the issue isn't an API, it's the lack of an actual cryptographically secure PRNG.

devgeeks commented 9 years ago

Is IE11 the web view in Windows Phone 8.1?

That might be possible. I have an 8.1 phone now (it was running 8, but has now been updated). I could have another look.

GameplayJDK commented 9 years ago

Microsoft Edge does support crypto.getRandomValues() (according to the caniuse link), and with Edge becoming the new rendering engine, this shouldn't be an issue anymore (for Windows 10 at least).

Secris commented 8 years ago

Has there been any word on this?

devgeeks commented 8 years ago

I have it "mostly" working, so it's theoretically possible.

The problems lie mostly in priorities and time. I would certainly like to do it...

Secris commented 8 years ago

It would be good to have. I loved my windows phone and so do a lot of others. Any info on what you mean by mostly?

devgeeks commented 8 years ago

To be completely honest, I last tried to make it work over 6 months ago, so I don't remember what exactly... most of the issues were simply around CSS and not functionality or JavaScript requirements... So they were totally surmountable problems.

Secris commented 8 years ago

Well that is good. Maybe someone with the time and skill could pick it up with this knowledge.