gecko-dev/security/nss/lib/ckfw/nssmkey
Kai Engert 6ca62e9a7f Bug 1245053, Upgrade Mozilla 47 to use NSS 3.23, land RC0, r=me 2016-02-26 11:23:11 +01:00
..
Makefile
README
ckmk.h Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
ckmkver.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
config.mk
manchor.c Bug 1245053, Upgrade Mozilla 47 to use NSS 3.23, land RC0, r=me 2016-02-26 11:23:11 +01:00
manifest.mn
mconstants.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
mfind.c Bug 1245053, Upgrade Mozilla 47 to use NSS 3.23, land RC0, r=me 2016-02-26 11:23:11 +01:00
minst.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
mobject.c Bug 1245053, Upgrade Mozilla 47 to use NSS 3.23, land RC0, r=me 2016-02-26 11:23:11 +01:00
mrsa.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
msession.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
mslot.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
mtoken.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
nssmkey.def
nssmkey.h Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00
staticobj.c Bug 1228410, land NSS 3.22 Beta 2, r=nss-confcall 2016-01-25 16:14:18 +01:00

README

This Cryptoki module provides acces to certs and keys stored in
Macintosh key Ring.

- It does not yet export PKCS #12 keys. To get this to work should be 
  implemented using exporting the key object in PKCS #8 wrapped format.
  PSM work needs to happen before this can be completed.
- It does not import or export CA Root trust from the mac keychain.
- It does not handle S/MIME objects (pkcs #7 in mac keychain terms?).
- The AuthRoots don't show up on the default list.
- Only RSA keys are supported currently.

There are a number of things that have not been tested that other PKCS #11
apps may need:
- reading Modulus and Public Exponents from private keys and public keys.
- storing public keys.
- setting attributes other than CKA_ID and CKA_LABEL.

Other TODOs:
- Check for and plug memory leaks.
- Need to map mac errors into something more intellegible than 
  CKR_GENERAL_ERROR.