+
    Z8ih                         ^ RI 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  ^ RIt^ RIHt ] P*                  ! ]4      t ! R	 R
]P0                  ]4      tR#   ] d     L3] d     L;i ; i)    N)closing)ExceptionTrap)backend)KeyringBackend)
properties)SimpleCredential)	InitErrorKeyringLockedPasswordDeleteErrorc                   |   a  ] tR t^t o RtRt]P                  V 3R lR l4       tR t	R t
R tR tR	 tR
 tRtV tR# )KeyringzSecret Service KeyringzPython keyring libraryc                    < V ^8  d   QhRS[ /# )   return)float)format__classdict__s   ">lib/python3.14/site-packages/keyring/backends/SecretService.py__annotate__Keyring.__annotate__"   s           c                   \        4       ;_uu_ 4       p\        P                   R R R 4       X'       d   \        R4      h\        P                  R8  d   \        R4      h \        \        P                  ! 4       4      ;_uu_ 4       p\        P                  ! V4      '       g   \        R4      h R R R 4       ^#   + '       g   i     L; i  + '       g   i     ^# ; i  \        P                   d   p\        RT 24      ThR p?ii ; i)NzSecretStorage requiredz#SecretStorage 3.2 or newer requiredzJThe Secret Service daemon is neither running nor activatable through D-Busz$Unable to initialize SecretService: )   r   )
r   secretstorage__name__RuntimeError__version_tuple__r   	dbus_initcheck_service_availability
exceptionsSecretStorageException)clsexc
connectiones   &   r   priorityKeyring.priority!   s    __"" 788**V3DEE	R00233z$??
KK&4  L 4  _ 43  00 	R!EaSIJPQQ	RsA   B9 &C  (C/C  9C		C	C  C   D	5DD	c                   \         P                  ! 4       p \        V R4      '       d"   \         P                  ! WP                  4      pM\         P
                  ! V4      p VP                  4       '       d2   VP                  4        VP                  4       '       d   \        R4      hV#   \        P                   d   p\        RT R24      ThRp?ii ; i)zIf self.preferred_collection contains a D-Bus path,
the collection at that address is returned. Otherwise,
the default collection is returned.
preferred_collectionz!Failed to create the collection: .Nz Failed to unlock the collection!)r   r   hasattr
Collectionr)   get_default_collectionr    r!   r	   	is_lockedunlockr
   )selfbus
collectionr%   s   &   r   get_preferred_collection Keyring.get_preferred_collection4   s    
 %%'	Mt344*55c;T;TU
*AA#F
 !!##%%#$FGG 00 	M?s!DE1L	Ms   2B* 
B* *C?CCc                    \        VR 4      '       d   VP                  4        VP                  4       '       d   \        R4      hR# )r/   zFailed to unlock the item!N)r+   r/   r.   r
   )r0   items   &&r   r/   Keyring.unlockG   s6    4""KKM>> <== r   c                `   V P                  4       p\        VP                  4      ;_uu_ 4        VP                  V P	                  W4      4      pV F=  pV P                  V4       VP                  4       P                  R4      u uuRRR4       # 	  RRR4       R#   + '       g   i     R# ; i)z,Get password of the username for the serviceutf-8N)r3   r   r$   search_items_queryr/   
get_secretdecoder0   serviceusernamer2   itemsr6   s   &&&   r   get_passwordKeyring.get_passwordM   s}    224
Z**++++DKK,JKED!(//88	 ,+ ,+++s   ABBB-	c           	        V P                  4       pV P                  WV P                  R7      pRV RV R2p\        VP                  4      ;_uu_ 4        VP                  WeVRR7       RRR4       R#   + '       g   i     R# ; i)z,Set password for the username of the service)applicationzPassword for 'z' on ''T)replaceN)r3   r;   appidr   r$   create_item)r0   r?   r@   passwordr2   
attributeslabels   &&&&   r   set_passwordKeyring.set_passwordV   so    224
[[

[K
 
&	;Z**++""5h"M ,+++s   A33B	c                0   V P                  4       p\        VP                  4      ;_uu_ 4        VP                  V P	                  W4      4      pV F  pVP                  4       u uuRRR4       # 	  RRR4       \        R4      h  + '       g   i     L; i)z/Delete the stored password (only the first one)NzNo such password!)r3   r   r$   r:   r;   deleter   r>   s   &&&   r   delete_passwordKeyring.delete_password^   sr    224
Z**++++DKK,JKE{{}$ ,+ , ""566	 ,+s   7B0BB	c           	        V P                   V P                  ,          pV P                  W4      pV P                  4       p\	        VP
                  4      ;_uu_ 4        VP                  V4      pV Fl  pV P                  V4       VP                  4       P                  VR,          4      p\        W'P                  4       P                  R4      4      u uuRRR4       # 	  RRR4       R#   + '       g   i     R# ; i)a1  Gets the first username and password for a service.
Returns a Credential instance

The username can be omitted, but if there is one, it will use get_password
and return a SimpleCredential containing  the username and password
Otherwise, it will return the first username and password combo that it finds.
r@   r9   N)schemesschemer;   r3   r   r$   r:   r/   get_attributesgetr   r<   r=   )r0   r?   r@   rU   queryr2   rA   r6   s   &&&     r   get_credentialKeyring.get_credentialg   s     dkk*G.224
Z**++++E2ED!..044VJ5GH'//2C2J2J72STT ,+ ,+++s   A7C*C**C;	 N)r   
__module____qualname____firstlineno____doc__rH   r   classpropertyr&   r3   r/   rB   rM   rQ   rY   __static_attributes____classdictcell__)r   s   @r   r   r      sK      $E $&>9N7U Ur   r   )logging
contextlibr   jaraco.contextr    r   r   compatr   credentialsr   errorsr	   r
   r   r   secretstorage.exceptionsr    ImportErrorAttributeError	getLoggerr   logSchemeSelectabler   r[   r   r   <module>rp      sx      (  $  * 	1 !\Ug&& \U  	 		s   
A( (A:1A:6A:9A: