+
    :i  c                   s`   ^ RI t ^ RIt^ RIHt ^ RIHt ^ RIH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
IHt ^RIHtHtHtHt ] P>                  ! ] 4      t!R t"R t#R t$]PJ                  ! RRRRR7      ]! ]	]].R7      ]PL                  R 4       4       4       t'R# )    N)	TRANSPORT)FidoConnection)OtpConnection)SmartCardConnection)
CAPABILITYUSB_INTERFACE)OathSession)get_name)YubiOtpSession)is_in_fips_mode)CliFailclick_commandis_yk4_fipspretty_printc                 s   V P                  \        P                  ^ 4      pVP                  \        P                  ^ 4      pV P                  \        P                  ^ 4      pVP                  \        P                  ^ 4      p. p\         F  pWr,          '       d   Ws,          '       d   RpMRpMRpV'       dD   Wt,          '       d   Wu,          '       d   Rp	MRp	MRp	VP                  VP                  W.4       Kr  VP                  VP                  V.4       K  	  . p
V Fh  p\        V4       FV  w  r\        V
4      V8  d(   \        V4      W,          8  d   \        V4      W&   K:  K<  V
P                  \        V4      4       KX  	  Kj  	  RP                  V
^ ,          4      pV'       dP   RP                  V
^,          4      pRP                  V
^,          4      p\        P                  ! V RV RV 24       M\        P                  ! V 4       RpV FO  p\        V4       F&  w  rVVP                  W,          4       R2,          pK(  	  VP                  4       R	,           pKQ  	  \        P                  ! VR
R7       R# )r    ZEnabledZDisabledzNot availableZApplicationsUSBNFCZ	Z 
F)ZnlN)getr   r   r   r   Zappenddisplay_nameZ	enumerateZlenZljustclickechoZstrip)Zsupported_appsZenabled_appsZusb_supportedusb_enabledZnfc_supportedZnfc_enabledZrowsZappZ
usb_statusZ
nfc_statusZcolumn_lZrowZidxcZf_appsZf_USBZf_NFCZf_tables   &&                4/usr/lib/python3.14/site-packages/ykman/_cli/info.pyprint_app_status_tabler   1   s   "&&y}}a8M""9==!4K"&&y}}a8M""9==!4KD  &
'
(J""$$!*J!+J,
KK)):BCKK)):67% ( HnFC8}s"q6HM)$'FHM * A' %  !!(1+.FHQK(HQK(

fXRwb01

fXGnFC!''(-0144G %--/D( 
 
JJw5!    c                 s   / pVP                   P                  \        P                  ,          pR VR&   V\        P
                  ,          '       d@   V P                  \        4      ;_uu_ 4       p\        V4      p\        V4      VR&   RRR4       R VR&   V\        P                  ,          '       d@   V P                  \        4      ;_uu_ 4       p\        V4      p\        V4      VR&   RRR4       R VR&   V\        P                  ,          '       d7   V P                  \        4      ;_uu_ 4       p\!        V4      VR&   RRR4       V# V#   + '       g   i     L; i  + '       g   i     L}; i  + '       g   i     T# ; i)FOTPNOATHzFIDO U2F)configenabled_capabilitiesr   r   r   r   Zopen_connectionr   r	   otp_in_fips_moder   r   r   oath_in_fips_modeZU2Fr   ctap_in_fips_mode)deviceinfoZstatusesr   ZconnZotp_appZoath_apps   &&     r   get_overall_fips_statusr$   e   s#   H++229==AKHUOZ^^####M22d$T*G.w7HUO 3 HVZ__$$##$788D"4(H0:HV 9 !HZZ^^####N33t#4T#:HZ  4 O8O 32 98 43 Os$   -E
E/E0
E	E-	0F	c                 sL   \        W4      p\        P                  ! R \        VP	                  4       4      '       d   RMR 24       \        VP                  4       4      pVP                  4        V F/  p\        P                  ! RT RW$,          '       d   RMR 24       K1  	  R# )zFIPS Approved Mode: ZYesZNoz  z: N)r$   r   r   ZallZvaluesZlistZkeysZsort)r"   r#   Zfips_statusZstatus_keysZ
status_keys   &&   r   _check_fips_statusr%   ~   s    )&7K	JJ%s;3E3E3G/H/Hed%STU{'')*K!


R
|2{/F/FeD%QRS "r   z-cz--check-fipsz9check if YubiKey is in FIPS Approved mode (4 Series only)T)ZhelpZis_flag)Zconnectionsc                s"  a V P                   R,          pV P                   R,          pVf   RoRpMVP                  oVP                  p\        W$4      p\        P
                  ! RV 24       VP                  '       d$   \        P
                  ! RVP                   24       VP                  '       d%   \        P
                  ! RVP                   24       M\        P
                  ! R4       VP                  '       d%   \        P
                  ! RVP                  : 24       S'       d9   R	P                  V3R
 l\         4       4      p\        P
                  ! RV 24       \        P                  VP                  9   dw   VP                  P                   '       d   RpM>VP                  P"                  P%                  \        P                  4      '       d   RpMRp\        P
                  ! RV 24       VP&                  '       d   \        P
                  ! R4       VP(                  '       d   \        P
                  ! R4       \        P
                  ! 4        \+        VP                  VP                  P"                  4       VP,                  '       d   \        P
                  ! 4        \        P
                  ! R4       \.         Uu/ uF.  pWP,                  9   g   K  VP0                  WP2                  9   bK0  	  p	p\        P
                  ! RP                  \5        V	4      4      4       V'       dR   \        P
                  ! 4        \7        V4      '       d!   V P                   R,          p
\9        W4       R# \;        R4      hR# u upi )z
Show general information.

Displays information about the attached YubiKey such as serial number,
firmware version, capabilities, etc.
r#   pidNzDevice type: zSerial number: zFirmware version: zCFirmware version: Uncertain, re-run with only one YubiKey connectedzForm factor: z, c              3   s   <"   T F5  q\        S4      9   g   K  VP                  ;'       g    \        V4      x  K7  	  R # 5i)N)r   ZnameZstr)Z.0Zt
interfacess   & r   Z	<genexpr>Zinfo.<locals>.<genexpr>   s4      !
&3M*<U7UAFFc!fms   A A A zEnabled USB interfaces: Z
restrictedZenabledZdisabledzNFC transport is zPIN complexity is enforcedz4Configured capabilities are protected by a lock codezFIPS approved applicationsr   r"   zBUnable to check FIPS Approved mode - Not a YubiKey FIPS (4 Series))ZobjZusb_interfacesZyubikey_typer   r   r   ZserialZversionZversion_nameZform_factorZjoinr   r   r   Zsupported_capabilitiesr   Znfc_restrictedr   r   Zpin_complexityZ	is_lockedr   Zfips_capabler   r   Zfips_approvedr   r   r%   r   )ZctxZ
check_fipsr#   r&   Zkey_typeZdevice_nameZf_interfacesZf_nfcr   Zdatar"   r'   s   &&         @r   r#   r#      s    776?D
''%.C
{
''
##4*K	JJ{m,-{{{

_T[[M23|||

'(9(9':;<

Q	
 

]4#3#3"678yy !
&3!
 
 	

-l^<=}}333;;%%% E[[--11)--@@EE

&ug./

/0~~~

IJ	JJL##T[[%E%E 



/0  
%%% 4ANNA!3!333 	 

 	

499\$/01

tWWX&Fv,T  
s   N$N)(Zloggingr   Zyubikit.corer   Zyubikit.core.fidor   Zyubikit.core.otpr   Zyubikit.core.smartcardr   Zyubikit.managementr   r   Zyubikit.oathr   Zyubikit.supportr   Zyubikit.yubiotpr	   Zfidor
   r!   Zoathr    Zotpr   Zutilr   r   r   r   Z	getLoggerZ__name__Zloggerr   r$   r%   ZoptionZpass_contextr#   ) r   r   <module>r(      s   8   " , * 6 8 $ $ * 7 7 5 C C			8	$1"h2T 	D	 /OPF  QFr   