yikuang / wave-protocol

Automatically exported from code.google.com/p/wave-protocol
0 stars 0 forks source link

Tests in CertificateManagerImplTests fail #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. "Fix" testRealSignature/setUp as per the TODOs in 
CertificateManagerImplTest.java
2. Run "ant test"
3. Observe failure

What is the expected output? What do you see instead?

Tests should pass, but they fail.

To be more specific, the relevant tests are testRealSignature and all tests 
which are affected by the enabling of signer info validatation (line 208 at  
version 2e5f1d5c44).

http://code.google.com/p/wave-
protocol/source/browse/test/org/waveprotocol/wave/examples/fedone/waveserve
r/CertificateManagerImplTest.java

Original issue reported on code.google.com by btkalman@gmail.com on 16 Sep 2009 at 2:24

GoogleCodeExporter commented 9 years ago
The problem was that the REAL_SIGNATURE was computed with an off-line "real" 
signing key. Whenever we change one bit of the representation of the delta, the 
signature changes, and we have to re-compute it. Which is what I did.

Original comment by dirk.bal...@gmail.com on 13 Oct 2009 at 7:36