Ignore:
Timestamp:
17/12/08 14:46:43 (12 years ago)
Author:
pjkersha
Message:

Re-run unit tests following fixes:

  • BaseSignatureHandler?.SignatureHandler? - important fix to setCert method
  • ndg.security.server.wsgi.openid.provider.OpenIDProviderMiddleware fix to _filterOpts
  • update to remaining certs due to expire in the unit tests dirs.
Location:
TI12-security/trunk/python/ndg.security.test/ndg/security/test
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/attAuthorityClientTest.cfg

    r4671 r4672  
    1111# ! SiteBMapConfig.xml trusted site A aaURI setting must agree with this  
    1212# setting for test6GetMappedAttCert 
    13 #uri = http://localhost:5000/AttributeAuthority 
     13uri = http://localhost:5000/AttributeAuthority 
    1414 
    1515# With TCP Mon: 
    16 uri = http://localhost:4999/AttributeAuthority 
     16#uri = http://localhost:4999/AttributeAuthority 
    1717 
    1818# For https connections only.  !Omit ssl* settings if using http! 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/attributeauthorityclient/test_attributeauthorityclient.py

    r4667 r4672  
    7777            sslCACertList = [] 
    7878             
     79        thisSection = self.cfg['setUp'] 
     80         
    7981        # Instantiate WS proxy 
    80         self.siteAClnt = AttributeAuthorityClient(uri=self.cfg['setUp']['uri'], 
    81                         sslPeerCertCN=self.cfg['setUp'].get('sslPeerCertCN'), 
    82                         sslCACertList=sslCACertList, 
    83                         cfgFileSection='wsse', 
    84                         cfg=self.cfgParser)             
     82        self.siteAClnt = AttributeAuthorityClient(uri=thisSection['uri'], 
     83                                sslPeerCertCN=thisSection.get('sslPeerCertCN'), 
     84                                sslCACertList=sslCACertList, 
     85                                cfgFileSection='wsse', 
     86                                cfg=self.cfgParser)             
    8587 
    8688    def test01GetHostInfo(self): 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/combinedservices/services.ini

    r4587 r4672  
    1717 
    1818[DEFAULT] 
    19 # Settings for WS-Security signature handler 
    20 #wsseCfgFilePath = %(here)s/services.ini 
    21 #wsseCfgFileSection = WS-Security 
    22  
    2319#______________________________________________________________________________ 
    2420# Attribute Authority settings 
     
    266262# The SessionManagerWS SOAP interface class needs to know about these other  
    267263# filters 
    268 referencedFilters = ndg.security.server.wsgi.wsseSignatureVerificationFilter01 ndg.security.server.wsgi.attributeAuthorityFilter 
     264referencedFilters = ndg.security.server.wsgi.wsseSignatureVerificationFilter01  
     265                                        ndg.security.server.wsgi.attributeAuthorityFilter 
    269266 
    270267# Path from URL for Session Manager in this Paste deployment 
     
    286283 
    287284# Settings for WS-Security SignatureHandler class used by this filter 
    288 #wsseCfgFilePath = %(here)s/services.ini 
    289 #wsseCfgFileSection = WS-Security 
    290285wsseCfgFilePrefix = wssecurity 
    291286 
     
    312307# Certificate associated with private key used to sign a message.  The sign  
    313308# method will add this to the BinarySecurityToken element of the WSSE header.   
    314 wssecurity.signingCertFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/siteAAttributeAuthority/siteA-aa.crt 
    315 #wssecurity.signingCertFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/siteAAttributeAuthority/java-ca-server.crt 
     309wssecurity.signingCertFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/server.crt 
    316310 
    317311# PEM encoded private key file 
    318 wssecurity.signingPriKeyFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/siteAAttributeAuthority/siteA-aa.key 
    319 #wssecurity.signingPriKeyFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/siteAAttributeAuthority/java-ca-server.key 
     312wssecurity.signingPriKeyFilePath=$NDGSEC_COMBINED_SRVS_UNITTEST_DIR/server.key 
    320313 
    321314# Set the ValueType for the BinarySecurityToken added to the WSSE header for a 
  • TI12-security/trunk/python/ndg.security.test/ndg/security/test/credentialwallet/clnt.crt

    r4285 r4672  
    22    Data: 
    33        Version: 3 (0x2) 
    4         Serial Number: 243 (0xf3) 
     4        Serial Number: 259 (0x103) 
    55        Signature Algorithm: md5WithRSAEncryption 
    66        Issuer: O=NDG, OU=BADC, CN=Test CA 
    77        Validity 
    8             Not Before: Dec 18 11:42:41 2007 GMT 
    9             Not After : Dec 17 11:42:41 2008 GMT 
     8            Not Before: Dec 16 15:19:45 2008 GMT 
     9            Not After : Dec 15 15:19:45 2013 GMT 
    1010        Subject: O=NDG Security Test, OU=WS-Security Unittest, CN=client 
    1111        Subject Public Key Info: 
     
    3333                Exponent: 65537 (0x10001) 
    3434        X509v3 extensions: 
    35             Netscape Cert Type: 
     35            Netscape Cert Type:  
    3636                SSL Client, SSL Server, S/MIME, Object Signing 
    3737    Signature Algorithm: md5WithRSAEncryption 
    38         c1:2b:11:0e:c3:fe:3e:f2:87:ee:48:e5:f1:29:9c:1f:a3:d8: 
    39         eb:f9:3a:d4:af:75:c7:b4:39:e0:b2:83:5e:ee:71:7c:fc:28: 
    40         73:fb:e4:62:7e:96:7b:f1:c3:b7:a4:94:b5:f7:41:a4:32:6a: 
    41         16:4b:8c:60:36:0c:c1:79:62:51:aa:79:fa:1e:8c:a0:82:58: 
    42         28:c6:cf:da:9b:79:eb:3a:f3:bf:e2:4a:8e:c2:f3:55:3f:b9: 
    43         c6:0e:55:ea:a9:79:9e:3c:d2:d1:07:6c:81:90:2f:a9:54:ba: 
    44         4a:7e:3c:f0:7c:86:c5:e0:b3:71:a5:48:a8:77:e3:83:b6:48: 
    45         6d:78 
     38        63:11:bf:8c:fe:88:3a:7d:12:1e:c1:ea:90:f6:11:33:f2:7d: 
     39        1d:2b:f3:22:3d:72:fb:1b:35:ed:cc:55:79:0e:98:13:41:cf: 
     40        44:5e:c7:88:75:08:b4:b2:2b:ad:11:0e:0b:2e:49:21:41:18: 
     41        6b:e9:2f:77:6d:27:4b:17:85:c8:fa:7b:91:45:97:a4:2d:f3: 
     42        24:4e:1e:be:c5:e5:bc:ca:fd:dc:b2:e9:e1:b1:8a:f0:c1:4f: 
     43        f9:c9:14:f8:c3:c2:98:66:fa:04:82:f1:8d:68:59:17:1f:f2: 
     44        bf:34:f7:c6:3c:85:9b:80:c6:bc:2f:66:2e:0e:f4:24:7c:d8: 
     45        9e:5f 
    4646-----BEGIN CERTIFICATE----- 
    47 MIICizCCAfSgAwIBAgICAPMwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
    48 MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA3MTIxODExNDI0 
    49 MVoXDTA4MTIxNzExNDI0MVowTDEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
     47MIICizCCAfSgAwIBAgICAQMwDQYJKoZIhvcNAQEEBQAwLzEMMAoGA1UEChMDTkRH 
     48MQ0wCwYDVQQLEwRCQURDMRAwDgYDVQQDEwdUZXN0IENBMB4XDTA4MTIxNjE1MTk0 
     49NVoXDTEzMTIxNTE1MTk0NVowTDEaMBgGA1UEChMRTkRHIFNlY3VyaXR5IFRlc3Qx 
    5050HTAbBgNVBAsTFFdTLVNlY3VyaXR5IFVuaXR0ZXN0MQ8wDQYDVQQDEwZjbGllbnQw 
    5151ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCY7CFf5GAGGJEY38Vukj0U 
     
    5555mtvitXt9HJwdCZbPmPyxs6STvFHMZru1mY5dj1YWT8PBT5Svmpo/EEiL+TZctcXE 
    5656SRRSVxu99yRBJ0f9Nd8IPxtuyyIVX4+xfgOLrNoVQuIV5vKTCZh5RrWjpbk/0eqN 
    57 AgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQDB 
    58 KxEOw/4+8ofuSOXxKZwfo9jr+TrUr3XHtDngsoNe7nF8/Chz++RifpZ78cO3pJS1 
    59 90GkMmoWS4xgNgzBeWJRqnn6Hoygglgoxs/am3nrOvO/4kqOwvNVP7nGDlXqqXme 
    60 PNLRB2yBkC+pVLpKfjzwfIbF4LNxpUiod+ODtkhteA== 
     57AgMBAAGjFTATMBEGCWCGSAGG+EIBAQQEAwIE8DANBgkqhkiG9w0BAQQFAAOBgQBj 
     58Eb+M/og6fRIeweqQ9hEz8n0dK/MiPXL7GzXtzFV5DpgTQc9EXseIdQi0siutEQ4L 
     59LkkhQRhr6S93bSdLF4XI+nuRRZekLfMkTh6+xeW8yv3csunhsYrwwU/5yRT4w8KY 
     60ZvoEgvGNaFkXH/K/NPfGPIWbgMa8L2YuDvQkfNieXw== 
    6161-----END CERTIFICATE----- 
Note: See TracChangeset for help on using the changeset viewer.