| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/certbot/display/__pycache__/ |
Upload File : |
o
6��a 0 �
@ s d Z ddlZddlmZ ddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ e�
e�Zd/d d
�Zdd� Zd0d
d�Zd0dd�Zdd� Zdd� Zd0dd�Zd1dd�Zdd� Zdd� Zdd� Zd ed!ed"ed#ed$df
d%d&�Zd'd(� Zd0d)d*�Zd+d,� Z d-d.� Z!dS )2z+Contains UI methods for LE user operations.� N)�indent)�errors)�util)�osFTc C s� d}d}d}|r| r||7 }d}nd}nd} zt j| r || n|dd�\}}W n tjy7 d}t�|��w |t jkrI|rDt�d��t�d ��t�|�rP|S |rX|| }d}t|�} q)
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)�invalid�optional�invalid_prefix�msg�unsafe_suggestion�suggest_unsafe�code�email� r �5/usr/lib/python3/dist-packages/certbot/display/ops.py� get_email s>