diff --git a/CHANGELOG.md b/CHANGELOG.md index d8d747f2a6af0aacd5fee2434e5dabe84aca0ca3..1a26f3f678f61c869e81d8d87de00a0447762888 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 1.1.2 + +- Extract a API method to authenticate from python # 1.1.1 - Introduce `grid5000-auth` to facilitate the creation of credential file diff --git a/grid5000/__version__.py b/grid5000/__version__.py index a82b376d2d72e66e1eb1b713f181f287dcea47a1..72f26f596b0e59eb0fc2421f6ead617c6171fc9e 100644 --- a/grid5000/__version__.py +++ b/grid5000/__version__.py @@ -1 +1 @@ -__version__ = "1.1.1" +__version__ = "1.1.2" diff --git a/grid5000/cli.py b/grid5000/cli.py index a4b064755bbc802a7ef5942bef9f4e2435499c63..1f5a9966ab54fdf5fbe458dd9910564120a2d736 100644 --- a/grid5000/cli.py +++ b/grid5000/cli.py @@ -48,6 +48,7 @@ def auth(user: str): password = getpass("Grid'5000 password: ") path.write_text("\n".join([f"username: {user}", f"password: {password}"])) print(f"{CONF_PATH} created successfully") + path.chmod(0o600) def cli_auth():