I try to create a tools to decrypt my files, in case on day there is a problem with BC.
I exported my own keys in bckey file. This file contains public key, private key, salt, ...
How can i decrypt my private key i need to use to decrypt the encrypted files ?
In the documentation the salt should be 24 bytes long, but in the bckey file, it is longer. New version or maybe the salt is also encrypted ?
I used this salt to generate PBKDF2 password key with 10000 iteration, but if it is not the good one, it is useless.
I tried different solutions to decrypt the private key, using openssl, different options to decode the key, but none works well.
The private key from the bckey file is not recognized as a standard encrypted key by openssl (as encrypted RSA key, or encrypted pkcs#5 or pkcs#8 file, ...)
If you could give me some tips to understand how i can move forward...