Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#8801 closed defect (fixed)

support for "ssh-dss" (dsa) keys

Reported by: julien.perville@… Owned by: dr4Ke
Priority: normal Component: TracGitosisPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

I installed the latest TracGitosisPlugin from git.

When I tried to load my ssh key (clicking on the "preferences" tab then on "gitosis SSH public key"), it was rejected with the following message displaying in the flash: malformed key (must begin with 'ssh-rsa ' followed by a BASE64 encoded chain).
Since I generated my key with ssh-keygen -t dsa the public key line starts with "ssh-dss " followed by BASE64 encoded chain.

I join to this ticket a simple patch that extends TracGitosisPlugin to also support "ssh-dss" keys.

Attachments (1)

TracGitosisPlugin_support_ssh-dss_keys.diff (829 bytes) - added by julien.perville@… 3 years ago.
support "ssh-dss" keys in TracGitosisPlugin

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by julien.perville@…

support "ssh-dss" keys in TracGitosisPlugin

comment:1 Changed 3 years ago by dr4Ke

  • Status changed from new to assigned

Thanks for reporting. Patch applied on the master branch.

Could you please test it for your installation ?

https://github.com/dr4Ke/TracGitosisPlugin/zipball/master

comment:2 Changed 3 years ago by julien.perville@…

  • Resolution set to fixed
  • Status changed from assigned to closed

Hi dr4Ke,

I confirm that the patch was applied successfully.
Uploaded my key again and "your preferences have been saved".
Thank you for the quick response.

Julien

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from dr4Ke. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.