So the first command looks like this: ['openssl', 'rsa', '-passin', 'pass:{0}'.format(record.password)]
It's just accepting the following on stdin, formatted like: -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY----- ...and outputting something that'll later be passed to ssh-keygen -i -f -mPKCS8. Is there a pyca/cryptography equivalent? Thanks! PS: I should've mentioned previously: I'm a bit of a cryptography newb.
_______________________________________________ Cryptography-dev mailing list Cryptography-dev@python.org https://mail.python.org/mailman/listinfo/cryptography-dev