Eduvpn-common

Latest version: v2.1.0

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.1.0

* Discovery:
- Fetch on startup in the background with a function "DiscoveryStartup"
- Remove organization 4 hour expiry, fetch organization list when the client needs to authorize again
- Fix missing JSON fields not having empty values but having values for previous entries due to a memory re-use bug (55). This can be noticed in e.g. the keyword list
- Implement conditional requests using `If-Modified-Since` request header and `Last-Modified` response header and checking on HTTP 304
* FSM:
- Allow AskProfile selection after authorizing
- Go to previous state on renew error
* Proxyguard integration:
- Fix race condition warning
* User agent:
- Override ProxyGuard user agent
- Override eduoauth-go user agent
* Deps:
- Update to latest versions

2.0.2

* Client: More frequent state file saving which helps forceful closes of a client
* Config: Implement atomic file writes

2.0.1

* Discovery: Updates regarding the internal handling of the discovery organization list cache
* Translations: Update from weblate

2.0.0

* Minimise exposed discovery to the client and add search by giving a second argument to DiscoServers or DiscoOrganizations with the search query:
- organization list globally changes:
* remove `v` field
* remove `go_timestamp` field
- each organization changes:
* remove `authentication_url_template` field
* remove `keyword_list` field
* remove `public_key_list` field
* remove `support_contact` field
- server list globally changes:
* remove `v` field
* remove `go_timestamp` field
- each server changes:
* remove `secure_internet_home` field
* remove `keyword_list` field
* Python wrapper:
- Add setup.py & setup.cfg for backwards compatibility instead of completely relying on pyproject.toml
* API:
- Add a ton of tests by mocking the server API
* Makefile:
- Add a coverage target
* Server:
- Replace the non-interactive AddServer flag with an oauth start time flag,
if non-nil the server is added non-interactively and the OAuth start time is stored
* Client FSM:
- Remove graph image generation using Mermaid as that is too much code in core, this will be implemented using an external script
* Example CLI:
- Fix profile/location selection
* Translations:
- Update from Weblate
* Deps:
- Update to eduoauth-go 1.0.0

1.99.2

* Expose default gateway in profile settings too. For clients, use the default gateway set on the config object, this is maybe only useful for suggesting some profiles in the client profile chooser UI
* Add a server internally before authorizing and remove it again if authorization has failed. This makes sure the internal state is always up-to-date with what is happening. This also allows us to move to the main state when authorization is done as previously it could be the case where authorization was done but the server was not added yet
* Fix previous state not being set correctly when getting a config and an error happens
* Make WireGuard support mandatory
* Cache secure internet profile choice per location
* Update go dependencies: eduoauth-go logging changes
* Cancel ProxyGuard in Cleanup function if it was started using the common functionality
* FSM Changes: Allow to go to disconnected from OAuthStarted and GettingConfig
* Refactor makefile & building for Go and Python code

1.99.1

* Disable type annotation for global eduVPN class as it gave a `SyntaxError` on some Python versions. See https://bugs.python.org/issue34939

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.