Ticket UUID: | 3440115 | |||
Title: | Unknown hashing algorithm: unknown | |||
Type: | Bug | Version: | None | |
Submitter: | Created on: | 2011-11-19 01:40:39 | ||
Subsystem: | pki | Assigned To: | rkeene | |
Priority: | 5 Medium | Severity: | ||
Status: | Closed | Last Modified: | 2012-02-21 00:09:01 | |
Resolution: | Fixed | Closed By: | rkeene | |
Closed on: | 2012-02-19 02:04:15 | |||
Description: |
Using pki package contained in tcllit1.14RC0, there comes a problem (not always) after generating a rsa key pair (2048) when singing a request certificate, and it throws that error mentioned in the summary. Same situation happen with 1.13. However, using the additions I posted in "Feature request" with id 3440058, which allows me to convert a generated key set to pem and write it in disk, I can generate a key, convert it to pem, and parse it again and the problem does not happen. I wrote a test case code fully explained attached in this report Regards, -=Raul=- | |||
User Comments: |
rkeene added on 2012-02-19 09:04:15:
allow_comments - 1 Fixed in pki 0.3, commited to CVS added on 2011-11-21 14:51:25: I uploaded a different algorithm that works for me, still slow on the prime search on bigger keys (2048) hope it helps added on 2011-11-21 14:49:08: File Added - 428956: rsa_generate.tcl added on 2011-11-20 18:38:10: something i realized after a few tests. The key set is not always generated with the equal amount of bits specified, and that is what causes the problem at the time of the signing. Something that may patch the problem (not the actual fix) would be to recalculate the bitlenth using the way parse_key proc does and set retkey(l) to that value before returning the set of values at the end of the generate proc. added on 2011-11-19 08:40:40: File Added - 428823: sign_test.tcl |