ContainerImage.Pinniped/internal/concierge/server
Ryan Richard c82f568b2c certauthority.go: Refactor issuing client versus server certs
We were previously issuing both client certs and server certs with
both extended key usages included. Split the Issue*() methods into
separate methods for issuing server certs versus client certs so
they can have different extended key usages tailored for each use
case.

Also took the opportunity to clean up the parameters of the Issue*()
methods and New() methods to more closely match how we prefer to call
them. We were always only passing the common name part of the
pkix.Name to New(), so now the New() method just takes the common name
as a string. When making a server cert, we don't need to set the
deprecated common name field, so remove that param. When making a client
cert, we're always making it in the format expected by the Kube API
server, so just accept the username and group as parameters directly.
2021-03-12 16:09:37 -08:00
..
testdata Rename pinniped-server -> pinniped-concierge 2020-10-06 14:59:03 -04:00
server_test.go Add WhoAmIRequest Aggregated Virtual REST API 2021-02-22 20:02:41 -05:00
server.go certauthority.go: Refactor issuing client versus server certs 2021-03-12 16:09:37 -08:00