
    좃[                     B    d dl mZmZmZ d dlmZ [[[ddZddZd ZdS )    )absolute_importprint_functionunicode_literals)getpassNc                 j    d}|d|z   }|r|dz  }t          d| d|d           t                      S )zThis is a sample callback that will read a passphrase from
    the terminal.  The hook here, if present, will be used to describe
    why the passphrase is needed. N z (again)zPlease supply z
' password:)printr   )hintdescprev_badhookwhys        //usr/lib/python3/dist-packages/gpg/callbacks.pypassphrase_stdinr      sQ     CDj z	ETTT333
788899    c                 2    t          d| |||fz             d S )Nz?PROGRESS UPDATE: what = %s, type = %d, current = %d, total = %d)r   )whattypecurrenttotalr   s        r   progress_stdoutr   &   s2    	
Kw
&' ( ( ( ( (r   c                     | r|                     |           S t          |d          sdS |                    dd           dS )z?A callback for data.  hook should be a Python file-like object.seekNr   )readhasattrr   )countr   s     r   	readcb_fhr   +   sK     yy tV$$ 	4		!Qtr   )N)
__future__r   r   r   r   r   r   r    r   r   <module>r"      s   $ I H H H H H H H H H      ^%5
 
 
 
( ( ( (

 
 
 
 
r   