+
    ˜qgj*  ã                   óø   a € R t0 t R t^ RIt^ RIt^ RIt^ RIH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 R ltR# )zSSH Import ID: Import SSH idN)Úsuppress)Ú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}   \        Y¤4       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   Úhandler9   $   sÁ  € ä   o×6Ò6Ü�	‰	ð!ô	
ñ 	Ü�ZŠZÔ,×-Ò-Ü�‰ð+ô	
ñ 	÷ Ø�A�wˆØˆÜˆt‹9�qŒ=Ø�r•(ˆCä�sÔ!Ùô ×5Ò5°c¿<¹<ÓHÑ€UØ€EØŸ+™+ž-‰ˆØˆ
Ø�I×ÔÜ×1Ò1°#°ÈÓK‰JðØ% oÕ6�
ð
	ÜŸš¨Ó4ˆJÙ*4Ó5©* Qœ#˜až&©*ˆJÐ5ô �:�ŠÙð	Ü˜:Ö,ñ1 (ô> ˆ5‡z‚zØ�A�hˆñ øô1 ô Ü—	‘	ÐGÈÔNÚðüò 6øÜô 	Ü�I‰IØGÈôò ð		ûô ô 	Ü�KŠKÜÐ6¸ôð �L‰L˜×Óûð		úsN   Ã>	E7ÄF$Ä"FÄ6F$ÅGÅ7!FÆFÆF$Æ$!G	ÇG	ÇHÇ-HÈHc                 ó®  € 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# \        TR4       R#   \         d   p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.g      à?)
r!   r"   ÚpwdÚgetpwnamÚKeyErrorr   r#   r$   ÚerrorÚretry_ssh_import)r1   r0   r8   Úcmds   &&  r   r'   r'   c   s½   € ç—SÜ�	‰	Ð<¸dÔHÙðÜ�Š�TÔô: ‡z‚z�&×ÒàØ(ØØÜ ð
ð õ‰ô 
�Š�F×	Ò	àØØÜ ð	
ð
 õ‰ô 	�	‰	ÐNÔOÙÜ�S˜#Öøô] ô Øˆ	ûðús   ªC ÃCÃCÃCc                ó4   € V ^8„  d   QhR\         R\        RR/# )r   rB   Údelayr   N)r   Úfloat)r   s   "r   r   r   œ   s!   € ÷ "ñ "œ$ð "¤uð "°ñ "r   c                ó  € \        \        P                  4      ;_uu_ 4        \        P                  ! V RR7        RRR4       R#   + '       g   i     M; i\        P                  ! T4       \        P                  ! T RR7       R# )z.Retry ssh-import-id once if it exits in error.F)ÚcaptureN)r   r   ÚProcessExecutionErrorÚtimeÚsleep)rB   rD   s   &&r   rA   rA   œ   sO   € ä	”$×,Ñ,×	-Õ	-Ü�	Š	�#˜uÕ%Ø÷ 
.×	-×	-Ñ	-úô 	‡J‚JˆuÔÜ‡I‚Iˆc˜5×!s   ¢AÁA	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# )z‰Search 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Ú
isinstancerN   r    r   )rL   rM   Ú
config_keyÚitems   &&  r   r    r    ¥   s‚   € ð —k‘k–mˆ
ØÔ#ÚÜ�fÕ(¬$×/Ò/Ü$ VÕ%7¸×DÒDÚÜ�fÕ(¬$×/Ô/ð ×*Ð*�Ü˜d¤D×)Ô)Ü,¨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)rW   Ú__doc__Úloggingr=   rI   Ú
contextlibr   Ú	cloudinitr   r   Úcloudinit.cloudr   Úcloudinit.configr   Úcloudinit.config.schemar   Úcloudinit.distrosr   Úcloudinit.settingsr	   r$   rV   Ú	getLoggerÚ__name__r!   r9   r'   rA   r    r   )rW   s   @r   Ú<module>rg      s}   øðö #ã Û 
Û Ý ç  Ý !Ý #Ý .Ý %Ý +ð 'Ð ð 	Ð
ØÒGØ�Ø˜rð	€ó ð ×Ò˜Ó!€õ<ò~6õr"÷r   