Skip to content

Commit b35f146

Browse files
author
László Vaskó
committed
Merge remote-tracking branch 'origin/develop'
2 parents 1e2f38a + 3b13875 commit b35f146

8 files changed

+77
-19
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# openconnect-sso
22
Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication
3+
to Cisco SSL-VPNs
34

45
## TL; DR
56
```bash
6-
$ pip install openconnect-sso-$VERSION.whl
7+
$ pip install openconnect-sso
78
$ openconnect-sso --server vpn.server.com/group
89
```
910

@@ -12,13 +13,13 @@ If you want to save credentials and get them automatically
1213
injected in the web browser:
1314
```bash
1415
$ openconnect-sso --server vpn.server.com/group --user [email protected]
15-
Password ([email protected]):
16+
Password ([email protected]):
1617
[info ] Authenticating to VPN endpoint ...
1718
```
1819

1920
User credentials are automatically saved to the users login keyring (if available).
2021

21-
If you already have Cisco Anyconnect set-up, then `--server` argument is optional.
22+
If you already have Cisco AnyConnect set-up, then `--server` argument is optional.
2223
Also, the last used `--server` address is saved between sessions so there is no need
2324
to always type in the same arguments:
2425

openconnect_sso/__init__.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
__version__ = "0.3.1"
2-
__description__ = (
3-
"Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication"
4-
)
1+
__version__ = "0.3.2"
2+
__description__ = "Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs"

poetry.lock

+50-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tool.poetry]
22
name = "openconnect-sso"
3-
version = "0.3.1"
4-
description = "Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication"
3+
version = "0.3.2"
4+
description = "Wrapper script for OpenConnect supporting Azure AD (SAMLv2) authentication to Cisco SSL-VPNs"
55
authors = ["László Vaskó <[email protected]>"]
66
readme = "README.md"
77

88
classifiers = [
9-
"Development Status :: 3 - Alpha",
9+
"Development Status :: 4 - Beta",
1010
"Environment :: X11 Applications :: Qt",
1111
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
1212
"Operating System :: POSIX :: Linux",
@@ -20,7 +20,7 @@ openconnect-sso = "openconnect_sso.cli:main"
2020
python = "^3.6"
2121
PyQt5 = "^5.12"
2222
PyQtWebEngine = "^5.12"
23-
attrs = "^18.2"
23+
attrs = ">=18.2, <20.0"
2424
colorama = "^0.4"
2525
lxml = "^4.3"
2626
keyring = "^18.0"
@@ -33,6 +33,7 @@ toml = "^0.10"
3333
[tool.poetry.dev-dependencies]
3434
pytest = "^3.0"
3535
black = "=19.3b0"
36+
reno = "^2.11"
3637

3738
[build-system]
3839
requires = ["poetry>=0.12"]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Relaxed version requirements of `attrs` package. As `attrs` is also used
5+
as a transitive dependency being too restrictive of its version can break
6+
dependency resolution during installation.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
prelude: >
3+
I consider the software beta quality from now on as multiple users report
4+
that they can install it and authenticate to their VPN endpoints.

tests/test_hostprofile.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,17 @@
33
from openconnect_sso.config import HostProfile
44

55

6-
@pytest.mark.parametrize(("server", "group", "expected_url"), (
6+
@pytest.mark.parametrize(
7+
("server", "group", "expected_url"),
8+
(
79
("hostname", "", "https://hostname"),
810
("hostname", "group", "https://hostname/group"),
911
("hostname/group", "", "https://hostname/group"),
1012
("https://hostname", "group", "https://hostname/group"),
1113
("https://server.com", "group", "https://server.com/group"),
1214
("https://hostname/group", "", "https://hostname/group"),
1315
("https://hostname:8443/group", "", "https://hostname:8443/group"),
14-
))
16+
),
17+
)
1518
def test_vpn_url(server, group, expected_url):
1619
assert HostProfile(server, group).vpn_url == expected_url
17-

tests/test_openconnect_sso.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33

44
def test_version():
5-
assert __version__ == '0.3.1'
5+
assert __version__ == "0.3.2"

0 commit comments

Comments
 (0)