[rfc][icedtea-web] signed applets test

Jiri Vanek jvanek at redhat.com
Wed Apr 11 02:34:20 PDT 2012


Hi!

This is implementation of what we have agreed for signed applets - add(and remove) certificate to 
~/.icedtea/security/trusted.certs, launch applet signed by this cert in explorer and read stdout/in 
as we are doing for applet tests right now.

There is question how to deal with -Xtrustall which is now useless when there is trusted certificate 
(all signed reproducers are right now signed with same cert, and when more to much reproducers will 
need to much different certificates this will need re-factoring probably too).

After  this change is in, the PR905 reproducer have sense to go in too.

changelog:

2012-04-11  Jiri Vanek  <jvanek at redhat.com>

	Allowed signed appletes in automatic reproducers tests
	* tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.html:
	html file for lunching signed applet. Its stile is different from the one for
	calling unsigned applets.
	* tests/jnlp_tests/signed/AppletTestSigned/resources/bd.css: style of signed
	applets page
	* tests/jnlp_tests/signed/AppletTestSigned/resources/AppletTestSigned.jnlp:
	jnlp fiel for lunched signed applet
	* tests/jnlp_tests/signed/AppletTestSigned/srcs/AppletTestSigned.java
	body of signed applet
	* tests/jnlp_tests/signed/AppletTestSigned/testcases/AppletTestSignedTests.java:
	(AppletTestSignedTest) testing method to launch signed applet in javaws
	(AppletTestSignedFirefoxTest) testing method to launch signed applet in
	browser
	* Makefile.am: KEYSTORE_PASS, EXPORTED_CERT, TEST_CERT_ALIAS, PUBLIC_KEYSTORE
	PUBLIC_PASS: new globnal variables holding keystores credentials
	(clean-local) clean-bootstrap-directory moved to be last one, as keytool
	is necessary for removing certificate
	(EXPORTED_CERT): new target exporting certificate from testing keystore
	(stamps/netx-dist-tests-import-cert-to-public) new target to import
	certificate to PUBLIC_KEYSTORE
	(netx-dist-tests-remove-cert-from-public) new target removing testing
	certificate from PUBLIC_KEYSTORE
	(clean-netx-dist-tests) now depends on netx-dist-tests-remove-cert-from-public
	and is removing EXPORTED_CERT file
	
	

Best regards, J
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signedApplets.diff
Type: text/x-patch
Size: 18782 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120411/15396ebe/signedApplets.diff 


More information about the distro-pkg-dev mailing list