%PDF- %PDF-
Direktori : /lib/python3/dist-packages/certbot/display/__pycache__/ |
Current File : //lib/python3/dist-packages/certbot/display/__pycache__/ops.cpython-312.pyc |
� M/�e�4 � �> � d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ ddlm Z ddlmZ dd lmZ ddlmZ ddlmZ ddlmZ ej. e� Zd8dededefd�Zdeej: de ej: fd�Zd9dee de e dee fd�Z d9de e j@ de e dee fd�Z!dee dee fd�Z"dee dee fd�Z# d9dee de e de eee f fd �Z$d:d!edee fd"�Z%dee ddfd#�Z&d$ee ddfd%�Z'd&eddfd'�Z(d(ed)e)d*ed+eddf d,�Z*dee defd-�Z+ d9d.ed/e eef f d0eegef d1ed2e e d3ede eef fd4�Z,d0eegef d5ed3ede eef fd6�Z-d0eegef d5ed3ede eef fd7�Z.y);z+Contains UI methods for LE user operations.� N)�indent)�Any)�Callable)�Iterable)�List)�Optional)�Tuple)�errors)� interfaces)�util)�account)�os�invalid�optional�returnc � � d}d}d}|r | r||z }d}nd}nd} t j | r||z n|d�� \ }}|t j k7 r,|rt j d� �t j d � �t j |� r|S |r||z }d}t |� } ��# t j $ r d}t j |� �w xY w) aJ Prompt for valid email address. :param bool invalid: True if an invalid address was provided by the user :param bool optional: True if the user can use --register-unsafely-without-email to avoid providing an e-mail :returns: e-mail address :rtype: str :raises errors.Error: if the user cancels z-There seem to be problems with that address. zCEnter email address (used for urgent renewal and security notices) a If you really want to skip this, you can run the client with --register-unsafely-without-email but you will then be unable to receive notice about impending expiration or revocation of your certificates or problems with your Certbot installation that will lead to failure to renew. FT��force_interactivezoYou should register before running non-interactively, or provide --agree-tos and --email <email_address> flags.zHAn e-mail address or --register-unsafely-without-email must be provided.z#An e-mail address must be provided.) �display_util� input_textr �MissingCommandlineFlag�OK�Errorr � safe_email�bool)r r �invalid_prefix�msg�unsafe_suggestion�suggest_unsafe�code�emails �5/usr/lib/python3/dist-packages/certbot/display/ops.py� get_emailr# s � � E�N� P�C�P�� ���$�$�C�"�N�!�N��� � 5�&�1�1�'�.�3�2F�WZ�DH�J�K�D�%� �<�?�?�"���l�l�J�K� K� �,�,�D�E�E��?�?�5�!��L��#�c�)�C�"�N��u�+��+ �� �,�,� 5�O�C��/�/��4�4� 5�s �!B&