668
edits
| 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}); | |||
edits