source: TI12-security/trunk/NDGSecurity/python/Tests/__init__.py @ 751

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/TI12-security/trunk/NDGSecurity/python/Tests/__init__.py@6988
Revision 751, 0 bytes checked in by pjkersha, 14 years ago (diff)

Tests/init.py: enables test files to be loaded as part of a package

Tests/SessionMgrIOtest.py: converted into format for pyunit

Tests/attCertTest.py: added test for signing

www/cgi-bin/security.py: added pub/pri key args for encryption.

bin/ndgSessionClient.py: update to help text for --req-role option.

NDG/AttAuthority.py: fixed bug in valid ext AttCert? check except block.

NDG/AttCert.py: modified isValidTime() to allow exception to be raised in order to give info
about why the cert time is not valid.

NDG/XMLMsg.py: updateXML() - leave tags set to None.

NDG/XMLSecDoc.py: fixed bug in asString() - make sure a filePath has been set if libxml2Doc
is not initialised.

NDG/SessionMgrIO.py:

regular expressions to parse AttCerts?. The default using ElementTree adds in unwanted 'ns0'
namespaces to the digital signature elements. Also fixes to updateXML methods.

NDG/SessionClient.py:

  • default mapFromTrustedHosts to None for reqAuthorisation() method. This tells wallet at

SessionMgr? to leave this flag setting as it is without modifying it.

NDG/CredWallet.py:

  • reqAuthorisation() - check "if not mapFromTrustedHosts and not rtnExtAttCertList" was in

the wrong place. Moved it to BEFORE call to getAATrustedHostInfo().

(The file is empty)

Note: See TracBrowser for help on using the repository browser.