1

Let's say I had an image file of a close friend of mine. Is there a way we can create a public private key pair from an image?

Something like:

openssl rsa -in picture.png -out test.key

or similar.

My close friend implied it was possible, but I am very new to sysadmin'in. I have to wonder if he is yanking my chain!

1 Answer 1

1

The scientific approach would have been to actually try that...

Did it work ?

The OpenSSL command line option rsa -in filename expects the file name argument to be a rsa key

So a random PNG image file might work (in a truly random way) but that is not likely IMHO

1
  • 1
    fails since it is expecting a private key. Not sure if there is a clear way to create a private key from a .png Feb 22, 2021 at 1:16

Not the answer you're looking for? Browse other questions tagged .