diff options
author | Andrew Topp <andrewt@telekinetica.net> | 2024-06-16 13:24:28 +1000 |
---|---|---|
committer | Andrew Topp <andrewt@telekinetica.net> | 2024-06-16 13:24:28 +1000 |
commit | d2cf8eeee9053d04f34c5e8a22373290d078ab37 (patch) | |
tree | 888922fd9551ff233af63e60afe8cb31c8775a3f /src/helpers/geoip-update.py | |
parent | 6129138a39c4abb57c5f985f2a809706bac616e8 (diff) | |
download | vyos-1x-d2cf8eeee9053d04f34c5e8a22373290d078ab37.tar.gz vyos-1x-d2cf8eeee9053d04f34c5e8a22373290d078ab37.zip |
pki: T4026: Only emit private keys when available
* 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
Diffstat (limited to 'src/helpers/geoip-update.py')
0 files changed, 0 insertions, 0 deletions