| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The code supports PKCS#1 encoded RSA private keys that begin with the
BEGIN RSA PRIVATE KEY header in PEM files. This patch adds support for
RSA private keys encoded in PEM files that begin with the header
BEGIN PRIVATE KEY which are in PKCS#8 format.
|
|
|
|
|
| |
Building NSS with PEM support gives an error in pbobject due to multiple
definitions of SEC_SkipTemplate. This is already defined in libnssutil
|
|
|
|
|
|
| |
pem_mdCryptoOperationRSAPriv_Destroy should destroy the low private key
pem_mdCryptoOperationRSAPriv_Create allocates the lpk member of iOperation
but it was not being freed anywhere
|
|
|
|
|
|
| |
Due to the semantics or possibly a bug in NSSCKFWC_CopyObject(), the
pem CopyObject function must return a new mdObject *. So this patch
creates a new mdObject as a shallow copy of the old one.
|
|
|
|
|
|
|
|
|
|
| |
Added a pemAll to pemObjectType enum - changed collect_objects() to
look through all types of objects if the caller did not specify a
particular type of object to look for - some of the PK11 routines
do not specify the type e.g. PK11_FindObjectForCert():
CK_ATTRIBUTE searchTemplate = { CKA_VALUE, NULL, 0 };
PK11_SETATTRS(&searchTemplate, CKA_VALUE, cert->derCert.data,
cert->derCert.len);
|
|
|
|
|
|
| |
spotted by Elio Maldonado Batiz
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
|
|
| |
Resolves 512019
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ckpem.h: Define list objects, add reference counter to internal
objects.
* pfind.c: Increase object's reference while exporting. Skip already
freed objects.
* pinst.c (AddObjectIfNeeded): New function providing sharing
of internal objects.
* pobject.c: Add support for list objects. Implement
pem_mdObject_Finalize().
* psession.c (pem_mdSession_CopyObject): Increase reference count only.
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
|
|
|
|
| |
Resolves 501191
|
|
|
|
|
|
| |
Elio helped me to complete the patch.
501080
|
|
|
|
| |
501118
|
|
|
|
| |
501058
|
|
|
|
| |
500815
|
|
|
|
|
|
| |
Reported by Michael Cronenworth.
500180
|
|
|
|
|
|
| |
Patch contributed by Kamil Dudka.
483855
|
|
|
|
|
|
| |
bytes of the U_LONG (Intel is a little endian platform).
429175
|
|
the Fedora nss package tree.
|