trust_anchors: XML and certificate tests for bootstrap
At the moment tests are quite dumb and test only basic HTTPS certificate validation and XML parsing/error detection. We need to refactor code first to allow more detailed testing. FIXME: webserv.lua is not terminated when tests are finished
parent
af5055fc
No related branches found
No related tags found
Showing
- daemon/lua/trust_anchors.lua.in 6 additions, 0 deletionsdaemon/lua/trust_anchors.lua.in
- daemon/lua/trust_anchors.test/bootstrap.test.lua 108 additions, 0 deletionsdaemon/lua/trust_anchors.test/bootstrap.test.lua
- daemon/lua/trust_anchors.test/err_attr_extra_attr.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_attr_extra_attr.xml
- daemon/lua/trust_anchors.test/err_attr_validfrom_invalid.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_attr_validfrom_invalid.xml
- daemon/lua/trust_anchors.test/err_attr_validfrom_missing.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_attr_validfrom_missing.xml
- daemon/lua/trust_anchors.test/err_elem_extra.xml 17 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_elem_extra.xml
- daemon/lua/trust_anchors.test/err_elem_missing.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_elem_missing.xml
- daemon/lua/trust_anchors.test/err_multi_ta.xml 19 additions, 0 deletionsdaemon/lua/trust_anchors.test/err_multi_ta.xml
- daemon/lua/trust_anchors.test/ok0_badtimes.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/ok0_badtimes.xml
- daemon/lua/trust_anchors.test/ok1.xml 10 additions, 0 deletionsdaemon/lua/trust_anchors.test/ok1.xml
- daemon/lua/trust_anchors.test/ok1_expired1.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/ok1_expired1.xml
- daemon/lua/trust_anchors.test/ok1_notyet1.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/ok1_notyet1.xml
- daemon/lua/trust_anchors.test/ok2.xml 16 additions, 0 deletionsdaemon/lua/trust_anchors.test/ok2.xml
- daemon/lua/trust_anchors.test/regen.sh 2 additions, 0 deletionsdaemon/lua/trust_anchors.test/regen.sh
- daemon/lua/trust_anchors.test/unsupp_nonroot.xml 10 additions, 0 deletionsdaemon/lua/trust_anchors.test/unsupp_nonroot.xml
- daemon/lua/trust_anchors.test/unsupp_xml_v11.xml 10 additions, 0 deletionsdaemon/lua/trust_anchors.test/unsupp_xml_v11.xml
- daemon/lua/trust_anchors.test/webserv.lua 234 additions, 0 deletionsdaemon/lua/trust_anchors.test/webserv.lua
- daemon/lua/trust_anchors.test/x509/ca-key.pem 182 additions, 0 deletionsdaemon/lua/trust_anchors.test/x509/ca-key.pem
- daemon/lua/trust_anchors.test/x509/ca.pem 24 additions, 0 deletionsdaemon/lua/trust_anchors.test/x509/ca.pem
- daemon/lua/trust_anchors.test/x509/ca.tmpl 3 additions, 0 deletionsdaemon/lua/trust_anchors.test/x509/ca.tmpl
Loading
Please register or sign in to comment