Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#331 (pki) Key related stuff

closed
Roy Keene
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


  • 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

    pki 0.5 ( http://www.rkeene.org/devel/pki/pki-0.5.tar.gz ) now supports emitting password-protected private keys -- feature request complete.

     
  • Roy Keene
    Roy Keene
    2013-01-07

    Done !

     
  • Roy Keene
    Roy Keene
    2013-01-07

    • status: open --> closed
     
  • 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.

     
    • assigned_to: andreas_kupries --> rkeene