#7800: dsage -- re-enable use of openssl to certificate keys, if openssl is
installed  (why the notebook in secure mode is so slow to generate initial
keys!)
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:  tbd                  
       Type:  defect  |      Status:  needs_review         
   Priority:  major   |   Milestone:  sage-4.3.1           
  Component:  dsage   |    Keywords:  notebook secure dsage
Work_issues:          |      Author:                       
   Upstream:  N/A     |    Reviewer:                       
     Merged:          |  
----------------------+-----------------------------------------------------

Comment(by was):

 Post on mailing list:

 {{{

 Hi,

 I kept suggesting the above, because long ago I wrote this code in dsage:

 -------------
     if os.uname()[0] != 'Darwin' and cmd_exists('openssl'):
         # We use openssl by default if it exists, since it is *vastly*
         # faster on Linux.
         cmd = ['openssl genrsa > %s' % privkey_file]
         print "Using openssl to generate key"
         print cmd[0]
         subprocess.call(cmd, shell=True)
 -------------

 So I thought people were having issues with slow keys since they didn't
 have openssl installed.  However, I just checked and the above code
 mysteriously morphed into:

 -------------
     if False and os.uname()[0] != 'Darwin' and cmd_exists('openssl'):
         # We use openssl by default if it exists, since it is *vastly*
         # faster on Linux.
         cmd = ['openssl genrsa > %s' % privkey_file]
         print "Using openssl to generate key"
         print cmd[0]
         subprocess.call(cmd, shell=True)
     else:...
 -------------

 I'm guessing somebody tested certtool on one platform where they got luck
 and certtool seemed to actually work in a reasonable amount of time, and
 concluded the issue was fixed.  Nope.

 Please referee

    http://trac.sagemath.org/sage_trac/ticket/7800

 which reverts this behavior, switching back to using openssl if available.
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7800#comment:3>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--

You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.


Reply via email to