Device locking is managed in Gaia system app currently, not in gecko. So I believe we either need a hashing support of some kind exposed to content, or we need to an API which control devices locking.
Maybe dev-b2g is a better place for that discussion, but can anyone answer Stephanie's original questions? Anyone working on this? Any considerations if we just start working on this? On Jan 16, 2014, at 12:32 AM, Kai Engert wrote: > On Di, 2013-12-17 at 16:02 +0100, Stéphanie Ouillon wrote: >> I'm in the Firefox OS Security team and I'm starting working on adding >> support for stronger passwords in the Firefox OS lockscreen (bug 877541) >> [1]. >> At the moment, only a 4-digit password can be configured and we want to >> improve that for FxOS 1.4 (March 2014). >> >> Some time ago, David Dahl provided on a patch for having hashing >> functions in Gecko: it's a JSM living next to the SettingsManager for >> FxOS [2]. Supported algorithms are sha256, sha384 and sha512. > > It's not clear why you need something new. > > I'd assume your device locking code is privileged code. > Can't you use nsICryptoHash? > > Kai > > -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto