3 گaP � @ sj d Z ddlZddlmZ ddlmZ ddlZddlmZ ddlm Z ddl mZ ddlm Z ejje jd ��Ze jd �Zejd d�Zejdd�Zejd d�ZeegZee j eee df d�dd�Zeje je jd�dd�Zeee j�Zeee j�Zeee j�Z eegZ!ej"eed�Z#ej"eed�Z$ej"e ed�Z%e#e$gZ&de je'eej ee j e(e j)d�dd�Z*dS )zACME utilities for testing.� N)�Iterable)�Tuple)� challenges)�messages)�auth_handler)�utilzrsa512_key.pems+ evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ+PCt92wr+oA)�tokens 17817c66b60ce2e4012dfad92657527as cafecafecafecafecafecafe0feedbac.)�challbs�returnc C s t dd� t| �D ��S )z*Generate natural combinations for challbs.c s s | ]\}}|fV qd S )N� )�.0�i�_r r �/usr/lib/python3.6/acme_util.py� <genexpr> s zgen_combos.<locals>.<genexpr>)�tuple� enumerate)r r r r � gen_combos s r )�chall�statusr c C s<