The fedone code does not support password protected private keys. The
code in WaveSignerFactory (see PKCS8EncodedKeySpec and the keyfactory
loaded for RSA keys (via java.security.KeyFactory.getInstance("RSA"))
does not currently accept passwords when creating private key objects.
If you feel this is a major omission, please file a bug or even better
- submit a patch :)

Thanks for pointing this problem out.

regards,
Jochen

On Tue, Jun 1, 2010 at 2:14 AM, georgik <[email protected]> wrote:
> Hello.
>
> I would like to report one issue.
> I set up FedOne using XMPP cert from startssl.com. Everything was ok,
> except ./run-server.sh. It was failing with following error:
>
> Exception in thread "main" com.google.inject.ProvisionException: Guice
> provision errors:
>
> 1) could not make wave signer
>  at
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.<init>(WaveSignerProvider.java:
> 60)
>  at
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider.class(WaveSignerProvider.java:
> 39)
>  while locating
> org.waveprotocol.wave.examples.fedone.waveserver.WaveSignerProvider
> ....
>
> The private key related to this certificate was protected by passowrd
> (generated on startssl.com). In this case ./check-certificates.sh
> required password, but then all veryfication was ok.
>
> Then I try to generate self-signed certificate without password and
> everything was ok - http://code.google.com/p/wave-protocol/wiki/Certificates
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Wave Protocol" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/wave-protocol?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Wave 
Protocol" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/wave-protocol?hl=en.

Reply via email to