BrowserID Key Wrapping: Difference between revisions

Line 92: Line 92:


If we do introduce key escrow, we would likely augment the API to explicitly allow escrow for certain keys, and not others:
If we do introduce key escrow, we would likely augment the API to explicitly allow escrow for certain keys, and not others:
  // defaults to false
  navigator.id.secret.wrap(assertion, plainKey, successCB, failureCB, {allowEscrow: true});
  navigator.id.secret.wrap(assertion, superSecretPlainKey, successCB, failureCB, {allowEscrow: false});
668

edits