Apologies, I meant private_bytes here, not public_bytes.
On Mon, Aug 2, 2021 at 6:10 PM Paul Kehrer wrote:
>
> Hi Dan,
>
> This mailing list doesn't have a great deal of active members who help
> with questions like this in general, but I'll try to help out.
>
> For this one you're just reading a
Hi Dan,
This mailing list doesn't have a great deal of active members who help
with questions like this in general, but I'll try to help out.
For this one you're just reading a password protected private key and
outputting a (still not PKCS8) private key without a password. The
standard load_pem_
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 -