#331 (pki) Key related stuff

closed
pki (2)
5
2013-01-07
2011-11-18
Anonymous
No

::pki::rsa::generate and ::pki::pkcs::parse_key procs only handles the n,e,d vaules of a key, and calculates the size. On file attached, there is the full info of the rsa key set.

There is a new proc to converts the tcl stored key to pem, also with DES password encryption option, which is fully recognized by openssl. (Not sure if it is named properly)

However, there is a little bug i can not find yet after generating a rsa key, which sometimes makes crash the ::pki::pkcs::create_csr process, but it can be fix by generating a key then convert to pem then parse it back.

btw, i get an "integer value too large to represent" error when generating a 4096bit length key on ::pki::_isprime, should i post it as a bug?

Regards,

-=Raul=-

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2011-11-19

    key generating, parse and tcl2pem convert

     
  • Roy Keene

    Roy Keene - 2013-01-05

    This functionality is a part of pki 0.4 (not yet in tcllib). The only part that is not there yet is encrypting the output.

     
  • Roy Keene

    Roy Keene - 2013-01-05
    • labels: 705578 --> pki
     
  • Roy Keene

    Roy Keene - 2013-01-07

    Done !

     
  • Roy Keene

    Roy Keene - 2013-01-07
    • status: open --> closed
     
  • Andreas Kupries

    Andreas Kupries - 2013-01-07

    Does this mean that the change/code has been committed to the Tcllib Fossil Repository ?
    If not, then this is not truly done, and should not be closed.
    I am willing to do this, if necessary.

     
  • Andreas Kupries

    Andreas Kupries - 2013-01-07
    • assigned_to: andreas_kupries --> rkeene
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks