Closed frecinatjc closed 1 year ago
@jonasvinther are you able to merge this issue as we need it also
@jonasvinther can you show us your openssl command that are used for decrypt file.
It's documented here: https://github.com/jonasvinther/medusa#key-generation
I looked into this issue yesterday and realized that the suggested code won't fix this issue. In order to support ECDSA etc. the code needs to be changed to handle the different formats.
I found a workaround to generating a key pair that will correctly parse during decryption. I was using openssl 3.0.1 to generate the keys, which resulted in the above parsing error.
For these steps to work: https://github.com/jonasvinther/medusa#key-generation, I switched to using openssl 1.0.2.
Hello,
Issue on decrypr file
I fixed this issue on rsa.go files
from
to
Can you fix it ?