cert-manager/pkg
Afolabi Badmos 445e522432 Add support for EC keys
- This PR adds two fields to CertificateSpec:
  - `keyAlgorithm`, denotes which algorithm to use when generating
    a private key. Can be either `rsa` or `ecdsa`. When not set, the
    default algorithm used `rsa`.
  - `keySize`, denotes the key size of the private key being generated.
    For `rsa`, minimum key size is 2048 and maximum is 8192.
    For `ecdsa`, sizes 224, 256, 384 & 521 are supported.
    See https://golang.org/pkg/crypto/elliptic

- `keySize` can be set without being explicit about `keyAlgorithm`.
  - If `keySize` is specified and `keyAlgorithm` is not provided, `rsa` will
    be used as the key algorithm.

- `keyAlgorithm` can be set without being explicit about `keySize`.
  - If `keyAlgorithm` is specified and `keySize` is not provided, key size
    key size of `256` will be used for `ecdsa` key algorithm and
    key size of `2048` will be used for `rsa` key algorithm.

- helper functions in `pki` package now return crypto.PrivateKey
2018-07-17 12:42:07 -04:00
..
api Move to github.com/jetstack/cert-manager repo 2017-11-03 16:41:39 +00:00
apis Add support for EC keys 2018-07-17 12:42:07 -04:00
client Run hack/update-codegen.sh 2018-03-23 18:30:49 +00:00
controller Merge pull request #686 from kragniz/acme-config-update 2018-06-29 10:11:06 +01:00
issuer Add support for EC keys 2018-07-17 12:42:07 -04:00
logs Add e2e test framework and basic Issuer test 2017-09-08 16:25:21 +01:00
scheduler pkg/scheduler: fix minor race 2018-06-25 12:01:51 -07:00
util Add support for EC keys 2018-07-17 12:42:07 -04:00