How to update signature.json to pass integrity check

Hi,
Using Nextcloud 20.0.1 docker image.
Failing integrity check because I modified .htacces, everything else is working great.

1.) I updated two rules in .htaccess.
2.) Ran occ maintenance:update:htaccess and occ integrity:check-core which showed incorrect hash.
3.) I then used sed to replace the old htaccess hash with the new one in signature.json
That produced this error

Results
=======
- core
	- EXCEPTION
		- OC\IntegrityCheck\Exceptions\InvalidSignatureException
		- Signature could not get verified.

Question is:
How do you modify core configuration files and properly update the signature.json file.

1 Like

Do you fix this problem ?