Bug #1918

oneuser key does not remove BEGIN PUBLIC KEY

Added by Jean-Philippe Garcia Ballester about 8 years ago. Updated about 8 years ago.

Status:ClosedStart date:04/16/2013
Priority:NormalDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:CLI
Target version:Release 4.0
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

oneuser key command does not remove "---- BEGIN/END PUBLIC KEY ----" when extracting public key from private key. It only removes "---- BEGIN/END RSA PUBLIC KEY ----", but it seems the RSA part does not exist in recent versions of openssl (or at least the one I am using).

Changing RSA PUBLIC KEY to PUBLIC KEY in src/authm_mad/remotes/ssh/ssh_auth.rb fixes the problem.

Associated revisions

Revision ac061ca6
Added by Ruben S. Montero about 8 years ago

bug #1918: Update regular expression to show keys in Openssl compatible form

Revision cb80008e
Added by Ruben S. Montero about 8 years ago

bug #1918: Update regular expression to show keys in Openssl compatible form

(cherry picked from commit ac061ca6995500e0945a50aa0f579c43f265b730)

History

#1 Updated by Ruben S. Montero about 8 years ago

  • Assignee set to Javi Fontan
  • Target version set to Release 4.0

#2 Updated by Ruben S. Montero about 8 years ago

  • Assignee changed from Javi Fontan to Ruben S. Montero

#3 Updated by Ruben S. Montero about 8 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

THANKS! Applied as suggested

Also available in: Atom PDF