§
    dó4  ã                   ó  — d dl Z d dlZd dlZd dlZddlmZmZ ddlmZ ddl	m
Z
 ddl	mZmZmZ ddlmZ ddlmZ dd	lmZmZ  ee¦  «        Zd
Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        ZdS )é    Né   )Ú
KeyfileKeyÚKeyfileNotFoundError)ÚREPOSITORY_README)ÚProgressIndicatorPercent)Úget_base_dirÚget_keys_dirÚget_cache_dir)ÚLock)Úcreate_logger)Ú
RepositoryÚMAGICs   ATTICSEGc                   ó„   ‡ — e Zd Zˆ fd„Zdd„Zd„ Zedd„¦   «         Zedd„¦   «         Zd„ Z	ed	„ ¦   «         Z
d
„ Zd„ Zˆ xZS )ÚAtticRepositoryUpgraderc                 óN   •— d|d<   d|d<    t          ¦   «         j        |i |¤Ž d S )NFÚlockÚcheck_segment_magic)ÚsuperÚ__init__)ÚselfÚargsÚkwÚ	__class__s      €ú//usr/lib/python3/dist-packages/borg/upgrader.pyr   z AtticRepositoryUpgrader.__init__   s9   ø€ Øˆˆ6‰
Ø$)ˆÐ Ñ!Ø�‰ŒÔ˜$Ð% "Ð%Ð%Ð%Ð%Ð%ó    TFc                 ó®  — | 5  d}|sl| j         › dt          j                             ¦   «         d›�}t                               d|¦  «         |s&t          j        | j         |t          j        ¬¦  «         t                               d¦  «         t          t          j          
                    | j         d¦  «        dd	¬
¦  «                             ¦   «         | _        d„ | j                             ¦   «         D ¦   «         }	 |                      ¦   «         }|                      ||¦  «         n*# t"          $ r t                               d¦  «         Y nw xY wddd¦  «         n# 1 swxY w Y   t          t          j          
                    | j         d¦  «        d¬¦  «                             ¦   «         | _        	 |                      |¦  «         |                      ||¬¦  «         |                      ||||¬¦  «         |                      ¦   «          | j                             ¦   «          d| _        n%# | j                             ¦   «          d| _        w xY w|S )aš  convert an attic repository to a borg repository

        those are the files that need to be upgraded here, from most
        important to least important: segments, key files, and various
        caches, the latter being optional, as they will be rebuilt if
        missing.

        we nevertheless do the order in reverse, as we prefer to do
        the fast stuff first, to improve interactivity.
        Nz.before-upgrade-z%Y-%m-%d-%H:%M:%Szmaking a hardlink copy in %s)Úcopy_functionz1opening attic repository with borg and convertingr   Tg      ð?)Ú	exclusiveÚtimeoutc                 ó   — g | ]\  }}|‘ŒS © r!   )Ú.0ÚiÚfilenames      r   ú
