Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2010-01-03 Thread Nelson B Bolyard
On 2009-12-26 13:51 PST, Marc Kaeser wrote: > By the way, which tools do you use for debugging? On Windows, I use the debugger in MSVC 2005 Express (free version) with service pack, or MSVC 8 (the non-free equivalent to 2005 express). It's simply the best debugger I have ever used on any platform

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-12-26 Thread Marc Kaeser
Hello Bob and others, I'm still trying to have nsSDR use my opencryptoki-tpm-pkcs11-token. For the moment, instanciating a pk11SlotInfo "linked" to that token works, but authentication doesn't. I'm searching the code to find the reason, but haven't been able to do so for the moment. I observed

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-12 Thread Marc Kaeser
After reading a bit more, I think I now understand most of the things in nsSDR at least. Seems really to be relatively "simple". A future work could be to choose also another algorithm than triple DES for encryption... 3 more questions ^^ -Should I look for the key using all PK11SlotInfos,

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-11 Thread Marc Kaeser
Hello again On 11/08/2009 10:32 AM, Marc Kaeser wrote: Hello Robert, where can I get in touch with the NSS people you told me about? I want to try to do those modifications. I'm one of them:). Cool!!! Do you want to become my project manager? Please :-D It's magic that knows the structur

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-09 Thread Robert Relyea
On 11/08/2009 10:32 AM, Marc Kaeser wrote: > Hello Robert, > > where can I get in touch with the NSS people you told me about? I want > to try to do those modifications. I'm one of them:). > > Now, in nsSDR, PK11GetInternalKeySlot(); adds a refcount > (PK11ReferenceSlot()) to one of its slots ([0]

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-09 Thread Robert Relyea
On 11/01/2009 08:28 AM, Marc Kaeser wrote: > Hello Bob, > > I've looked a bit further into the code today, and though you already > explained me those things, let me write them again in order to see if > I understood the idea: I'm presuming you mean the PSM entry point. > > 1. Starting point: > T

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-09 Thread Marc Kaeser
Hello!! "Nelson B Bolyard" schrieb im Newsbeitrag news:mailman.693.1257791313.526.dev-tech-cry...@lists.mozilla.org... On 2009-11-08 10:32 PDT, Marc Kaeser wrote: Hello Robert, where can I get in touch with the NSS people you told me about? Here in this mailing list (or newsgroup, dependi

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-09 Thread Nelson B Bolyard
On 2009-11-08 10:32 PDT, Marc Kaeser wrote: > Hello Robert, > > where can I get in touch with the NSS people you told me about? Here in this mailing list (or newsgroup, depending on how you read it). > I'm facing following problem right now, maybe you can help me: > > in /security/nss/lib/pk11

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-08 Thread Marc Kaeser
Hello Robert, where can I get in touch with the NSS people you told me about? I want to try to do those modifications. I'm facing following problem right now, maybe you can help me: in /security/nss/lib/pk11wrap/pk11util.c there is the function SECMODModule * SECMOD_GetInternalModule(void) {

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-01 Thread Marc Kaeser
Hello Bob, I've looked a bit further into the code today, and though you already explained me those things, let me write them again in order to see if I understood the idea: 1. Starting point: The problem with nsSDR is that you can't choose another slot/token than the internal one if one wa

Re: Encrypt(), Decrypt() and ChangePassword() pkcs11-modificationinnsSDR.cpp

2009-11-01 Thread Marc Kaeser
Hello Bob, thanks a lot for your explanations. My goal is indeed to have my own Firefox-Code doing that specific encryption using keys "hidden" in my tpm on my own mainboard "just for me" (using IBM's API or pkcs11-opencryptoki with NSS, to provide encryption for mozStorage->Logins-DB). I'm no