Nextcloud version: 13.0.2
Operating system and version: 16.04.1-Ubuntu
Apache or nginx version : Apache/2.4.18
PHP version: 7.0.28
The issue you are facing:
I had a problem with few files, dunno how it came to it but the error said Bad Signature. I already planned to decrypt my data and know it seems like all of my files are rip. I think I have all the stuff I need to decrypt the data but don’t know how.
I’m gettin OCP\Encryption\Exceptions\GenericEncryptionException: Bad Signature and
I think the files are already rip, first I ran the command decrypt-all without entering the masterkeys password. This took a while but didn’t decrypt then I read somewhere there’s a bug.Now always when I try the command decrypt-all it takes seconds and not even all files are displayed. Does this mean the files aren’t in the database anymore or sth. like that?
Have been able to recovery your files? If not: We’ve written a tool that allows you to decrypt individual files if you still have your Nextcloud data directory and configuration file. It supports master key encrypted files, user key encrypted files (you additionally need the user passwords) and recovery key encrypted files (you additionally need the recovery password): decrypt-file.php
Hi I restored my broken instance piece by piece (thread: Restore NCP with just "ncdata" possible?)
The instance is up and running with the old database and the old ncdata.
But I also had the default encryption module activated, so my instance is back but I get the Error:
"Invalid private key for encryption app. Please update your private key password in your personal settings to recover access to your encrypted files.”
When I try to decrypt I get the error: “In Crypt.php line 505: Bad Signature”
Does some one has any idea how I can get my files decrypted inside nextcloud?