Bug #1918
oneuser key does not remove BEGIN PUBLIC KEY
Status: | Closed | Start date: | 04/16/2013 | |
---|---|---|---|---|
Priority: | Normal | Due 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
bug #1918: Update regular expression to show keys in Openssl compatible form
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