aboutsummaryrefslogtreecommitdiff
path: root/rpkid/tests/yamltest.py
AgeCommit message (Collapse)Author
2014-02-25Router certificates working again after changes to get subject name out of ↵Rob Austein
the PKCS !#10. svn path=/branches/tk671/; revision=5683
2014-02-25Something broke MySQLdb on my laptop during a recent upgrade, and IRob Austein
have better things to do than shaving that particular yak today. So I'm committing untested changes (to a development branch that nobody but me is using) so I can test them on a working development platform. svn path=/branches/tk671/; revision=5682
2014-02-21Add router certificate support to yamltest, rpkic, etc.Rob Austein
svn path=/branches/tk671/; revision=5680
2014-02-20Whack RSA-specific code to a more general API using PrivateKey andRob Austein
PublicKey classes, with RSA and ECDSA as subclasses extending PrivateKey. Revised API not necessarily in final form yet, but good enough for smoketest to generate ECDSA keys for testing router certs. svn path=/branches/tk671/; revision=5679
2014-01-08getopt -> argparse, update copyright.Rob Austein
svn path=/trunk/; revision=5620
2013-09-30Don't delay waiting for daemons to start up if we're just going toRob Austein
wait for them to exit anyway. svn path=/trunk/; revision=5535
2013-05-14Don't depend on default SQL password, since that's now generated onRob Austein
the fly during compilation. svn path=/trunk/; revision=5335
2013-04-19Add option to allow setting initial resource validity when configuringRob Austein
child in rpkic, and teach yamltest to use it. svn path=/trunk/; revision=5301
2013-04-18Teach rpkic and yamltest about Ghostbusters records.Rob Austein
svn path=/trunk/; revision=5300
2013-04-16Restrict use of rpkid.self.regen_margin to certificate regeneration,Rob Austein
sharing a single regeneration interval value between certificates and CRLs just doesn't work, and we can infer the CRL regeneration interval from crl_interval. Change default value of regen_margin to something consistent with human-time-scale expectations and the GUI's impending expiration warning interval. See #347 and #512. svn path=/trunk/; revision=5297
2013-03-25Break rootd setup out of rpkic create_identity into new command rpkicRob Austein
configure_root command; and rename rpkic delete_self to delete_identity for symmetry. Clean up handling of rpkic command syntax errors. Exit with non-zero status when rpkic is invoked with arguments and the given command throws an error. See #466. svn path=/trunk/; revision=5213
2013-03-25Add create_identity and initialize_server_bpki, teach yamltest to useRob Austein
them, and teach Zookeeper.write_bpki_files() to tolerate being called with rootd enabled but not yet configured. See #466. svn path=/trunk/; revision=5211
2013-03-21[5076] broke yamltest, customize publication_base_directory to fix.Rob Austein
svn path=/trunk/; revision=5196
2013-01-25Clean up and extend rpki.log.init() to support things like letting theRob Austein
GUI provide its own file-like object as a destination for logging. See #396. svn path=/trunk/; revision=4979
2012-11-18Test environment for deliberately broken pubd.Rob Austein
svn path=/trunk/; revision=4886
2012-10-26Teach MySQLdb converter interface about rpki.sundial.datetime.Rob Austein
svn path=/branches/tk274/; revision=4794
2012-10-18pylintRob Austein
svn path=/branches/tk274/; revision=4786
2012-10-12Deobfuscate.Rob Austein
svn path=/branches/tk274/; revision=4775
2012-10-09Whack SIA and AIA code to use POW instead of POW.pkix. WhackRob Austein
smoketest repository layout to silence (correct) rcynic whining about objects not in manifest. svn path=/branches/tk274/; revision=4761
2012-09-01Don't write .csv files when in --skip_config mode. This was maskingRob Austein
the bug fixed in [4684]. svn path=/branches/tk274/; revision=4686
2012-08-31Tweak shutdown to give children more time to save profile data.Rob Austein
svn path=/branches/tk274/; revision=4679
2012-08-27Move root.cer to separate rsync module when building testRob Austein
configurations, to avoid warnings about it being tainted. This is really a conflict between needing to support rootd and wanting to make the configuration clean when not running rootd: either we add an extra directory level to the publication structure which we don't use when not running rootd, or we move root.cer somewhere else. Since the latter is simpler except for test configurations which are already generated for us by programs, we do the latter. svn path=/branches/tk274/; revision=4667
2012-08-24Cleanup, add timestamps.Rob Austein
svn path=/branches/tk274/; revision=4659
2012-08-24Add --loopback to yamlconf and --synchronize to yamltest, so that weRob Austein
can use yamltest to test configurations generated by yamlconf. svn path=/branches/tk274/; revision=4658
2012-08-20Extend insecure-debug-only-rsa-key hack to something we can use withRob Austein
rpkic under yamltest. svn path=/branches/tk274/; revision=4649
2012-08-19Refactor rpkid high-level task system to use classes rather thanRob Austein
closures, to make it easier for long-running tasks to yield the CPU periodically. As a side effect, this moves a lot of dense code out of rpki.left_right.self_elt methods and into separate task-specific classes. See #275. svn path=/branches/tk274/; revision=4640
2012-08-18Merge rpkic profiling support from trunk/.Rob Austein
svn path=/branches/tk274/; revision=4639
2012-08-09Switch rpki.sql.session.cache to use weak references, so that Python'sRob Austein
garbage collector can free up cache entries we're not using for us. Rework update_roas() to be a bit more frugal with memory. See #278. svn path=/branches/tk274/; revision=4626
2012-08-09Sometimes it takes more than one signal to get a subprocess to exit.Rob Austein
svn path=/branches/tk274/; revision=4624
2012-07-30Remove -s from getopt string too.Rob Austein
svn path=/trunk/; revision=4612
2012-07-30Add --stop_after_configRob Austein
svn path=/trunk/; revision=4611
2012-07-26Add profiling support to yamltest; fix profiling support in daemons.Rob Austein
Tweak yamltest to force one ROA request per prefix regardless of how the user expressed it; we may want to revisit this eventually, but it's more useful this way for now. svn path=/trunk/; revision=4609
2012-07-03Add TAL support.Rob Austein
svn path=/trunk/; revision=4566
2012-06-16Add "--flat_publication" option to yamltest, and correspondingRob Austein
"--flat" option to rpkic configure_publication_client. These are for testing and simulation, do not use them in production. svn path=/trunk/; revision=4545
2012-05-04Don't explode if valid_until isn't set in test configuration.Rob Austein
svn path=/branches/tk33/; revision=4465
2012-04-17Synchronize with daemons automatically after rpkic commands whereRob Austein
doing so makes sense. This closes #236. svn path=/trunk/; revision=4433
2012-04-15Put BPKI server files in /usr/local/share/rpki (akaRob Austein
${datarootdir}/rpki). This closes #230 and partially addresses #227. svn path=/trunk/; revision=4421
2012-02-22Make base_port configurable in [yamltest] section of rpki.conf. See #200.Rob Austein
svn path=/branches/tk161/; revision=4358
2012-01-12Refactor library functions out of rpkic command line shell (see #26,Rob Austein
but note that I'm working this as part of #100 so it's on the tk100 branch, see #100). This substantially completes #26 and #100, other than GUI integration. Still some documentation and cleanup work to be done. svn path=/branches/tk100/; revision=4150
2012-01-08Checkpoint. New irdbd now work, after some transaction voodoo.Rob Austein
svn path=/branches/tk100/; revision=4147
2012-01-07Checkpoint. rpkic and yamltest mostly work, but irdbd is still actingRob Austein
weird. svn path=/branches/tk100/; revision=4146
2011-12-14Start hacking replacement for myrpki comamnd (rpkic) which uses theRob Austein
new Django-model-based entitydb and IRDB. svn path=/branches/tk100/; revision=4121
2011-01-20Generate Python executables during compilation rather than fromRob Austein
./configure. Change (almost) all programs to use rpki.conf instead of separate config files for each program, and add support for ${prefix}/etc/rpki.conf like normal system programs. svn path=/buildtools/make-python-executable.py; revision=3620
2010-12-29First cut at getting Python stuff fully (well, more fully) under autoconfRob Austein
svn path=/pow/Makefile.in; revision=3582
2010-11-14Use sys.executable to find Python; use same SQL usernames in yamltest as in ↵Rob Austein
smoketest svn path=/rpkid/tests/smoketest.py; revision=3550
2010-10-07Merge rpkid.without_tls/ branch to rpkid/ trunk.Rob Austein
svn path=/rpkid/Makefile; revision=3465
2010-10-04Hack rpki.myrpki.csv_writer to write to a temporary filename, thenRob Austein
rename to the real filename on close. svn path=/rpkid.without_tls/rpki/myrpki.py; revision=3457
2010-07-11Clean up uses of RuntimeError exceptionRob Austein
svn path=/rpkid/irdbd.py; revision=3378
2010-07-04Handle nested hosting cases properly.Rob Austein
svn path=/rpkid/rpki/myrpki.py; revision=3324
2010-07-03Set "run_rpkid" correctly. This exposes a structural problem withRob Austein
yamltest's initialization sequence, which needs to be fixed, but at least this way myrpki knows that yamltest is doing something screwy. svn path=/rpkid/tests/yamltest.py; revision=3322