Latest Version can not create Certificates

Bug #727016 reported by Rokk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Fix Released
Medium
Steven Sheehy

Bug Description

Under File => Preferences => Advanced => Security i can chose Private Key File (example certificate.key). Then I click the button "Generate certificates".
The Latest Version of DC++ does not create the certificate certificate.key, it creates a empty directory named certificate.key!

Related branches

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

I'm unable to reproduce your issue. What version are you using? 'Latest' is a bit ambiguous. Copy and paste the version info from the about menu here.

Changed in linuxdcpp:
status: New → Incomplete
tags: removed: create dont
Revision history for this message
Rokk (mario-ziv) wrote :

Ok I understand:
Im Using LinuxDC++ version: 1.1.0~pre1~bzrCore version: 0.75

Best regards

Revision history for this message
Rokk (mario-ziv) wrote :

I click on OK and restart the DC++ Client

Revision history for this message
Rokk (mario-ziv) wrote :

When the DC++ Client is started i can go to the certificates directory and i find a new empty subdir with the name "client.key"

Revision history for this message
Rokk (mario-ziv) wrote :

When I run an old version of dc++ I can see, that the Certification Paths are not files - there are Directorys!

Maybe you can change the Certification Path in text-boxes like in this old version :)

Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

Ok, I was able to reproduce now. Thanks for the report.

Changed in linuxdcpp:
assignee: nobody → Steven Sheehy (steven-sheehy)
importance: Undecided → Medium
milestone: none → 1.1.0
status: Incomplete → Confirmed
Revision history for this message
Steven Sheehy (steven-sheehy) wrote :

Latest commit should hopefully fix it. Unfortunately you'll have to correct your settings manually first. Here's the steps:

1) close LinuxDC++
2) rm -rf ~/.dc++/Certificates
3) edit ~/.dc++/DCPlusPlus.xml to remove extra '/' at the end of TLSPrivateKeyFile and TLSCertificateFile.

example:
<TLSPrivateKeyFile type="string">/home/steven/.dc++/Certificates/client.key/</TLSPrivateKeyFile>
change to
<TLSPrivateKeyFile type="string">/home/steven/.dc++/Certificates/client.key</TLSPrivateKeyFile>

Changed in linuxdcpp:
status: Confirmed → Fix Committed
Changed in linuxdcpp:
status: Fix Committed → Fix Released
tags: added: preferences regression ui
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.