Have you done work around how the JSON payload is sent over the wire from an encoding perspective? There&#39;s a debate about this on the OAuth 2 list right now as we&#39;re looking at using JSON envelopes for signatures.<div>
<br></div><div>Thanks,</div><div>--David</div><div><br><br><div class="gmail_quote">On Mon, Jul 5, 2010 at 9:01 PM, nara hideki <span dir="ltr">&lt;<a href="mailto:hdknr@ic-tact.co.jp">hdknr@ic-tact.co.jp</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi, David,<br>
<br>
Let me know what you mentioned more precisely.<br>
We&#39;re using JSON Encryption Envelop to exchange privacy data.<br>
(Spec is here :<br>
<a href="http://bitbucket.org/Nat/jsonenc/src/tip/draft-sakimura-jsonenc-00.txt" target="_blank">http://bitbucket.org/Nat/jsonenc/src/tip/draft-sakimura-jsonenc-00.txt</a><br>
)<br>
It encrypt shared key in public key encryption and the payload<br>
of canonicalized JSON string is encrypted with that shared key.<br>
<br>
I think if those shared key is known, the payloads can be decrypted.<br>
You might have talked about other security issues which I&#39;m missing.<br>
<br>
Best regards.<br>
---<br>
hdknr<br>
<br>
<br>
2010/6/28 David García &lt;<a href="mailto:david.garcia@tractis.com">david.garcia@tractis.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi Nat,<br>
&gt;<br>
&gt; in those cases where public keys cannot be used, because parties are not<br>
&gt; known yet, maybe using PBE (password based encryption) with random generated<br>
&gt; pass could fit this need.<br>
&gt; Those passwords could be stored bound to the contract and delivered to the<br>
&gt; party after a challenge has been passed (f.ex auth process).<br>
&gt;<br>
&gt; Best regards<br>
&gt;<br>
&gt; Dave<br>
&gt;<br>
&gt; 2010/6/25 Nat Sakimura &lt;<a href="mailto:sakimura@gmail.com">sakimura@gmail.com</a>&gt;<br>
&gt;&gt;<br>
&gt;&gt; I had a talk with Hide yesterday.<br>
&gt;&gt; We were talking on how to preserve the privacy of the end user among<br>
&gt;&gt; bunch of services.<br>
&gt;&gt;<br>
&gt;&gt; The agreement we had was that we should encrypt the portion of the<br>
&gt;&gt; agreement specific to each server with different symmetric keys, then<br>
&gt;&gt; encrypt the symmetric keys with respective server&#39;s public key and<br>
&gt;&gt; OP&#39;s public key.<br>
&gt;&gt;<br>
&gt;&gt; We are still discussing over the cases where parties are not<br>
&gt;&gt; determined at the time of the proposal and disclosing the parties to<br>
&gt;&gt; other parties are privacy risk.<br>
&gt;&gt; It is a bit challenging.<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Nat Sakimura (=nat)<br>
&gt;&gt; <a href="http://www.sakimura.org/en/" target="_blank">http://www.sakimura.org/en/</a><br>
&gt;&gt; <a href="http://twitter.com/_nat_en" target="_blank">http://twitter.com/_nat_en</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Specs-cx mailing list<br>
&gt;&gt; <a href="mailto:Specs-cx@lists.openid.net">Specs-cx@lists.openid.net</a><br>
&gt;&gt; <a href="http://lists.openid.net/mailman/listinfo/openid-specs-cx" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-cx</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; David Garcia<br>
&gt; CTO<br>
&gt; Tractis - Online contracts you can enforce<br>
&gt; <a href="http://www.tractis.com" target="_blank">http://www.tractis.com</a><br>
&gt; --<br>
&gt; Email: <a href="mailto:david.garcia@tractis.com">david.garcia@tractis.com</a><br>
&gt; Skype: deiffbcn<br>
&gt; Blog: <a href="http://blog.negonation.com" target="_blank">http://blog.negonation.com</a><br>
&gt; Linkedin: <a href="http://www.linkedin.com/in/davebcn" target="_blank">http://www.linkedin.com/in/davebcn</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Specs-cx mailing list<br>
&gt; <a href="mailto:Specs-cx@lists.openid.net">Specs-cx@lists.openid.net</a><br>
&gt; <a href="http://lists.openid.net/mailman/listinfo/openid-specs-cx" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-cx</a><br>
&gt;<br>
&gt;<br>
_______________________________________________<br>
Specs-cx mailing list<br>
<a href="mailto:Specs-cx@lists.openid.net">Specs-cx@lists.openid.net</a><br>
<a href="http://lists.openid.net/mailman/listinfo/openid-specs-cx" target="_blank">http://lists.openid.net/mailman/listinfo/openid-specs-cx</a><br>
</div></div></blockquote></div><br></div>