summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgPrivateKeyCreator.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove blanket excepts from plugins and lintChris St. Pierre2015-02-181-41/+53
| | | | | | | | | | This removes most blanket except: clauses from all plugins, including the base plugin libraries, and bcfg2-lint. The few that remain should all be necessary. Most of the changes were quite minor, but this did require some restructuring of the CfgPrivateKeyCreator; as a result, the tests for that module were rewritten.
* Merge branch 'maint'Chris St. Pierre2013-09-161-18/+2
|\ | | | | | | | | | | Conflicts: src/lib/Bcfg2/Server/Plugins/Cfg/CfgPublicKeyCreator.py testsuite/Testsrc/Testlib/TestServer/TestPlugins/TestCfg/TestCfgPrivateKeyCreator.py
| * CfgPublicKeyCreator: properly handle case where only private key has been ↵Chris St. Pierre2013-09-161-18/+1
| | | | | | | | | | | | | | | | | | created Previously, only two cases were handled properly: both public and private keys had been created; or neither had been created. If the private key had been created (e.g., manually added to the repo), the public key would not be created from it. This fixes that.
* | testsuite: fixed unit tests for new SSLCA stuffChris St. Pierre2013-08-131-7/+5
| |
* | Rewrote SSLCA as Cfg handler.Chris St. Pierre2013-08-131-124/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds encryption support to SSL key creation (much like SSH private keys), and the ability to generate keys and certs that are specific to groups, instead of just to hosts. It also moves the SSLCA data (the XML files describing keys and certs as well as the keys and certs themselves) into the Cfg tree, rather than off in their own separate place. tools/upgrade/1.4/migrate_sslca.py can be used to migrate to the new format. This also adds XMLCfgCreator, a CfgCreator that makes it easier to create data based on XML descriptions of it (which is exactly what the SSH key and SSL CA creators do), including built-in support for host- and group-specific data, encryption, and so on.
* | testsuite: fixed unit tests for server pluginsChris St. Pierre2013-08-091-94/+35
| |
* | Fixing unit testsChris St. Pierre2013-04-251-4/+2
| |
* | use Executor class for better subprocess calling on serverChris St. Pierre2013-03-141-16/+13
| |
* | moved some libraries in Bcfg2/ into more specific (Server/ or Client/) placesChris St. Pierre2013-02-051-3/+4
| |
* | abstracted encryption support from Properties/CfgPrivateKeyCreator to StructFileChris St. Pierre2013-01-171-99/+0
| |
* | added module-level OptionParser to avoid passing it as an argument or global ↵Chris St. Pierre2013-01-171-78/+48
|/ | | | all over
* testsuite: fixed tests for decryption in Properties/CfgPrivateKeyCreatorChris St. Pierre2013-01-161-100/+104
|
* fixed unit testsChris St. Pierre2013-01-031-21/+19
|
* Cfg: Added feature to provide generation of SSH keys, authorized_keys fileChris St. Pierre2013-01-031-0/+435