Hi,
Is is possible to import a symmetric key such that it is persisted in the
database? I have tried the following.
unsigned char secret[] = {0xe8, 0xa7, 0x7c, 0xe2, 0x05, 0x63, 0x6a, 0x31};
SECItem key;
key.type = siBuffer;
key.data = secret;
key.len = sizeof(secret);
PK11SlotInfo *slot =
On 07/29/2013 06:00 PM, John wrote:
Hi,
Is is possible to import a symmetric key such that it is persisted in the
database?
Short answer: use PK11_ImportSymKeyWithFlags().
Set flags=0, and isPerm to PR_TRUE.
Longer answer:
NOTE: neither PK11_ImportSymKey() nor PK11_ImportSymKeyWithFlags()
Hi,
I was not able to open NSS on FF android. Is NSS available on FireFox on
Android?
I tried the follwing:
var ds = Services.dirsvc.get(GreD, Components.interfaces.nsILocalFile);
var libName = ctypes.libraryName(nss3);
ds.append(libName);
var nsslib = ctypes.open(ds.path); // FAILS TO OPEN
On 07/30/2013 02:58 PM, hv wrote:
Hi,
I was not able to open NSS on FF android. Is NSS available on FireFox on
Android?
I tried the follwing:
var ds = Services.dirsvc.get(GreD, Components.interfaces.nsILocalFile);
var libName = ctypes.libraryName(nss3);
ds.append(libName);
var nsslib =
See
https://mxr.mozilla.org/mozilla-central/source/services/crypto/modules/WeaveCrypto.js#123
and https://bugzilla.mozilla.org/show_bug.cgi?id=583209
and https://bugzilla.mozilla.org/show_bug.cgi?id=648407
On Tue, Jul 30, 2013 at 11:58 PM, hv hishamkanni...@gmail.com wrote:
Hi,
I was not
On 07/30/2013 04:27 PM, Brian Smith wrote:
See
https://mxr.mozilla.org/mozilla-central/source/services/crypto/modules/WeaveCrypto.js#123
and https://bugzilla.mozilla.org/show_bug.cgi?id=583209
and https://bugzilla.mozilla.org/show_bug.cgi?id=648407
Oh, I didn't get that it was a call from
On Wed, Jul 31, 2013 at 1:58 AM, Robert Relyea rrel...@redhat.com wrote:
On 07/30/2013 04:27 PM, Brian Smith wrote:
See
https://mxr.mozilla.org/**mozilla-central/source/**
Thank you.
FIPS is not enabled so PK11_ImportSymKeyWithFlags() works for me. However
I'm unable to export the imported key using PK11_ExtractKeyValue() and
PK11_GetKeyData(). I suspect this is by design - keys are protected from
being exported?
As a work around, I have tried importing the key
On 07/30/2013 05:34 PM, John wrote:
Thank you.
FIPS is not enabled so PK11_ImportSymKeyWithFlags() works for me. However
I'm unable to export the imported key using PK11_ExtractKeyValue() and
PK11_GetKeyData(). I suspect this is by design - keys are protected from
being exported?
keys that are
At this point I usually ask, what is it you are trying to do? usually
when I see someone trying to import or export keyblobs, they are coding
at the wrong level and we should be pushing more of whatever protocol
you are running into NSS.
I'm developing a One Time Password software token
10 matches
Mail list logo