Closed Bug 288492 Opened 20 years ago Closed 3 years ago

Can't import DSA Private Key to PK11Store

Categories

(JSS Graveyard :: Library, defect)

x86
Windows XP
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: srinarang, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; NetCaptor 7.5.0 Gold; .NET CLR 1.1.4322)
Build Identifier: JSS 3.4.1 , NSS3.9.2

I try to import RSA and DSA Private key to PK11Store. RSA can import 
successfull but the DSA Is can't

Reproducible: Always

Steps to Reproduce:
1.Get the DSA PrivateKey from PKCS#12 file
2.Import the DSA PrivateKey to PK11Store by method importPrivateKey(byte
[],PrivateKeyType.Type)
3.I have got an error.

Actual Results:  
The program throw exception "Token Exception"

Expected Results:  
It should successfully import DSA PrivateKey to PK11Store
Attached file Source Code
Glen, could you or one of your co-workers look at
this?
Assignee: wtchang → glen.beasley
Yes .
How there ,No any one do some thing ?
What PKCS#11 device are you using to test this. Are you sure that it supports DSA keys (in general)? If it does support DSA key, it may not support unwrapping of DSA keys (as opposed to on-board generation of such keys).
I Use Internal Token (Soft token) of Mozilla.
I test on jss V.3.
And I am going to test on JSS V.4.
This bug needs a reproducible test case. 
Besides source code, it needs sample data.  
QA Contact: libraries
QA Contact: libraries → jss-qa
Assignee: gbmozilla → nobody
JSS development has moved from the Mozilla community to the Dogtag PKI community. Please re-file this bug at https://github.com/dogtagpki/jss if it is still relevant. Thank you!
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: