John,

Some additional observations.

If I debug with a breakpoint over the password callback, it's never called when 
invoking pkcs12_export, however it is invoked when calling 
find_key_by_any_cert. 

I also notice 2 flavors of the callbacks for password, one taking 2 parameters 
and the other 3, which is confusing. find_any_key_bt_cert only works with the 
3-parameeter flavor. I used a 2-param callback as was given in the sample code 
for test_pkcs12.py

cb1(slot, retry, password)

cb2(slow, retry)

- Robert


-- 
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to