Re: Request for feedback: DOMCrypt API proposal

----- Original Message -----
From: "Richard L. Barnes" <>
To: "David Dahl" <>
Sent: Monday, June 6, 2011 10:29:17 AM
Subject: Re: Request for feedback: DOMCrypt API proposal

> I understand that DOMCrypt is for the web.  But the crypto stuff is going to be provided somehow, either from a library (e.g., OpenSSL), an OS API (e.g., the MS CryptoAPI), or a hardware device.  The latter sector has long standardized on PKCS11 as an interface.  The OpenDNSSEC crowd also have a software crypto library that offers a PKCS11 interface:
So the idea would be to "sniff" for a crypto device and use the key stored therein for all crypto operations?

> The idea would be to simplify exposing these existing crypto functions to the web.
I will need to do some more reading on how these devices work.

> More so than the specific API format, there are design patterns that PKCS11 encourages, e.g., the generation and keeping of keys within the crypto system, as opposed to feeding them in from outside (i.e., from the application).  I think this is what Stephen was referring to.
Yes, I am aware of these patterns now, as Brian Smith (Mozilla Security) has been giving me additional feedback on how NSS works in FIPS mode, etc.

Received on Monday, 6 June 2011 16:21:55 UTC