[rfc][icedtea-web] reproducer for pr822 (I hope)

Jiri Vanek jvanek at redhat.com
Wed May 30 09:20:32 PDT 2012


Hi!

This reproducer is trying to lunch application/applet consisted from two jars, each signed by 
different signature.

Applets are behaving correctly - are launched when packages are signed differently.
jnlp application donot:
a) when
   <security>
     <all-permissions/>
   </security>
is included in jnlp, then it dies with "jars are not signed exception"
b) when the
   <security>
     <all-permissions/>
   </security>
is missing then restricted code is allowed (in case of same package it dies correctly with 
"different signatures for package" exception.

I consider both a and b as incorrect, but we can live with b until a is fixed.

So the last test method of both testcases should be @KnownToFail :)

btw I'm not sure if this is representing pr822 but i guess it is.

8 new tests - two of them failing.

Thanx in advice
  J.



2012-05-30  Jiri Vanek  <jvanek at redhat.com>

	Added reproducer fro multiple signatures
	* Makefile.am: SIGNED_REPRODUCERS growth for signed2 directory
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/*: test for launching
	application containing two signed - each by different certificate - jars
	and different signatures are applied on different packages
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest.html:
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1.jnlp:
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest1_requesting.jnlp
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/resources/MultipleSignaturesTest2.jnlp:
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTest/srcs/somecrazytestpackage/MultipleSignaturesTest.java:
	* tests/jnlp_tests/signed2/MultipleSignaturesTest/testcases/MultipleSignaturesTestTests.java:
	* tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/*: test for launching
	application containing two signed - each by different certificate - jars
	but different signatures are applied on same packages
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest1_SamePackage.jnlp:
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest1_SamePackage_requesting.jnlp
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest2_SamePackage.jnlp:
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/resources/MultipleSignaturesTest_SamePackage.html:
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/srcs/MultipleSignaturesTestSamePackage.java:
	* 
tests/jnlp_tests/signed2/MultipleSignaturesTestSamePackage/testcases/MultipleSignaturesTestTestsSamePackage.java:
	* tests/netx/jnlp_testsengine/net/sourceforge/jnlp/ServerAccess.java:
	introduced VERBOSE_OPTION with "-verbose" value
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MultipleSignaturesReprodcuer.diff
Type: text/x-patch
Size: 40246 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120530/7053f114/MultipleSignaturesReprodcuer.diff 


More information about the distro-pkg-dev mailing list