| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-11-10 | Logging: Add a Debug level | jwijenbergh | |
| This makes the levels more logical | |||
| 2022-11-10 | Server: Re-initialize endpoints when getting a config | jwijenbergh | |
| 2022-10-25 | Client + FSM: Remove background argument from transition | jwijenbergh | |
| This fixes a race condition reported by Go's -race flag In the future we should use waitgroups to ensure the OAuth local listener is started before we sent the URL | |||
| 2022-10-25 | Verify Test: Fix ugly race condition found with Go's -race flag | jwijenbergh | |
| 2022-10-24 | Log: Rename log file to go.log | jwijenbergh | |
| 2022-10-24 | Log: Use a multiwriter and make output neater | jwijenbergh | |
| 2022-10-24 | Client + Server + Exports: Implement optional WireGuard support | jwijenbergh | |
| 2022-10-19 | OAuth + Server: Fix ISS for secure internet | jwijenbergh | |
| The wrong base url was used. Use the one from the home server NOT the current location | |||
| 2022-10-19 | Refactor: Make errors use the parent's error level | jwijenbergh | |
| - All wrapped errors have to be created with types.NewWrappedError to inherit the error level from the parent - Or types.NewWrappedErrorLevel can be used which means a custom error level is given. For example this is done with cancelling OAuth - Client public errors are forwarded with handleError that also logs it with the error's level | |||
| 2022-10-19 | Discovery + Server: Remove unused 'Raw' strings | jwijenbergh | |
| 2022-10-18 | OAuth: Do not use url.Values Has(), only use Get() | jwijenbergh | |
| Has() was only added in Go 1.17 | |||
| 2022-10-17 | Client + Server: Delete tokens before attempting a login for renew | jwijenbergh | |
| 2022-10-17 | Server + Util: Ensure the base URL already ends with a / | jwijenbergh | |
| 2022-10-17 | OAuth: Use values Has and Get functions and check state after ISS | jwijenbergh | |
| 2022-10-17 | OAuth: Implement Authorization Server Issuer Identification (ISS) | jwijenbergh | |
| - This patch implements ISS checking according to RFC 9207 https://datatracker.ietf.org/doc/html/rfc9207 - This tries to prevent so called "mix-up" attacks where the client is fooled into authorizing with an honest AS through a malicious entity | |||
| 2022-10-13 | OAuth: Add a TODO note about ISS | jwijenbergh | |
| 2022-10-13 | OAuth: Wrap template errors | jwijenbergh | |
| 2022-10-13 | OAuth: Return HTML response on authorized | jwijenbergh | |
| HTML Template adapted from: https://github.com/eduvpn/apple/blob/5b18f834be7aebfed00570ae0c2f7bcbaf1c69cc/EduVPN/Helpers/Mac/OAuthRedirectHTTPHandler.m#L25 | |||
| 2022-10-13 | Server API: Use default timeout for /disconnect | jwijenbergh | |
| 2022-10-13 | Format: Run gofumpt | jwijenbergh | |
| 2022-10-13 | Client + Config + FSM: Simplify file names | jwijenbergh | |
| 2022-10-11 | Client + Server: Set the current institute / custom server on adding | jwijenbergh | |
| 2022-10-11 | Client: Refactor out adding a Server from getting a config | jwijenbergh | |
| 2022-10-06 | OAuth: Use an available port instead of the hard-coded 8000 | jwijenbergh | |
| 2022-10-04 | Util Test: Remove function signature comment | jwijenbergh | |
| 2022-10-04 | Server: Implement `prefer_tcp` according to spec | jwijenbergh | |
| 2022-10-04 | Refactor: Renmae force TCP to prefer TCP | jwijenbergh | |
| 2022-09-27 | Log: Add 'inherit' that sets the error level as the log level | jwijenbergh | |
| 2022-09-26 | OAuth: Verifier and State docs improvement | jwijenbergh | |
| 2022-09-26 | HTTP: Add the body to status error | jwijenbergh | |
| 2022-09-26 | OAuth: Add verifier tests | jwijenbergh | |
| 2022-09-26 | Refactor: Errors into custom export types and expose types | jwijenbergh | |
| 2022-09-20 | API: Append paths using path's Join method | jwijenbergh | |
| 2022-09-20 | Module: Move to eduvpn/eduvpn-common | jwijenbergh | |
| 2022-09-20 | Golang-ci-lint: Fixes | jwijenbergh | |
| 2022-09-20 | Go vet: Fixes | jwijenbergh | |
| 2022-09-19 | API + HTTP: Set the /disconnect timeout to 1 second | jwijenbergh | |
| 2022-09-16 | Discovery: Expose c types | jwijenbergh | |
| 2022-09-14 | Refactor: Return without json | jwijenbergh | |
| 2022-09-12 | Util: Add tests | jwijenbergh | |
| 2022-09-12 | Util: ReplaceWAYF ensure that the template is valid | jwijenbergh | |
| 2022-09-12 | WireGuard: Add config replace test | jwijenbergh | |
| 2022-09-12 | Types Error Traceback: Use 'Traceback:' after the initial error message | jwijenbergh | |
| 2022-09-12 | Types Error: Do not panic on JSON error | jwijenbergh | |
| 2022-09-12 | Types Error: Do not prefix the traceback with 'Traceback for error' | jwijenbergh | |
| 2022-09-12 | Log: Helpers for each level and print to screen too | jwijenbergh | |
| 2022-09-08 | OAuth: Separate login functions to get rid of callback | jwijenbergh | |
| 2022-09-07 | Refactor: Define FSM state constants inside the public package | jwijenbergh | |
| 2022-09-07 | Refactor: Remove the usage of the FSM in other internal packages | jwijenbergh | |
| This removes the FSM from being imported and thus used in other internal packages such as `oauth` or `server`. The benefit is that it becomes much easier now to reason about the FSM as it's only used in the public package. Additionally, we do not have to re-initialize the server and the oauth structure with the FSM pointer. | |||
| 2022-09-06 | Discovery: Make orgID not exists error closer to the specification | jwijenbergh | |
