Closed Bug 892025 Opened 6 years ago Closed 6 years ago

Implement Android client for PICL Authentication/Keyserver


(Firefox for Android :: Android Sync, defect)

Not set





(Reporter: ckarlof, Assigned: nalexander)


(Depends on 1 open bug, Blocks 1 open bug, )


(Whiteboard: [qa+][fixed in elm])


(1 file)

The PICL Authentication/Keyserver provides an API for provisioning and authenticating PICL users. It uses email and password for authentication. It also:

* facilitates the retrieval and derivation of the user's data encryption keys
* signs a user's public key which is used to create BrowserID assertions for authenticating to the PICL Storage Server
* implements an API for password reset

Dev server:
Code and API docs:
Protocol details:

It would be great to start collaborating on the implementation of an Android client for this API.
OS: All → Android
Hardware: x86 → ARM
Depends on: 892040
We've reorganized the public API (esp. naming) to be more 'dev-friendly'. Follow the WIP here:

We've also added API calls to address email verification after signup.

Comments are welcome.
Adding some QA names...
Whiteboard: [qa+]
Assignee: nobody → nalexander
Hardware: ARM → All
This bug tracks implementing Java HTTP client that talks to a picl-idp server to create new accounts, fetch salts and keys, and sign certificates.
Blocks: 799726
No longer blocks: 808813
No longer depends on: 892040
Over to rnewman for preliminary feedback (on the client patches).
Flags: needinfo?(rnewman)
Depends on: 915312
This feels pretty good to me. Let's rebase on top of crypto changes before I take another look?
Flags: needinfo?(rnewman)
Attached file FxAccountClient, V2.
Re-factored, simplified, and battle hardened.  It's a bit hard to test (even live), but it's working well against localhost and in my Sync 1.1 + FxA tree.

Mostly want to see if anything jumps out at you.
Attachment #819990 - Flags: review?(rnewman)
Comment on attachment 819990 [details] [review]
FxAccountClient, V2.

Comments left on GitHub.
Attachment #819990 - Flags: review?(rnewman) → feedback+
Whiteboard: [qa+] → [qa+][fixed in elm]
Comment on attachment 819990 [details] [review]
FxAccountClient, V2.

r=rnewman on github.
Attachment #819990 - Flags: review+
Flags: sec-review?(mgoodwin)
Depends on: 942336
Secreview happening in bug 942336.
Flags: sec-review?(mgoodwin)
Closed: 6 years ago
Resolution: --- → FIXED
Leaving as Resolved given the number of open Depends on bugs
Product: Android Background Services → Firefox for Android
You need to log in before you can comment on or make changes to this bug.