Peter Rifel
701f01a26b
Use switch/case statement
2025-08-22 20:36:02 -05:00
justinsb
3ec42f10c0
PKI library: Add initial support for EC keys
...
EC keys are much shorter (at a given security level); we should
support them.
2021-12-11 10:09:10 -05:00
Ciprian Hacman
ea7df00719
Run hack/update-gofmt.sh
2021-12-01 22:39:50 +02:00
John Gardiner Myers
5687b0d5dc
Weaken some interfaces
2021-06-21 23:11:47 -07:00
Peter Rifel
4d9f0128a3
Upgrade to klog2
...
This splits up the kubernetes 1.19 PR to make it easier to keep up to date until we get it sorted out.
2020-08-16 20:56:48 -05:00
John Gardiner Myers
935d757a7c
Use KOPS_RSA_PRIVATE_KEY_SIZE for more keys
2020-04-26 20:17:02 -07:00
mikesplain
9e55b8230a
Update copyright notices
...
Also cleans some white spaces
2019-09-09 14:47:51 -04:00
Justin SB
3e33ac7682
Change code from glog to klog
...
We don't call klog.InitFlags yet, because that will cause a flag
redefinition error until we get everyone to stop using glog. That
will happen when we update to k8s 1.13.
2019-05-06 12:54:51 -04:00
Justin Santa Barbara
9e765a75bf
Generate much smaller keys in integration tests
...
We expose the default key size, and temporarily set it to 512 (from
2048) during testing. This is much faster, and key generation was the
primary bottleneck.
2018-10-03 08:33:46 -07:00
Justin Santa Barbara
f7b7fed125
Reduce log levels: parsing pem block
...
These messages are not very useful, even for v=8
2018-03-10 16:15:07 -05:00
Stephen Nelson
6cc046f96c
Added test for environment variable overriding of private key size
2018-02-26 14:35:44 -08:00
Stephen Nelson
5ef58e3b57
Make key size determined by environment variable RSA_PRIVATE_KEY_SIZE
2018-02-20 18:58:36 -08:00
Stephen Nelson
6f2baeb5f4
Increase key size in GeneratePrivateKey() to 3072
2018-01-29 16:46:04 -08:00
chrislovecnm
1e418c3e13
more goimport updates
2017-11-04 10:03:02 -06:00
Justin Santa Barbara
a16c8b1500
Refactor PKI classes into their own package
...
This will support generation of keys on the node.
2017-08-27 08:14:55 -04:00