Wrappers around standard crypto data elements.
Includes root and intermediate CAs, SSH key_pairs and x509 certificates.
Compute an md5 hash.
Parameters: | fp (file) – File pointer to the file to MD5 hash. The file pointer will be reset to the beginning of the file before the method returns. |
---|---|
Return type: | tuple |
Returns: | the hex digest version of the MD5 hash |
Convert a ssh public key to openssl format Equivalent to the ssh-keygen’s -m option
Ensure the CA filesystem exists.
Get crl file for project.
Generate and sign a cert for user in project.
Revoke a cert by file name.
Revoke all project certs.
Revoke all user certs.
Revoke certs for user in project.
Encrypt text with an ssh public key.