Status: Accepted
Owner: ihab.awad
Labels: Type-Defect Priority-Medium

New issue 1072 by ihab.awad: Provide support for signed Caja modules
http://code.google.com/p/google-caja/issues/detail?id=1072

The cajoler needs to support signing of Caja modules. As MarkM suggested,
the cajoled module should look something like:


  ___.loadModule({
    ... cajoled stuff ...
    signature: "... signature ..."
  });

where the signature is for all the textual output until the last 2 lines,
which allows a consumer to verify the signature without having to lex the
entire JavaScript, and allows consumers who don't care about a signature to
just ignore it.

The cajoler should now accept a new callback from the caller: a signing
object that generates the signature.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to