+
    i                        a  R t0 t R t^ RIt^ RIt^ RIHtHt ^ RIHt ^ RI	H
t
 ^ RIHt ^ RIHt ^ RIHt RtR	R
R. ROR]R. /t] ^ k ]P&                  ! ]4      tR R ltR tR R ltR# )zSSH Import ID: Import SSH idN)subputil)Cloud)Config)
MetaSchema)ug_util)PER_INSTANCEzssh-import-ididcc_ssh_import_iddistros	frequencyactivate_by_schema_keysc          
      L    V ^8  d   QhR\         R\        R\        R\        RR/# )   namecfgcloudargsreturnN)strr   r   list)formats   "C/usr/lib/python3/dist-packages/cloudinit/config/cc_ssh_import_id.py__annotate__r   "   s/     < < <6 <% <t < <    c                 &   \        VR 4      '       g   \        P                  R4       R# \        P                  ! \
        4      '       g   \        P                  R4       R# V'       d2   V^ ,          p. p\        V4      ^8  d
   VR,          p\        WT4       R# \        P                  ! WP                  4      w  rg. pVP                  4        F  w  rI. p
V	R,          '       d   \        P                  ! VR . 4      p
M
 V	R ,          p
 \        P                   ! V
4      p
V
 Uu. uF  p\#        V4      NK  	  p
p\        T
4      '       g   K}   \        Y4       K  	  \        V4      '       d
   V^ ,          hR#   \         d    \        P                  RT4        K  i ; iu upi   \         d    \        P                  RT4        K  i ; i  \         d:   p\        P$                  ! \        RYJ4       TP'                  T4        Rp?EK=  Rp?ii ; i)	ssh_import_idzISkipping module named ssh_import_id, no 'ssh_import_id' directives found.NzXssh-import-id is not installed, but module ssh_import_id is configured. Skipping module.:   NNdefaultz+User %s is not configured for ssh_import_idz5User %s is not correctly configured for ssh_import_idzssh-import-id failed for: %s %s)is_key_in_nested_dictLOGdebugr   whichSSH_IMPORT_ID_BINARYwarninglenimport_ssh_idsr   normalize_users_groupsdistroitemsr   get_cfg_option_list	Exception
uniq_merger   logexcappend)r   r   r   r   useridsusers_groupselistuser_cfg
import_idsiexcs   &&&&         r   handler8   "   s    o66		!	
 	ZZ,--+	
 	 Awt9q=r(Cs! 55c<<HUE++-
I11#KJ%o6

	4J*45*Q#a&*J5 :	:,1 (> 5zzAh 1  		GN 6 	IIG 		  	KK6 LL		sN   >	E7F$"F6F$G7!FFF$$!G	G	H-HHc                 j   V'       d	   V '       g   \         P                  R W4       R#  \        P                  ! V4       \
        P                  ! R4      '       d   RRRT\        .T ,           pME\
        P                  ! R4      '       d   RRT\        .T ,           pM\         P                  R4       R# \         P                  RT4        \
        P
                  ! TR	R
7       R#   \         d   pThRp?ii ; i  \
        P                   d$   p\        P                  ! \         RT4       ThRp?ii ; i)z(empty user(%s) or ids(%s). not importingNsudoz--preserve-env=https_proxyz-Hudoasz-uz:Neither sudo nor doas available! Unable to import SSH ids.zImporting SSH ids for user %s.F)capturez*Failed to run command to import %s SSH ids)r    r!   pwdgetpwnamKeyErrorr   r"   r#   errorProcessExecutionErrorr   r-   )r0   r/   r7   cmds   &&  r   r&   r&   a   s   S		<dHT: zz&( 
  
F		 	

  			NOII.5		#u%c  	d %% CEtL	s/   C% C: %C70C22C7:D2D--D2c                <    V ^8  d   QhR\         R\        R\        /# )r   config
search_keyr   )dictr   bool)r   s   "r   r   r      s!      $ C D r   c                h   V P                  4        F  pW8X  d    R# \        W,          \        4      '       d   \        W,          V4      '       d    R# \        W,          \        4      '       g   Ka  W,           F0  p\        V\        4      '       g   K  \        W14      '       g   K.    R# 	  K  	  R# )zSearch for key nested in config.

Note: A dict embedded in a list of lists will not be found walked - but in
this case we don't need it.
TF)keys
isinstancerF   r   r   )rD   rE   
config_keyitems   &&  r   r   r      s     kkm
#f($//$V%7DDf($// **dD)),T>># + $ r   c                @    V ^8  d   Qh/ ^ \         9   d
   \        ;R&   # )r   meta)__conditional_annotations__r   )r   s   "r   r   r      s     " "  j ! #r   )alpinecosdebianzraspberry-pi-osubuntu)rO   __doc__loggingr=   	cloudinitr   r   cloudinit.cloudr   cloudinit.configr   cloudinit.config.schemar   cloudinit.distrosr   cloudinit.settingsr   r#   rN   	getLogger__name__r    r8   r&   r   r   )rO   s   @r   <module>r^      sr    #  
   ! # . % + '  	
Gr	  !<~<~r   