Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread Anders Rundgren
On 2012-04-19 17:09, David Dahl wrote: > Hello All: > > [I have cross posted this message to dev-platform and dev-tech-crypto, > perhaps we should discuss this on dev-platform as it has a larger subscriber > base?]. > > I am just putting together a draft feature page for an internal API needed by

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread David Dahl
- Original Message - > From: "Kyle Hamilton" > To: "mozilla's crypto code discussion list" > > Cc: "Justin Lebar" > Sent: Friday, April 20, 2012 7:40:12 PM > Subject: Re: Feedback on DOMCryptInternalAPI > >> > >> > >> Why is it that I get to stream data to the hash / mac provider,

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread David Dahl
- Original Message - > From: "Justin Lebar" > To: "David Dahl" > Cc: dev-tech-crypto@lists.mozilla.org > Sent: Friday, April 20, 2012 8:38:53 PM > Subject: Re: Feedback on DOMCryptInternalAPI > > Is > > https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest > > a web-facing

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread Justin Lebar
> Apologies. This is an internal API to support the WebAPI and will be used by > extension and browser developers. Perhaps we're not talking about the same thing. Is https://wiki.mozilla.org/Privacy/Features/DOMCryptAPISpec/Latest a web-facing API? It certainly appears to be; there are demo

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread David Dahl
- Original Message - > From: "Justin Lebar" > To: "David Dahl" > Cc: dev-tech-crypto@lists.mozilla.org > Sent: Friday, April 20, 2012 6:31:02 PM > Subject: Re: Feedback on DOMCryptInternalAPI > > (Not cross-posting to dev-platform per Mounir's plea, and because I > don't think these deta

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread Kyle Hamilton
[dev-tech-crypto followup] On Fri, Apr 20, 2012 at 8:11 AM, David Dahl wrote: We could also return the hash or hmac producing object like: var h = window.crypto.hash(alg); This would be the most general way to handle it. (I'm told that 'generality is the key'.) Why is it that I get

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread Justin Lebar
(Not cross-posting to dev-platform per Mounir's plea, and because I don't think these details are particularly interesting to that audience.) >> > interface CryptoHmac { >> >> Why isn't this CryptoMac?  Surely the fact that it's an hmac is an >> implementation detail. > > Sure, I don't imagine sup

Deadlock in firefox when using pkcs#11 tokens of dffferent brands on the same card readerr

2012-04-20 Thread tontonflingueur005-mozi...@yahoo.fr
Hello, First, please apologize if I am not posting this message to the corrrect mailing list. We found a problem on firefox 3.5.3 on Windows XP when using two tokens of different brands (namely Gemalto and Oberthur) one after the other on the same card reader, which is indeed a very special set

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread David Dahl
- Original Message - > From: "Justin Lebar" > To: "David Dahl" > Cc: dev-tech-crypto@lists.mozilla.org > Sent: Friday, April 20, 2012 2:22:31 AM > Subject: Re: Feedback on DOMCryptInternalAPI > > I don't know if you're at the bikeshedding stage of this API's > development -- if not, plea

Re: To NSS-Java or not to NSS-Java, thats the question.

2012-04-20 Thread Anders Rundgren
On 2012-04-20 10:34, helpcrypto helpcrypto wrote: > After reading your three mails, i have only one thing to say: Clear as water. > > Thank a lot for your patience and effort on explaining this for > short-minded like me. > Thanks a lot, REALLY, for your long, detailed and clear answer. > Of cours

Re: To NSS-Java or not to NSS-Java, thats the question.

2012-04-20 Thread helpcrypto helpcrypto
After reading your three mails, i have only one thing to say: Clear as water. Thank a lot for your patience and effort on explaining this for short-minded like me. Thanks a lot, REALLY, for your long, detailed and clear answer. Of course, thanks a lot to Anders (which also suffered me) and others,

Re: Feedback on DOMCryptInternalAPI

2012-04-20 Thread Justin Lebar
I don't know if you're at the bikeshedding stage of this API's development -- if not, please ignore me and I'll come back later. :) > interface CryptoHmac { Why isn't this CryptoMac? Surely the fact that it's an hmac is an implementation detail. It's pretty weird to me that you get