diff options
author | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-06-17 19:25:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-17 19:25:44 +0300 |
commit | c7313efaf12d88c637281604abbf5aff063ed8bd (patch) | |
tree | b7c499352104f5a40b933d78fedf72b9063358e0 /interface-definitions/include/interface/eapol.xml.i | |
parent | 249fb1362490b961e0c0031fb29defb654fbaf3f (diff) | |
download | vyos-1x-c7313efaf12d88c637281604abbf5aff063ed8bd.tar.gz vyos-1x-c7313efaf12d88c637281604abbf5aff063ed8bd.zip |
pki: T4026: Only emit private keys when available (#3669)
* install_certificate() code path handles private_key=None &
key_passphrase=None OK already
* file and console output paths will error trying to encode None as a key
* This is only an issue for a couple of the generate_*_sign() functions,
where having a null private key is possible
* Self-signing and CA creation always generate a private key
* Certreqs will generate a private key if not already provided
* Do not prompt for a private key passphrase if we aren't giving back a
private key
(cherry picked from commit d2cf8eeee9053d04f34c5e8a22373290d078ab37)
Co-authored-by: Andrew Topp <andrewt@telekinetica.net>
Diffstat (limited to 'interface-definitions/include/interface/eapol.xml.i')
0 files changed, 0 insertions, 0 deletions