Azure data source cannot generate public ssh key
Bug #1603830 reported by
Ian Duffy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Given the following code on a EL based distribution:
```
def crtfile_
pipeline = ('openssl x509 -noout -pubkey < "$0" |'
(out, _err) = util.subp(['sh', '-c', pipeline, fname], capture=True)
return out.rstrip()
```
Cloud-init is unable to generate a ssh public-key from the azure PKCS8 certificate.
The version of ssh-keygen on EL distributions does not have a -m flag.
Changed in cloud-init: | |
milestone: | none → 0.7.7 |
status: | New → Confirmed |
Changed in cloud-init: | |
importance: | Undecided → Medium |
Changed in cloud-init: | |
milestone: | 0.7.7 → 0.7.8 |
Changed in cloud-init: | |
milestone: | 0.7.8 → 0.7.9 |
Changed in cloud-init: | |
milestone: | 0.7.9 → none |
milestone: | none → 0.7.10 |
To post a comment you must log in.
Modern supported "EL" derivatives appear to have this flag (tested on centos8-stream and centos9-stream).
If this is believed to still be an issue, please reopen.