Viewing File: /usr/lib/python2.7/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyo
ó
oBú]c @ s˜ d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d „ Z
d d „ Z d
„ Z d d d „ Z
d
„ Z d S( s
SSH Authkey Fingerprints
------------------------
**Summary:** log fingerprints of user ssh keys
Write fingerprints of authorized keys for each user to log. This is enabled by
default, but can be disabled using ``no_ssh_fingerprints``. The hash type for
the keys can be specified, but defaults to ``md5``.
**Internal name:** `` cc_ssh_authkey_fingerprints``
**Module frequency:** per instance
**Supported distros:** all
**Config keys**::
no_ssh_fingerprints: <true/false>
authkey_hash: <hash type>
iÿÿÿÿN( t SimpleTable( t ug_util( t ssh_util( t utilc C sE g } x8 t d t | ƒ d ƒ D] } | j | | | d !ƒ q W| S( Ni i ( t ranget lent append( t bin_hasht split_upt i( ( sP /usr/lib/python2.7/site-packages/cloudinit/config/cc_ssh_authkey_fingerprints.pyt _split_hash&