<listcomp>z3AtticRepositoryUpgrader.upgrade.<locals>.<listcomp>.   s   € ÐOÐOÐO¡[ Q¨˜ÐOÐOÐOr   ú no key file found for repository)r   )ÚdryrunÚinplace)r'   r(   Úprogress)ÚpathÚdatetimeÚnowÚloggerÚinfoÚshutilÚcopytreeÚosÚlinkr   ÚjoinÚacquirer   ÚioÚsegment_iteratorÚfind_attic_keyfileÚconvert_keyfilesr   ÚwarningÚconvert_cacheÚconvert_repo_indexÚconvert_segmentsÚborg_readmeÚrelease)r   r'   r(   r)   ÚbackupÚsegmentsÚkeyfiles          r   ÚupgradezAtticRepositoryUpgrader.upgrade   sƒ  € ð ð 	7ð 	7ØˆFØð NØ œIÐbÐbµxÔ7H×7LÒ7LÑ7NÔ7NÐbÐbÐb�Ý—’Ð:¸FÑCÔCÐCØð NÝ”O D¤I¨vÅRÄWÐMÑMÔMÐMÝ�KŠKÐKÑLÔLÐLå�RœWŸ\š\¨$¬)°VÑ<Ô<ÈÐVYÐZÑZÔZ×bÒbÑdÔdˆDŒIØOÐO°D´G×4LÒ4LÑ4NÔ4NÐOÑOÔOˆHð7Ø×1Ò1Ñ3Ô3�ð ×%Ò% g¨vÑ6Ô6Ð6Ð6øõ (ð Cð Cð CÝ—’ÐAÑBÔBÐBÐBÐBðCøøøð	7ð 	7ð 	7ñ 	7ô 	7ð 	7ð 	7ð 	7ð 	7ð 	7ð 	7øøøð 	7ð 	7ð 	7ð 	7õ$ �œŸš d¤i°Ñ8Ô8ÀDÐIÑIÔI×QÒQÑSÔSˆŒ	ð	Ø×Ò˜vÑ&Ô&Ð&Ø×#Ò#¨6¸7Ð#ÑCÔCÐCØ×!Ò! (°6À7ÐU]Ð!Ñ^Ô^Ð^Ø×ÒÑÔÐàŒI×ÒÑÔÐØˆDŒIˆIøð ŒI×ÒÑÔÐØˆDŒIÐÐÐÐØˆsC   ƒC:EÃ>D)ÄEÄ)$EÅEÅEÅEÅE#Å&E#Æ6AH0 È0"Ic                 óþ   — t           j                             | j        d¦  «        }t          j        |¦  «         t	          |d¦  «        5 }|                     t          ¦  «         d d d ¦  «         d S # 1 swxY w Y   d S )NÚREADMEÚw)r1   r*   r3   ÚremoveÚopenÚwriter   )r   ÚreadmeÚfds      r   r=   z#AtticRepositoryUpgrader.borg_readmeA   s­   € Ý”—’˜dœi¨Ñ2Ô2ˆÝ
Œ	�&ÑÔÐÝ�&˜#ÑÔð 	( "Ø�HŠHÕ&Ñ'Ô'Ð'ð	(ð 	(ð 	(ñ 	(ô 	(ð 	(ð 	(ð 	(ð 	(ð 	(ð 	(ð 	(øøøð 	(ð 	(ð 	(ð 	(ð 	(ð 	(s   Á
A2Á2A6Á9A6c                 ó¢  — t                                dt          | ¦  «        z  ¦  «         t          | ¦  «        }t          |dd¬¦  «        }t	          | ¦  «        D ][\  }}|r|                     |¦  «         |rt          j        d¦  «         Œ3t           	                    |t          t          |¬¦  «         Œ\|r|                     ¦   «          dS dS )a  convert repository segments from attic to borg

        replacement pattern is `s/ATTICSEG/BORG_SEG/` in files in
        `$ATTIC_REPO/data/**`.

        luckily the magic string length didn't change so we can just
        replace the 8 first bytes of all regular files in there.zconverting %d segments...zConverting segments %3.0f%%zupgrade.convert_segments)ÚtotalÚmsgÚmsgidgü©ñÒMbP?©r(   N)r-   r.   Úlenr   Ú	enumerateÚshowÚtimeÚsleepr   Úheader_replaceÚATTIC_MAGICr   Úfinish)r@   r'   r(   r)   Úsegment_countÚpir#   r$   s           r   r<   z(AtticRepositoryUpgrader.convert_segmentsG   s×   € õ 	�ŠÐ/µ#°h±-´-Ñ?Ñ@Ô@Ð@Ý˜H™œˆÝ%¨MÐ?\Ðd~ÐÑÔˆÝ$ XÑ.Ô.ð 	fð 	f‰KˆAˆxØð Ø—’˜‘
