Public bug reported: Given the following code on a EL based distribution:
``` def crtfile_to_pubkey(fname): pipeline = ('openssl x509 -noout -pubkey < "$0" |' 'ssh-keygen -i -m PKCS8 -f /dev/stdin') (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. ** Affects: cloud-init Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to cloud-init. https://bugs.launchpad.net/bugs/1603830 Title: Azure data source cannot generate public ssh key Status in cloud-init: New Bug description: Given the following code on a EL based distribution: ``` def crtfile_to_pubkey(fname): pipeline = ('openssl x509 -noout -pubkey < "$0" |' 'ssh-keygen -i -m PKCS8 -f /dev/stdin') (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. To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1603830/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp