consolidate everything into one GitHub trigger
This commit is contained in:
parent
80ae3fd310
commit
f6f93e9079
6 changed files with 42 additions and 426 deletions
|
@ -5,6 +5,6 @@ def generate_ssh_keypair():
|
|||
Generates a new 2048 bit RSA public key in OpenSSH format and private key in PEM format.
|
||||
"""
|
||||
key = RSA.generate(2048)
|
||||
public_key = key.publicKey().exportKey('OpenSSH')
|
||||
public_key = key.publickey().exportKey('OpenSSH')
|
||||
private_key = key.exportKey('PEM')
|
||||
return (public_key, private_key)
|
||||
|
|
Reference in a new issue