Changeset 2153


Ignore:
Timestamp:
13/02/07 10:39:57 (12 years ago)
Author:
pjkersha
Message:

Fixes to CA pass-phrase setting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.server/ndg/security/server/ca/server-config.tac

    r2148 r2153  
    1414License, version 1.0 or later. 
    1515""" 
    16 import socket 
     16import sys 
    1717 
    1818from ZSI.twisted.WSresource import WSResource 
     
    4444        except SimpleCAPassPhraseError: 
    4545                import getpass 
    46          
     46 
    4747                nTries = 0 
    4848                while nTries < 10: 
    4949                    try: 
    50                         simpleCA.caPassphrase = \ 
     50                        self.ca.caPassphrase = \ 
    5151                            getpass.getpass(prompt="CA Pass-phrase: ") 
    5252                        break 
Note: See TracChangeset for help on using the changeset viewer.