Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-08-10 | Add Microsoft auth provider | Kevin Lyda | |
Microsoft uses JSON Web Tokens (JWT) as OAuth tokens. These can run to many thousands of characters which are too long for TTYs. Work around this by base64-encoding the token and chunk it into smaller pieces. Closes #70 | |||
2018-08-10 | Fix LetsEncrypt support | Niall Sheridan | |
2018-08-10 | Mention `require_reason` in config & READMEv1.1.0 | Niall Sheridan | |
2018-08-09 | Only request a reason from the client if the server requires it | Niall Sheridan | |
2018-08-09 | Remove gRPC | Niall Sheridan | |
This hasn't been enabled in a while due to gRPC limitations | |||
2018-08-08 | Correct client behaviours for option handling | Niall Sheridan | |
A config file is not required - don't error if one doesn't exist. Don't overwrite default options with an empty string. | |||
2018-08-08 | Misc fixes | Niall Sheridan | |
- Add `fast_finish` to travis config - Specify that Go 1.9 is supported - Additional error checking which was previously missed - Make the migrations test better - | |||
2018-08-08 | Change the primary key on the issued_certs table | Niall Sheridan | |
In retrospect a primary key that has no relation to the certificate is preferred to using the certificate KeyID. The KeyID is also very large for a primary index. This is a moderately tricky migration, especially for SQLite which has no means of altering the table in this fashion - it involves creating the new table and copying the data. Order of commands also matters - index names are global in SQLite, so the `idx_expires_at` index needs to be created at the correct stages. For MySQL migration the necessary steps are run as a single alter statement to minimise the risk of leaving the migration in an incomplete state if anything aborts. When tested on a table with 250,000 rows (MySQL 5.7) the migration took 3 seconds to complete. As certificates will be requested infrequently the risk of prolonged locking is minimal. | |||
2018-08-07 | Drop unneeded index idx_revoked_expires_at | Niall Sheridan | |
2018-08-07 | Add a tool to create empty migrations | Niall Sheridan | |
2018-08-07 | Add migrations tests | Niall Sheridan | |
2018-08-07 | Updates to static content generation, docs and examples | Niall Sheridan | |
Static content generator finds the root of the git repo and executes from there. Packr will scan subdirs for boxes to be packed. | |||
2018-08-07 | Move StringSlice into the store package | Niall Sheridan | |
2018-08-07 | Unexport store implementations | Niall Sheridan | |
Return an error if the store isn't known, instead of defaulting to a mem store | |||
2018-08-07 | Remove obsolete db seed script | Niall Sheridan | |
2018-08-07 | Manage db schema with rubenv/sql-migrate | Niall Sheridan | |
It's currently hard to make changes to the database schema. Use sql-migrate to make incremental changes. Stop hard-coding the database name (the default is still "certs" for backward-compatibility) The `automigrate()` function will automatically run pending migrations. Use a different migration directory per database driver. This carries a cost of duplication, but is easier than creating migrations which will cleanly execute in both SQLite and MySQL. Migrations are shipped using the packr utility. | |||
2018-08-07 | Use multi-stage build with current Go version | Niall Sheridan | |
2018-08-06 | Makefile and README fixes | Niall Sheridan | |
Makefile: - Use goimports to format - Regenerate static files - Check that the git branch is clean README: - Remove section on Docker. To be re-added. - Link to releases | |||
2018-08-06 | Error if the git client isn't clean | Niall Sheridan | |
2018-08-05 | Test against 1.11 beta3 | Niall Sheridan | |
2018-08-01 | Switch to a Makefile | Niall Sheridan | |
2018-08-01 | Migrate from esc to packr for static files | Niall Sheridan | |
2018-06-20 | Update versionsv1.0.0 | Niall Sheridan | |
2018-06-20 | use mysql.NewConfig() to set defaults correctly | Niall Sheridan | |
2018-06-20 | Update dependencies | Niall Sheridan | |
2017-10-19 | Warn when not using a persistent datastore | Niall Sheridan | |
2017-10-19 | Move database config to the server section | Niall Sheridan | |
2017-10-18 | allow whitespace in message (#68) | Bob Long | |
2017-10-18 | Update Go version | Niall Sheridan | |
2017-10-18 | Update dependencies | Niall Sheridan | |
2017-10-17 | Support a message to be passed and logged from client to server (#67) | Bob Long | |
* Support a message to be passed and logged from client to server | |||
2017-08-14 | Use bold text | Niall Sheridan | |
2017-08-14 | Add a note about the dangers of relying on dropping privs in Go | Niall Sheridan | |
2017-06-17 | Disable grpc multiplexer | Niall Sheridan | |
2017-06-17 | Set the textarea height | Niall Sheridan | |
2017-06-05 | Saving private keys (#61) | fuero | |
* enables saving private keys * renames public_file_prefix to key_file_prefix and updates its docs to better reflect the changes | |||
2017-04-15 | Revoke multiple certs in a single call | Niall Sheridan | |
2017-04-10 | enable race detection | Niall Sheridan | |
2017-04-10 | remove calls to t.Parallel() | Niall Sheridan | |
2017-04-10 | update dependencies | Niall Sheridan | |
2017-04-10 | add a healthcheck handler | Niall Sheridan | |
2017-04-10 | obtain the username before revoking the token | Niall Sheridan | |
2017-04-10 | Add comment for exported method | Niall Sheridan | |
2017-04-10 | override the json marshaller's time format | Niall Sheridan | |
2017-04-10 | fix behaviour of SQLStore.List | Niall Sheridan | |
2017-04-10 | Populate all fields during test | Niall Sheridan | |
2017-04-10 | Add indexes | Niall Sheridan | |
2017-04-10 | don't log timestamps | Niall Sheridan | |
2017-04-10 | Ensure resp.Body is closed | Niall Sheridan | |
2017-03-02 | Add Go to client requirements | Niall Sheridan | |