”
�
Øð fÝ”
˜5Ñ!Ô!Ð!Ð!å'×6Ò6°xÅÍeÐ]dÐ6ÑeÔeÐeÐeØð 	Ø�IŠI‰KŒKˆKˆKˆKð	ð 	r   c                 óN  — t          | d¦  «        5 }|                     d¦  «         |                     t          |¦  «        ¦  «        |k    rÀ|r+|                     d¦  «         |                     |¦  «         n“t          j        | | dz   ¦  «         t          | d¦  «        5 }|                     |¦  «         |                     |                     ¦   «         ¦  «         d d d ¦  «         n# 1 swxY w Y   t          j        | dz   ¦  «         d d d ¦  «         d S # 1 swxY w Y   d S )Nzr+br   z.tmpÚwb)rG   ÚseekÚreadrP   rH   r1   ÚrenameÚunlink)r$   Ú	old_magicÚ	new_magicr(   ÚsegmentÚnew_segments         r   rU   z&AtticRepositoryUpgrader.header_replace]   s�  € å�(˜EÑ"Ô"ð 	1 gØ�LŠL˜‰OŒOˆOà�|Š|�C 	™NœNÑ+Ô+¨yÒ8Ð8Øð 1Ø—L’L ‘O”O�OØ—M’M )Ñ,Ô,Ð,Ð,õ
 ”I˜h¨°6Ñ(9Ñ:Ô:Ð:Ý˜h¨Ñ-Ô-ð :°Ø#×)Ò)¨)Ñ4Ô4Ð4Ø#×)Ò)¨'¯,ª,©.¬.Ñ9Ô9Ð9ð:ð :ð :ñ :ô :ð :ð :ð :ð :ð :ð :øøøð :ð :ð :ð :õ
 ”I˜h¨Ñ/Ñ0Ô0Ð0ð#	1ð 	1ð 	1ñ 	1ô 	1ð 	1ð 	1ð 	1ð 	1ð 	1ð 	1ð 	1øøøð 	1ð 	1ð 	1ð 	1ð 	1ð 	1s6   ‘BDÂ"=C+ÃDÃ+C/	Ã/DÃ2C/	Ã3DÄDÄ!Dc                 ó6   — t                                | ¦  «        S )ae  find the attic keyfiles

        the keyfiles are loaded by `KeyfileKey.find_key_file()`. that
        finds the keys with the right identifier for the repo.

        this is expected to look into $HOME/.attic/keys or
        $ATTIC_KEYS_DIR for key files matching the given Borg
        repository.

        it is expected to raise an exception (KeyfileNotFoundError) if
        no key is found. whether that exception is from Borg or Attic
        is unclear.

        this is split in a separate function in case we want to use
        the attic code here directly, instead of our local
        implementation.)ÚAtticKeyfileKeyÚfind_key_file©r   s    r   r7   z*AtticRepositoryUpgrader.find_attic_keyfiler   s   € õ" ×,Ò,¨TÑ2Ô2Ð2r   c                 ó\  — t                                d| z  ¦  «         t          | ¦  «        5 }|                     ¦   «         }ddd¦  «         n# 1 swxY w Y   |                     t
          j        t          j        d¦  «        }t          j	         
                    t          ¦   «         t          j	                             | ¦  «        ¦  «        } t                                d| z  ¦  «         |s@t          | d¦  «        5 }|                     |¦  «         ddd¦  «         dS # 1 swxY w Y   dS dS )aà  convert key files from attic to borg

        replacement pattern is `s/ATTIC KEY/BORG_KEY/` in
        `get_keys_dir()`, that is `$ATTIC_KEYS_DIR` or
        `$HOME/.attic/keys`, and moved to `$BORG_KEYS_DIR` or
        `$HOME/.config/borg/keys`.

        no need to decrypt to convert. we need to rewrite the whole
        key file because magic string length changed, but that's not a
        problem because the keyfiles are small (compared to, say,
        all the segments).zconverting keyfile %sNr   zwriting borg keyfile to %srE   )r-   r.   rG   r]   Úreplacere   ÚFILE_IDr   r1   r*   r3   r	   ÚbasenamerH   )rA   r'   ÚfÚdatas       r   r8   z(AtticRepositoryUpgrader.convert_keyfiles…   su  € õ 	�ŠÐ+¨gÑ5Ñ6Ô6Ð6Ý�'‰]Œ]ð 	˜aØ—6’6‘8”8ˆDð	ð 	ð 	ñ 	ô 	ð 	ð 	ð 	ð 	ð 	ð 	øøøð 	ð 	ð 	ð 	à�|Š|�OÔ3µZÔ5GÈÑKÔKˆÝ”'—,’,�|™~œ~­r¬w×/?Ò/?ÀÑ/HÔ/HÑIÔIˆÝ�ŠÐ0°7Ñ:Ñ;Ô;Ð;Øð 	Ý�g˜sÑ#Ô#ð  qØ—’˜‘”�ðð ð ñ ô ð ð ð ð ð ð ð øøøð ð ð ð ð ð ð	ð 	s#   ­AÁAÁAÃ<DÄD#Ä&D#c                 óH  — |                       ¦   «         }|€$t                               d| j        z  ¦  «         dS t          j                             | j        d|z  ¦  «        }t                               d|z  ¦  «         |s t                               |dd|¬¦  «         dS dS )aÃ  convert some repo files

        those are all hash indexes, so we need to
        `s/ATTICIDX/BORG_IDX/` in a few locations:

        * the repository index (in `$ATTIC_REPO/index.%d`, where `%d`
          is the `Repository.get_index_transaction_id()`), which we
          should probably update, with a lock, see
          `Repository.open()`, which i'm not sure we should use
          because it may write data on `Repository.close()`...
        Nz%no index file found for repository %szindex.%dzconverting repo index %só   ATTICIDXó   BORG_IDXrO   )	Úget_index_transaction_idr-   r9   r*   r1   r3   r.   r   rU   )r   r'   r(   Útransaction_idÚindexs        r   r;   z*AtticRepositoryUpgrader.convert_repo_indexœ   s¨   € ð ×6Ò6Ñ8Ô8ˆØÐ!Ý�NŠNÐBÀTÄYÑNÑOÔOÐOÐOÐOå”G—L’L ¤¨J¸Ñ,GÑHÔHˆEÝ�KŠKÐ2°UÑ:Ñ;Ô;Ð;Øð iÝ'×6Ò6°u¸kÈ;Ð`gÐ6ÑhÔhÐhÐhÐhðið ir   c                 óº  ‡‡‡— t           j                             dt           j                             t          ¦   «         dd¦  «        ¦  «        Št           j                             ‰| j        ¦  «        Št           j                             t          ¦   «         | j        ¦  «        Šˆˆˆfd„}t           j                             ‰¦  «        rŽt           j                             ‰¦  «        st          j	        ‰¦  «         dD ]} ||¦  «         ŒdD ]J} ||¦  «        }t                               d|z  ¦  «         ‰st                               |dd	¦  «         ŒId
S d
S )aÈ  convert caches from attic to borg

        those are all hash indexes, so we need to
        `s/ATTICIDX/BORG_IDX/` in a few locations:

        * the `files` and `chunks` cache (in `$ATTIC_CACHE_DIR` or
          `$HOME/.cache/attic/<repoid>/`), which we could just drop,
          but if we'd want to convert, we could open it with the
          `Cache.open()`, edit in place and then `Cache.close()` to
          make sure we have locking right
        ÚATTIC_CACHE_DIRz.cacheÚatticc                 óî  •— t           j                             ‰| ¦  «        }t           j                             |¦  «        r”t           j                             ‰| ¦  «        }t           j                             |¦  «        rt                               d|¦  «         n7t                               d|› d|› �¦  «         ‰st          j        ||¦  «         |S t                               d| › d|› �¦  «         dS )a  copy the given attic cache path into the borg directory

            does nothing if dryrun is True. also expects
            attic_cache_dir and borg_cache_dir to be set in the parent
            scope, to the directories path including the repository
            identifier.

            :params path: the basename of the cache file to copy
            (example: "files" or "chunks") as a string

            :returns: the borg file that was created or None if no
            Attic cache file was found.

            z<borg cache file already exists in %s, not copying from Atticzcopying attic cache file from z to zno z cache file found in N)	r1   r*   r3   Úexistsr-   r9   r.   r/   Úcopyfile)r*   Ú
attic_fileÚ	borg_fileÚattic_cache_dirÚborg_cache_dirr'   s      €€€r   Úcopy_cache_filez>AtticRepositoryUpgrader.convert_cache.<locals>.copy_cache_fileÄ   sà   ø€ õ œŸš o°tÑ<Ô<ˆJÝŒw�~Š~˜jÑ)Ô)ð ÝœGŸLšL¨¸Ñ>Ô>�	Ý”7—>’> )Ñ,Ô,ð ?Ý—N’NÐ#aÐclÑmÔmÐmÐmå—K’KÐ \ÀÐ \Ð \ÐQZÐ \Ð \Ñ]Ô]Ð]Ø!ð ?Ýœ¨
°IÑ>Ô>Ð>Ø Ð å—’ÐL TÐLÐLÀ
ÐLÐLÑMÔMÐMØ�tr   )ÚconfigÚfiles)Úchunkszconverting cache %sro   rp   N)r1   ÚenvironÚgetr*   r3   r   Úid_strr
   rx   Úmakedirsr-   r.   r   rU   )r   r'   r~   Úcacher|   r}   s    `  @@r   r:   z%AtticRepositoryUpgrader.convert_cache±   so  øøø€ õ œ*Ÿ.š.Ð):Ý)+¬¯ªµl±n´nØ6>Àñ*Iô *IñJô Jˆõ œ'Ÿ,š, ¸¼ÑDÔDˆÝœŸš¥m¡o¤o°t´{ÑCÔCˆð	ð 	ð 	ð 	ð 	ð 	ð 	õ> Œ7�>Š>˜/Ñ*Ô*ð 	\Ý”7—>’> .Ñ1Ô1ð ,Ý”˜NÑ+Ô+Ð+ð -ð 'ð '�Ø� Ñ&Ô&Ð&Ð&ð $ð \ð \�Ø'˜¨Ñ.Ô.�Ý—’Ð1°EÑ9Ñ:Ô:Ð:Øð \Ý+×:Ò:¸5À+È{Ñ[Ô[Ð[øð	\ð 	\ð\ð \r   ©TFF)T)Ú__name__Ú
__module__Ú__qualname__r   rB   r=   Ústaticmethodr<   rU   r7   r8   r;   r:   Ú__classcell__)r   s   @r   r   r      sî   ø€ € € € € ð&ð &ð &ð &ð &ð
&ð &ð &ð &ðP(ð (ð (ð ðð ð ñ „\ðð* ð1ð 1ð 1ñ „\ð1ð(3ð 3ð 3ð& ðð ñ „\ðð,ið ið ið*?\ð ?\ð ?\ð ?\ð ?\ð ?\ð ?\r   r   c                   óB   — e Zd ZdZdZed„ ¦   «         Zed„ ¦   «         ZdS )re   z*backwards compatible Attic key file parserz	ATTIC KEYc                  ó˜   — t           j                             dt           j                             t          ¦   «         dd¦  «        ¦  «        S )z,Determine where to repository keys and cacheÚATTIC_KEYS_DIRz.atticÚkeys©r1   r‚   rƒ   r*   r3   r   r!   r   r   r	   zAtticKeyfileKey.get_keys_dirø   s;   € õ Œz�~Š~Ð.Ý œgŸlšl­<©>¬>¸8ÀVÑLÔLñNô Nð 	Nr   c                 ó<  — | j         } |¦   «         }t          j                             |¦  «        st	          |j        |¦  «        ‚t          j        |¦  «        D ]®}t          j                             ||¦  «        }t          |¦  «        5 }|                     ¦   «          	                    ¦   «         }|r=| 
                    | j        ¦  «        r#|dd…         |j        k    r|cddd¦  «         c S ddd¦  «         n# 1 swxY w Y   Œ¯t	          |j        |¦  «        ‚)aw  copy of attic's `find_key_file`_

        this has two small modifications:

        1. it uses the above `get_keys_dir`_ instead of the global one,
           assumed to be borg's

        2. it uses `repository.path`_ instead of
           `repository._location.canonical_path`_ because we can't
           assume the repository has been opened by the archiver yet
        é
   N)r	   r1   r*   rx   r   Úlistdirr3   rG   ÚreadlineÚstripÚ
