Commit Graph

7 Commits (818cfc94c210308c779f71698902e0cb63f9740d)

Author SHA1 Message Date
Dustin 818cfc94c2 ci: Import ci pipeline from original repo
dustin/sshca/pipeline/head This commit looks good Details
When this repository was split from the original *dustin/sshca*
repository, the CI pipeline was not imported.  It wouldn't have mattered
if it had been, since it wouldn't have worked, anyway, given the path
changes.
2023-11-13 20:11:49 -06:00
Dustin be4f5eb6d7 server: Add Containerfile
The SSHCA server is intended to be run in a Kubernetes container.
2023-11-08 21:29:00 -06:00
Dustin a0f6119d60 server: host: Remove alias request parameter
I realized that allowing hosts to request certificates for arbitrary
aliases sort of defeats the purpose of the authentication process.  If a
host successfully authenticates, there would be nothing stopping it from
requesting a certificate for another host.  I will have to come up with
a different way of specifying aliases.  Probably something like a JSON
map containing pre-assigned aliases for hosts that will need them.
2023-11-04 16:37:19 -05:00
Dustin 87d37aebaf server: Cache machine IDs for 60 seconds
Since hosts have multiple keys that they will want to have signed, they
will need to make multiple requests, either sequentially or in parallel.
Since each request must be authenticated individually, this would result
in a libvirt connection and lookup for each one.  To avoid this
overhead, the server will now cache machine IDs in memory for 60
seconds.
2023-11-04 16:37:19 -05:00
Dustin 02d41e922d examples: Add took to generate a JWT for testing 2023-11-04 16:37:19 -05:00
Dustin 3b42be1797 ca: Add support for encrypted private keys 2023-11-04 16:37:18 -05:00
Dustin ac9681e0c3 Initial commit 2023-11-04 16:36:20 -05:00