+
    ei6  c                   s   ^ 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
Ht Rt ^ RIt^ RIHtHt ]P"                  ! R	R
4       ^ RIHt Rt] P,                  ! ]4      t ! R R]P2                  ]4      tR#   ]]]3 d     L6i ; i)i    N)backend)KeyringBackend)
properties)SimpleCredential)KeyringLockedPasswordDeleteErrorPasswordSetErrorF)GioGLibSecretZ1)r	   Tc                   s   a  ] tR t^t o RtRt]R 4       t]P                  R 4       t
]P                  V 3R lR l4       tR tR tR	 tR
 tRtV tR# )Keyringzlibsecret KeyringzPython keyring libraryc           
     s(   \         P                  P                  R \         P                  P                  V P                  \         P                  P                  \         P                  P                  \         P                  P                  R7      4      # )zorg.freedesktop.Secret.GenericZapplication)r	   ZSchemaZnewZSchemaFlagsZNONE_queryZSchemaAttributeTypeZSTRINGself   &?/usr/lib/python3.14/site-packages/keyring/backends/libsecret.pyschemaZKeyring.schema!   si    }}  ,##KK**11**11"66==  
 	
    c                s"    \         P                  # )N)r	   ZCOLLECTION_DEFAULTr   r   r   
collectionZKeyring.collection-   s    (((r   c                s    < V ^8  d   QhRS[ /# )i   Zreturn)Zfloat)Zformat__classdict__s   "r   Z__annotate__ZKeyring.__annotate__2   s     
 
 
r   c                s    \         '       g   \        R 4      h \        P                  P	                  \        P
                  P                  R4       R#   \        P                   d   p\        R4      ThRp?ii ; i)zlibsecret requiredNz*Can't open a session to the secret serviceg333333@)		availableZRuntimeErrorr	   ZServiceZget_syncZServiceFlagsZOPEN_SESSIONr   Error)Zclserrors   & r   priorityZKeyring.priority1   se    y344	XNN##F$7$7$D$DdK  zz 	XKLRWW	Xs   8A A9(A44A9c                s   V P                  WV P                  R7      p \        P                  ! V P                  V\        P
                  P                  R4      pT F"  p TP                  4       P!                  4       u # 	  R#   \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P                  4      '       d   \        R4      Thh Rp?ii ; i  \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P"                  4      '       d   \        R4      Thh Rp?ii ; i)z,Get password of the username for the servicer   Ng-io-error-quarkFailed to unlock the item!secret-error)r   appidr	   password_search_syncr   SearchFlagsUNLOCKr   r   quark_try_stringmatchesr   IOErrorEnumFAILEDr   retrieve_secret_syncget_text	IS_LOCKED)r   serviceusername
attributesitemsr   quarkitem   &&&     r   get_passwordZKeyring.get_password>   s   [[

[K
	//Z););)B)BDE D002;;==  zz 	))*<=E}}UCOO$:$:;;#$@AuL		 :: --n===(>(>??'(DE5P	s1   ;B  C4C1AC,,C14E!	AEE!c                sX   V P                  WV P                  R7      pRV RV R2p \        P                  ! V P                  W@P
                  WSR4      pT'       g   \        R	4      hR#   \        P                   d   p\        P                  ! R4      pTP                  T\        P                  P                  4      '       d   \        R4      Th\        P                  ! R4      pTP                  T\        P                  P                  4      '       d   \        R4      Thh Rp?ii ; i)
z,Set password for the username of the servicer   zPassword for 'z' on 'Z'Nr   z Failed to unlock the collection!r   zFailed to store password!)r   r   r	   Zpassword_store_syncr   r   r   r   r    r!   r&   r   r   r"   r#   r   )	r   r'   r(   Zpasswordr)   ZlabelZstoredr   r+   s	   &&&&     r   set_passwordZKeyring.set_passwordS   s    [[

[K
 
&	;	//Z%4F "#>??  zz 	)).9E}}UFLL$:$:;;#$FGUR))*<=E}}UCOO$:$:;;#$FGUR	s   -A* *D)?BD$D$$D)c                s   V P                  WV P                  R7      p \        P                  ! V P                  V\        P
                  P                  R4      pT F6  p \        P                  ! T P                  TP!                  4       R4      pTu # 	  \%        R4      h  \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P                  4      '       d   \        R4      Thh Rp?ii ; i  \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P"                  4      '       d   \        R4      Thh Rp?ii ; i)z/Delete the stored password (only the first one)r   Nr   r   r   zNo such password!)r   r   r	   r   r   r   r   r   r   r    r!   r   r"   r#   r   Zpassword_clear_syncget_attributesr&   r   )	r   r'   r(   r)   r*   r   r+   r,   Zremoveds	   &&&      r   delete_passwordZKeyring.delete_passwordf   s4   [[

[K
	//Z););)B)BDE D 44KK!4!4!6 N  ""566! zz 	))*<=E}}UCOO$:$:;;#$@AuL		 :: --n===(>(>??'(DE5P	s1   ;B!  0D!D6AD		DE>&AE99E>c                s    V P                  W4      p \        P                  ! V P                  V\        P                  P
                  R4      pT FJ  pTP                  4       P                  R4      p \!        Y'P#                  4       P%                  4       4      u # 	  R#   \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P                  4      '       d   \        R4      Thh Rp?ii ; i  \        P                   dY   p\        P                  ! R4      pTP                  T\        P                  P&                  4      '       d   \        R4      Thh Rp?ii ; i)a/  Get the first username and password for a service.
Return 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.
Nr   r   r(   r   )r   r	   r   r   r   r   r   r   r    r!   r   r"   r#   r   r0   Zgetr   r$   r%   r&   )r   r'   r(   Zqueryr*   r   r+   r,   r-   r   get_credentialZKeyring.get_credential   s0    G.	//UF$6$6$=$=tE D**,00<H'779BBD   zz 	))*<=E}}UCOO$:$:;;#$@AuL		 :: --n===(>(>??'(DE5P	s1   ;B  3&D D5ADDE=%AE88E= N)__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   Zpropertyr   r   ZNonDataPropertyr   Zclasspropertyr   r.   r/   r1   r2   Z__static_attributes__Z__classdictcell__)r   s   @r   r
   r
      sm     $E	
 	
 )  ) 
 
*@&72 r   r
   )ZloggingZ r    r   Zcompatr   Zcredentialsr   Zerrorsr   r   r   r   ZgiZgi.repositoryr   r   Zrequire_versionr	   ZAttributeErrorZImportErrorZ
ValueErrorZ	getLoggerr4   ZlogZSchemeSelectabler
   r3   r   r   <module>r5      s      $  *  			'x%$I !g&&  	Z0 		s   'A; ;
BB