startswithrj   r„   ©ÚclsÚ
repositoryr	   Úkeys_dirÚnamer$   rJ   Úlines           r   rf   zAtticKeyfileKey.find_key_fileþ   sa  € ð Ô'ˆØ�<‘>”>ˆÝŒw�~Š~˜hÑ'Ô'ð 	BÝ& z¤¸ÑAÔAÐAÝ”J˜xÑ(Ô(ð 	$ð 	$ˆDÝ”w—|’| H¨dÑ3Ô3ˆHÝ�h‘”ð $ 2Ø—{’{‘}”}×*Ò*Ñ,Ô,�Øð $˜DŸOšO¨C¬KÑ8Ô8ð $¸TÀ"À#À#¼YÈ*ÔJ[Ò=[Ð=[Ø#ð$ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $øõ # :¤?°HÑ=Ô=Ð=s   ÂAC=Ã=D	ÄD	N)	rˆ   r‰   rŠ   Ú__doc__rj   r‹   r	   Úclassmethodrf   r!   r   r   re   re   ó   sX   € € € € € Ø4Ð4Ø€Gð ðNð Nñ „\ðNð
 ð>ð >ñ „[ð>ð >ð >r   re   c                   ó"   — e Zd Zdd„Zd„ Zd„ ZdS )ÚBorgRepositoryUpgraderTFc                 ó  — t                                d¦  «         | 5  	 |                      ¦   «         }|                      ||¦  «         n*# t          $ r t                                d¦  «         Y nw xY wddd¦  «         dS # 1 swxY w Y   dS )zDconvert an old borg repository to a current borg repository
        z$converting borg 0.xx to borg currentr&   N)r-   r.   Úfind_borg0xx_keyfileÚmove_keyfilesr   r9   )r   r'   r(   r)   rA   s        r   rB   zBorgRepositoryUpgrader.upgrade  sì   € õ 	�ŠÐ:Ñ;Ô;Ð;Øð 	4ð 	4ð4Ø×3Ò3Ñ5Ô5�ð ×"Ò" 7¨FÑ3Ô3Ð3Ð3øõ (ð Cð Cð CÝ—’ÐAÑBÔBÐBÐBÐBðCøøøð	4ð 	4ð 	4ñ 	4ô 	4ð 	4ð 	4ð 	4ð 	4ð 	4ð 	4ð 	4øøøð 	4ð 	4ð 	4ð 	4ð 	4ð 	4s3   �BŸA
