mirror of
https://github.com/laurivosandi/certidude
synced 2024-11-04 20:38:12 +00:00
cli: Fix certidude request
dependency handling
This commit is contained in:
parent
ecb1d9b3f3
commit
d08a3f9f92
@ -91,9 +91,8 @@ def setup_client(prefix="client_", dh=False):
|
|||||||
@click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background")
|
@click.option("-f", "--fork", default=False, is_flag=True, help="Fork to background")
|
||||||
@click.option("-nw", "--no-wait", default=False, is_flag=True, help="Return immideately if server doesn't autosign")
|
@click.option("-nw", "--no-wait", default=False, is_flag=True, help="Return immideately if server doesn't autosign")
|
||||||
def certidude_request(fork, renew, no_wait, kerberos):
|
def certidude_request(fork, renew, no_wait, kerberos):
|
||||||
# Here let's try to avoid compiling packages from scratch
|
|
||||||
rpm("openssl") or \
|
rpm("openssl") or \
|
||||||
apt("openssl python-jinja2") or \
|
apt("openssl python-jinja2")
|
||||||
pip("jinja2 oscrypto csrbuilder asn1crypto")
|
pip("jinja2 oscrypto csrbuilder asn1crypto")
|
||||||
|
|
||||||
import requests
|
import requests
|
||||||
|
Loading…
Reference in New Issue
Block a user