golden hour
/usr/lib/python2.7/site-packages/certbot/_internal
⬆️ Go Up
Upload
File/Folder
Size
Actions
__init__.py
184 B
Del
OK
__init__.pyc
349 B
Del
OK
__init__.pyo
349 B
Del
OK
account.py
14.5 KB
Del
OK
account.pyc
14.89 KB
Del
OK
account.pyo
14.89 KB
Del
OK
auth_handler.py
18.38 KB
Del
OK
auth_handler.pyc
17.21 KB
Del
OK
auth_handler.pyo
17.1 KB
Del
OK
cert_manager.py
15.59 KB
Del
OK
cert_manager.pyc
16.42 KB
Del
OK
cert_manager.pyo
16.42 KB
Del
OK
cli
-
Del
OK
client.py
30.2 KB
Del
OK
client.pyc
26.95 KB
Del
OK
client.pyo
26.95 KB
Del
OK
configuration.py
5.75 KB
Del
OK
configuration.pyc
7.77 KB
Del
OK
configuration.pyo
7.77 KB
Del
OK
constants.py
6.37 KB
Del
OK
constants.pyc
5.02 KB
Del
OK
constants.pyo
5.02 KB
Del
OK
display
-
Del
OK
eff.py
4.56 KB
Del
OK
eff.pyc
5.2 KB
Del
OK
eff.pyo
5.2 KB
Del
OK
error_handler.py
7.05 KB
Del
OK
error_handler.pyc
6.59 KB
Del
OK
error_handler.pyo
6.59 KB
Del
OK
hooks.py
7.88 KB
Del
OK
hooks.pyc
9.28 KB
Del
OK
hooks.pyo
9.28 KB
Del
OK
lock.py
9.94 KB
Del
OK
lock.pyc
9.92 KB
Del
OK
lock.pyo
9.92 KB
Del
OK
log.py
13.43 KB
Del
OK
log.pyc
13.56 KB
Del
OK
log.pyo
13.45 KB
Del
OK
main.py
50.33 KB
Del
OK
main.pyc
43.83 KB
Del
OK
main.pyo
43.61 KB
Del
OK
plugins
-
Del
OK
renewal.py
22.29 KB
Del
OK
renewal.pyc
17.4 KB
Del
OK
renewal.pyo
17.4 KB
Del
OK
reporter.py
3.48 KB
Del
OK
reporter.pyc
3.75 KB
Del
OK
reporter.pyo
3.68 KB
Del
OK
snap_config.py
3.38 KB
Del
OK
snap_config.pyc
4.73 KB
Del
OK
snap_config.pyo
4.73 KB
Del
OK
storage.py
45.96 KB
Del
OK
storage.pyc
42.26 KB
Del
OK
storage.pyo
42.26 KB
Del
OK
updater.py
3.87 KB
Del
OK
updater.pyc
4.35 KB
Del
OK
updater.pyo
4.35 KB
Del
OK
Edit: snap_config.pyc
� ���_c @ sg d Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z y$ d d l m Z d d l m Z Wn e k r� e Z e Z n Xi d d 6d d 6d d 6d d 6d d 6d d 6d d 6Z e j e � Z d � Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d S(! s0 Module configuring Certbot in a snap environmenti����N( t Session( t HTTPAdapter( t HTTPError( t RequestException( t List( t os( t Error( t HTTPConnection( t HTTPConnectionPools aarch64-linux-gnut arm64s arm-linux-gnueabihft armhfs i386-linux-gnut i386s powerpc64le-linux-gnut ppc64els powerpc-linux-gnut powerpcs x86_64-linux-gnut amd64s s390x-linux-gnut s390xc C s� t j j d � } | t k r6 t d j | � � � n d j t j j d � t | � t j d <t � �� } | j d t � � y | j d � } | j � Wnd t k r} t | t � r� | j j d k r� t j d � t j d � n t j d � | � n XWd QX| j � } g | j d i � j d g � D]_ } | j d i � j d � d k r3| j d i � j d � d k r3d j | d d � ^ q3} d j | � t j d <| j d � | S( s� Prepare runtime environment for a certbot execution in snap. :param list cli_args: List of command line arguments :return: Update list of command line arguments :rtype: list t SNAP_ARCHs$ Unrecognized value of SNAP_ARCH: {0}s {0}/usr/lib/{1}/libaugeas.so.0t SNAPt CERTBOT_AUGEAS_PATHs http://snapd/s: http://snapd/v2/connections?snap=certbot&interface=contenti� sY An error occurred while fetching Certbot snap plugins: your version of snapd is outdated.s[ Please run "sudo snap install core; sudo snap refresh core" in your terminal and try again.s^ An error occurred while fetching Certbot snap plugins: make sure the snapd service is running.Nt resultt establishedt plugt plugins plug-attrst contents certbot-1s. /snap/{0}/current/lib/python3.8/site-packages/t slott snapt :t CERTBOT_PLUGIN_PATHs --preconfigured-renewal( R t environt gett _ARCH_TRIPLET_MAPR t formatR t mountt _SnapdAdaptert raise_for_statusR t isinstanceR t responset status_codet LOGGERt errort jsont joint append( t cli_argst snap_archt sessionR$ t et datat itemt connections( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyt prepare_env$ s0 #! "!> t _SnapdConnectionc B s e Z d � Z d � Z RS( c C s# t t | � j d � d | _ d S( Nt localhost( t superR3 t __init__t Nonet sock( t self( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyR6 S s c C s/ t j t j t j � | _ | j j d � d S( Ns /run/snapd.socket( t sockett AF_UNIXt SOCK_STREAMR8 t connect( R9 ( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyR= W s ( t __name__t __module__R6 R= ( ( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyR3 R s t _SnapdConnectionPoolc B s e Z d � Z d � Z RS( c C s t t | � j d � d S( NR4 ( R5 R@ R6 ( R9 ( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyR6 ] s c C s t � S( N( R3 ( R9 ( ( sA /usr/lib/python2.7/site-packages/certbot/_internal/snap_config.pyt _new_conn` s ( R>