oittaa
oittaa
I don't use Docker Compose, so I don't really know what's going on. If you'll provide [a minimal test case](https://stackoverflow.com/help/minimal-reproducible-example), I could try to reproduce it at some point.
Thanks for the update!
https://github.com/opnsense/core/blob/f85ecd0074f37bdd18bb0d465f283da3732a7f99/src/opnsense/mvc/app/library/OPNsense/Backup/Base.php#L50 100 000 rounds is quite low number of rounds in year 2022. Approximate one second duration (but at least 100 000 rounds in every case) could be calculated with:...
It would be great if someone with older `AES-256-CBC MD5` based backups could test this. I have only tested with newer `AES-256-CBC SHA512` files since that's all I had.
Made a post to https://forum.opnsense.org/index.php?topic=27768.0
I actually installed OPNsense version 21.1, took an encrypted backup, and restored it on a recent OPNsense with this patch. It worked as expected. Encrypted config: ``` ---- BEGIN config.xml...
Here's an example why integrity checks matter and what can happen when a single bit flips. ```bash $ echo -n 'ATTACK AT DAWN' | openssl enc -aes-256-cbc -a -md sha512...
``` $ phpunit --configuration PHPunit.xml --filter Backup PHPUnit 9.5.2 by Sebastian Bergmann and contributors. Runtime: PHP 7.4.28 Configuration: PHPunit.xml ..... 5 / 5 (100%) Time: 00:00.913, Memory: 8.00 MB OK...
The newest version is also broken on my systems. That captcha trick didn't help. `gpapi.googleplay.LoginError: 'server says: BadAuthentication'`
To me it looks like the `Custom-Time` is completely missing from objects. https://github.com/fsouza/fake-gcs-server/blob/297b8cdcd2f8fac8652f8b20c023ececb1c368b1/fakestorage/object.go#L25-L43 https://cloud.google.com/storage/docs/metadata#custom-time https://pkg.go.dev/cloud.google.com/go/storage#ObjectAttrsToUpdate