³BÁ
$A1Á.BÁ0A1Á1BÂBÂBc                 ó6   — t                                | ¦  «        S ©N)ÚBorg0xxKeyfileKeyrf   rg   s    r   r£   z+BorgRepositoryUpgrader.find_borg0xx_keyfile%  s   € Ý ×.Ò.¨tÑ4Ô4Ð4r   c                 óê   — t           j                             |¦  «        }t           j                             t	          ¦   «         |¦  «        }	 t          j        ||¦  «         d S # t          $ r Y d S w xY wr¦   )r1   r*   rk   r3   r	   r^   ÚFileExistsError)r   rA   r'   r$   Únew_keyfiles        r   r¤   z$BorgRepositoryUpgrader.move_keyfiles(  so   € Ý”7×#Ò# GÑ,Ô,ˆÝ”g—l’l¥<¡>¤>°8Ñ<Ô<ˆð	ÝŒI�g˜{Ñ+Ô+Ð+Ð+Ð+øÝð 	ð 	ð 	àˆDˆDð	øøøs   ÁA$ Á$
A2Á1A2Nr‡   )rˆ   r‰   rŠ   rB   r£   r¤   r!   r   r   r¡   r¡     sF   € € € € € ð
4ð 
4ð 
4ð 
4ð5ð 5ð 5ðð ð ð ð r   r¡   c                   ó>   — e Zd ZdZed„ ¦   «         Zed„ ¦   «         ZdS )r§   z.backwards compatible borg 0.xx key file parserc                  ó˜   — t           j                             dt           j                             t          ¦   «         dd¦  «        ¦  «        S )NÚBORG_KEYS_DIRz.borgr�   r‘   r!   r   r   r	   zBorg0xxKeyfileKey.get_keys_dir5  s8   € åŒz�~Š~˜oÝ œgŸlšl­<©>¬>¸7ÀFÑKÔKñMô Mð 	Mr   c                 óf  — | j         } |¦   «         }t          j                             |¦  «        st	          |j        |¦  «        ‚t          j        |¦  «        D ]Ã}t          j                             ||¦  «        }t          |¦  «        5 }|                     ¦   «          	                    ¦   «         }|rR| 
                    | j        ¦  «        r8|t          | j        ¦  «        dz   d …         |j        k    r|cd d d ¦  «         c S d d d ¦  «         n# 1 swxY w Y   ŒÄt	          |j        |¦  «        ‚)Nr   )r	   r1   r*   rx   r   r”   r3   rG   r•   r–   r—   rj   rP   r„   r˜   s           r   rf   zBorg0xxKeyfileKey.find_key_file:  ss  € àÔ'ˆØ�<‘>”>ˆÝŒw�~Š~˜hÑ'Ô'ð 	BÝ& z¤¸ÑAÔAÐAÝ”J˜xÑ(Ô(ð 	$ð 	$ˆDÝ”w—|’| H¨dÑ3Ô3ˆHÝ�h‘”ð $ 2Ø—{’{‘}”}×*Ò*Ñ,Ô,�Øð $˜DŸOšO¨C¬KÑ8Ô8ð $¸TÅ#ÀcÄkÑBRÔBRÐUVÑBVÐBWÐBWÔ=XÐ\fÔ\mÒ=mÐ=mØ#ð$ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $ð $ñ $ô $ð $ð $ð $ð $ð $ð $øøøð $ð $ð $ð $øõ # :¤?°HÑ=Ô=Ð=s   ÂA,DÄD	ÄD	N)rˆ   r‰   rŠ   rž   r‹   r	   rŸ   rf   r!   r   r   r§   r§   2  sQ   € € € € € Ø8Ð8àðMð Mñ „\ðMð ð>ð >ñ „[ð>ð >ð >r   r§   )r+   r1   r/   rS   Ú
crypto.keyr   r   Ú	constantsr   Úhelpersr   r   r	   r
   Úlockingr   r-   r   rš   r   r   rˆ   rV   r   re   r¡   r§   r!   r   r   ú<module>r³      s—  ðØ €€€Ø 	€	€	€	Ø €€€Ø €€€à 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8Ð 8Ø (Ð (Ð (Ð (Ð (Ð (Ø -Ð -Ð -Ð -Ð -Ð -Ø >Ð >Ð >Ð >Ð >Ð >Ð >Ð >Ð >Ð >Ø Ð Ð Ð Ð Ð Ø !Ð !Ð !Ð !Ð !Ð !Ø )Ð )Ð )Ð )Ð )Ð )Ð )Ð )à	ˆ�xÑ	 Ô	 €à€ð]\ð ]\ð ]\ð ]\ð ]\˜jñ ]\ô ]\ð ]\ð@">ð ">ð ">ð ">ð ">�jñ ">ô ">ð ">ðJð ð ð ð ˜Zñ ô ð ð4>ð >ð >ð >ð >˜
ñ >ô >ð >ð >ð >r   