mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
removed unused function export_pem_p12
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
parent
0162f3aafd
commit
aa9340cfdb
@ -89,13 +89,6 @@ def install_key_from_p12(
|
|||||||
ipautil.run(args, umask=0o077)
|
ipautil.run(args, umask=0o077)
|
||||||
|
|
||||||
|
|
||||||
def export_pem_p12(pkcs12_fname, pkcs12_pwd_fname, nickname, pem_fname):
|
|
||||||
ipautil.run([paths.OPENSSL, "pkcs12",
|
|
||||||
"-export", "-name", nickname,
|
|
||||||
"-in", pem_fname, "-out", pkcs12_fname,
|
|
||||||
"-passout", "file:" + pkcs12_pwd_fname])
|
|
||||||
|
|
||||||
|
|
||||||
def pkcs12_to_certkeys(p12_fname, p12_passwd=None):
|
def pkcs12_to_certkeys(p12_fname, p12_passwd=None):
|
||||||
"""
|
"""
|
||||||
Deserializes pkcs12 file to python objects
|
Deserializes pkcs12 file to python objects
|
||||||
|
Loading…
Reference in New Issue
Block a user