Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Own keystore doesn't work any more #75

Closed
GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments
Closed

Own keystore doesn't work any more #75

GoogleCodeExporter opened this issue Mar 14, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Use your own keystore file (store.bks) for a self signed certificate
2. Set the password for the keystore and try to connect to your ttrss server
3. Watch the error of keystore file cannot be opened with debugging

The bug seems to be in Controller.java, the password for the keystore is never 
read from preferences and thus is unset.

Comments in line 262 (method getKeystorePassword()) state: 
// Initialized inside initializeController();
but I cannot find any initialization there. 

After adding the following in getKeystorePassword():
if( keystorePassword == null) 
  keystorePassword = prefs.getString(Constants.KEYSTORE_PASSWORD, Constants.EMPTY);
it works again as expected.

Original issue reported on code.google.com by simon.na...@gmail.com on 8 Sep 2011 at 9:58

Attachments:

@GoogleCodeExporter
Copy link
Author

Seems like I forgot this when refactoring some time ago. Should be fixed with 
the next version.

Greetings,
nils

Original comment by nils.braden on 27 Sep 2011 at 8:29

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Original comment by nils.braden on 29 Sep 2011 at 10:01

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant