| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename ServeMux to Mux | Adnan Maolood | 2021-03-15 | 3 | -3/+3 |
| | | |||||
| * | Remove StatusSensitiveInput | Adnan Maolood | 2021-03-08 | 1 | -2/+2 |
| | | |||||
| * | examples/client: Fix certificate trust check | Adnan Maolood | 2021-03-08 | 1 | -2/+2 |
| | | |||||
| * | tofu: Use base64-encoded sha256 fingerprints | Adnan Maolood | 2021-03-06 | 1 | -2/+1 |
| | | |||||
| * | Move LoggingMiddleware out of examples/server.go | Adnan Maolood | 2021-03-05 | 1 | -45/+1 |
| | | |||||
| * | Revert "certificate: Remove Subject from CreateOptions"v0.1.19 | Adnan Maolood | 2021-03-04 | 1 | -0/+4 |
| | | | | | This reverts commit ce649ecc66ba390a5e9f95c027a15030f90c3b36. | ||||
| * | certificate: Remove Subject from CreateOptions | Adnan Maolood | 2021-03-04 | 1 | -4/+0 |
| | | |||||
| * | tofu: Remove expiration timestamp from known hosts | Adnan Maolood | 2021-03-04 | 1 | -4/+2 |
| | | |||||
| * | examples/server: Clean up LoggingMiddleware | Adnan Maolood | 2021-02-27 | 1 | -10/+8 |
| | | |||||
| * | Update examples/client.go | Adnan Maolood | 2021-02-24 | 1 | -2/+2 |
| | | |||||
| * | Remove ResponseWriter.Close method | Adnan Maolood | 2021-02-24 | 1 | -4/+0 |
| | | |||||
| * | response: Revert to using fields instead of methods | Adnan Maolood | 2021-02-24 | 1 | -5/+5 |
| | | |||||
| * | examples/client: Fix display of response status | Adnan Maolood | 2021-02-24 | 1 | -1/+1 |
| | | |||||
| * | examples/server: Cancel context | Adnan Maolood | 2021-02-24 | 1 | -1/+2 |
| | | |||||
| * | examples/server: Add logging middleware | Adnan Maolood | 2021-02-24 | 1 | -1/+51 |
| | | |||||
| * | examples/client: Use Response methods | Adnan Maolood | 2021-02-24 | 1 | -4/+4 |
| | | |||||
| * | examples/auth: Use Request.TLS method | Adnan Maolood | 2021-02-24 | 1 | -4/+6 |
| | | |||||
| * | Update examples/client.go | Adnan Maolood | 2021-02-23 | 1 | -2/+2 |
| | | |||||
| * | examples/client: Stream response body | Adnan Maolood | 2021-02-23 | 1 | -3/+3 |
| | | |||||
| * | examples/stream: Simplify | Adnan Maolood | 2021-02-23 | 1 | -23/+6 |
| | | |||||
| * | Update examples | Adnan Maolood | 2021-02-23 | 3 | -3/+3 |
| | | |||||
| * | examples/stream: Remove /shutdown handler | Adnan Maolood | 2021-02-22 | 1 | -16/+3 |
| | | |||||
| * | examples/server: Shutdown on interrupt signal | Adnan Maolood | 2021-02-22 | 1 | -1/+21 |
| | | |||||
| * | examples/stream: Remove usage of Flusher | Adnan Maolood | 2021-02-22 | 1 | -10/+2 |
| | | |||||
| * | examples/stream: Showcase Server.Shutdown method | Adnan Maolood | 2021-02-21 | 1 | -2/+18 |
| | | |||||
| * | examples: Use context | Adnan Maolood | 2021-02-21 | 2 | -2/+3 |
| | | |||||
| * | Update examples | Adnan Maolood | 2021-02-20 | 3 | -48/+29 |
| | | |||||
| * | Make Status a type | Adnan Maolood | 2021-02-20 | 1 | -2/+2 |
| | | | | | Using a type is better than using an integer. | ||||
| * | examples/client: Remove dependency on go-xdg | Adnan Maolood | 2021-02-20 | 1 | -2/+8 |
| | | |||||
| * | examples/client: Use context | Adnan Maolood | 2021-02-20 | 1 | -1/+2 |
| | | |||||
| * | examples/server: Use certificate.Store | Adnan Maolood | 2021-02-19 | 1 | -16/+22 |
| | | |||||
| * | examples: Use Server.Handler | Adnan Maolood | 2021-02-17 | 3 | -4/+7 |
| | | |||||
| * | examples: Use new ResponseWriter interface | Adnan Maolood | 2021-02-17 | 2 | -5/+5 |
| | | |||||
| * | Move ResponseWriter.Flush to Flusher interface | Adnan Maolood | 2021-02-17 | 1 | -1/+7 |
| | | |||||
| * | examples/server: Use os.DirFS | Adnan Maolood | 2021-02-17 | 1 | -1/+2 |
| | | |||||
| * | Replace uses of ioutil with io | Adnan Maolood | 2021-02-16 | 1 | -2/+2 |
| | | |||||
| * | Update examples/auth.go | Adnan Maolood | 2021-02-16 | 1 | -4/+4 |
| | | |||||
| * | Update examples/client.go | Adnan Maolood | 2021-02-14 | 1 | -3/+3 |
| | | |||||
| * | examples/client: Fix opening of known hosts file | Adnan Maolood | 2021-02-09 | 1 | -1/+1 |
| | | |||||
| * | Make ResponseWriter an interface | Adnan Maolood | 2021-02-09 | 2 | -3/+3 |
| | | |||||
| * | Use plain integers to represent status codes | Adnan Maolood | 2021-02-09 | 1 | -2/+2 |
| | | |||||
| * | Update examples | Adnan Maolood | 2021-01-25 | 3 | -3/+3 |
| | | |||||
| * | Guarantee that (*Response).Body is not nilv0.1.13 | Adnan Maolood | 2021-01-15 | 1 | -1/+1 |
| | | |||||
| * | server: Rename Register to Handle | Adnan Maolood | 2021-01-14 | 3 | -3/+3 |
| | | |||||
| * | Update examples | Adnan Maolood | 2021-01-14 | 4 | -7/+10 |
| | | |||||
| * | Update examples/auth.go | Adnan Maolood | 2021-01-14 | 1 | -4/+4 |
| | | |||||
| * | Update examples/client.go | Adnan Maolood | 2021-01-14 | 1 | -5/+13 |
| | | |||||
| * | tofu: Refactor | Hugo Wetterberg | 2021-01-14 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes underlying file handling and known hosts parsing. A known hosts file opened through Load() never closed the underlying file. During known hosts parsing most errors were unchecked, or just led to the line being skipped. I removed the KnownHosts type, which didn't really have a role after the refactor. The embedding of KnownHosts in KnownHosts file has been removed as it also leaked the map unprotected by the mutex. The Fingerprint type is now KnownHost and has taken over the responsibility of marshalling and unmarshalling. SetOutput now takes a WriteCloser so that we can close the underlying writer when it's replaced, or when it's explicitly closed through the new Close() function. KnownHostsFile.Add() now also writes the known host to the output if set. I think that makes sense expectation-wise for the type. Turned WriteAll() into WriteTo() to conform with the io.WriterTo interface. Load() is now Open() to better reflect the fact that a file is opened, and kept open. It can now also return errors from the parsing process. The parser does a lot more error checking, and this might be an area where I've changed a desired behaviour as invalid entries no longer are ignored, but aborts the parsing process. That could be changed to a warning, or some kind of parsing feedback. I added KnownHostsFile.TOFU() to fill the developer experience gap that was left after the client no longer knows about KnownHostsFile. It implements a basic non-interactive TOFU flow. | ||||
| * | Move tofu.go to a subpackagev0.1.11 | Adnan Maolood | 2021-01-10 | 1 | -2/+3 |
| | | |||||
| * | Update examples/stream.go | Adnan Maolood | 2021-01-10 | 1 | -3/+29 |
| | | |||||