"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "certbot/account.py" between
certbot-0.30.2.tar.gz and certbot-0.31.0.tar.gz

About: Certbot is EFF’s tool to obtain certs from Let’s Encrypt, and optionally auto-enable HTTPS on your server. It can also act as a client for any other CA that uses the ACME protocol.

account.py  (certbot-0.30.2):account.py  (certbot-0.31.0)
skipping to change at line 141 skipping to change at line 141
class AccountFileStorage(interfaces.AccountStorage): class AccountFileStorage(interfaces.AccountStorage):
"""Accounts file storage. """Accounts file storage.
:ivar .IConfig config: Client configuration :ivar .IConfig config: Client configuration
""" """
def __init__(self, config): def __init__(self, config):
self.config = config self.config = config
util.make_or_verify_dir(config.accounts_dir, 0o700, compat.os_geteuid(), util.make_or_verify_dir(config.accounts_dir, 0o700, compat.os_geteuid(),
self.config.strict_permissions) self.config.strict_permissions)
def _account_dir_path(self, account_id): def _account_dir_path(self, account_id):
return self._account_dir_path_for_server_path(account_id, self.config.se rver_path) return self._account_dir_path_for_server_path(account_id, self.config.se rver_path)
def _account_dir_path_for_server_path(self, account_id, server_path): def _account_dir_path_for_server_path(self, account_id, server_path):
accounts_dir = self.config.accounts_dir_for_server_path(server_path) accounts_dir = self.config.accounts_dir_for_server_path(server_path)
return os.path.join(accounts_dir, account_id) return os.path.join(accounts_dir, account_id)
@classmethod @classmethod
def _regr_path(cls, account_dir_path): def _regr_path(cls, account_dir_path):
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)