owncloud / twofactor_totp

🔑 Second factor TOTP (Google Authenticator) provider for ownCloud
GNU Affero General Public License v3.0
9 stars 9 forks source link

twofactor_totp 0.8.0 fails code integrity check #303

Closed wadedugas closed 8 months ago

wadedugas commented 8 months ago

I upgraded to OwnCloud 10.13.2 and upgraded to twofactor_totp 0.8.0. I receive the following warning when I login as admin:

`Security & setup warnings

Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)`

When I click on List of invalid files, I see:

`Technical information

The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them.

Results

Raw output

Array ( [twofactor_totp] => Array ( [EXTRA_FILE] => Array ( [vendor/bacon/bacon-qr-code/CHANGELOG.md] => Array ( [expected] => [current] => 83ca78a5b3cb10650be15375755adaaab483fe05c1bb3750cbb93add2e49455bbc710e139aeffc50a86c706d9c12584485bfa3f212de8844091b594bdb04b272 )

                [vendor/bamarni/composer-bin-plugin/src/Config.php] => Array
                    (
                        [expected] => 
                        [current] => ee951a8449defa21f4e247cad1c17486b501f40723843cc6e9e072d84704fdd05d9d9a4fde9e3c1d28d592f3c476c93c60855dc8b52bd7057f1b1aab2ebc11d2
                    )

                [vendor/bamarni/composer-bin-plugin/src/Plugin.php] => Array
                    (
                        [expected] => 
                        [current] => 096729d2ece93d67b25898618becfc61e61d86e5451761986b90dc93a46576750fa26136ac589cd56f222e4554dce5f95b673c355d9429aa71fb22459a345e9c
                    )

                [vendor/bamarni/composer-bin-plugin/src/BinCommand.php] => Array
                    (
                        [expected] => 
                        [current] => c74e135a4ae429f009c6b19ff1d10a0eaaaaebcf8d34defbdfcfdbcb37e76cadd7fd420db8145045f0f2bab3e8ff9d931d54637be16a28e7ff6870c2d923164d
                    )

                [vendor/paragonie/constant_time_encoding/tests/RFC4648Test.php] => Array
                    (
                        [expected] => 
                        [current] => eb3152a28de3733de9275a9808587f7d4f1037d9a6eb01ee79a6e2442c6e3f7c6946340365a6f031a6cb4ccb313b1a47edecf0ae900f3b1050735a7357f4d3a9
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base32Test.php] => Array
                    (
                        [expected] => 
                        [current] => ce3e85baf6bb7b6975becce4d0e2661cd5eca9c5c92a26ed009b25654c275094673590658c286271c0e2619886a4175d1f1521ea27f99c486a89e4b6c674def9
                    )

                [vendor/paragonie/constant_time_encoding/tests/HexTest.php] => Array
                    (
                        [expected] => 
                        [current] => df0d15779873602ad381ad0deb2130a664b19555db418039cdcfa81f515ca01fc26ce58bf9e2af37808d049cf527c26dbf3c0f17a2daef4951b9a9e8bcd7fe6e
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base32HexTest.php] => Array
                    (
                        [expected] => 
                        [current] => 6e8f950d2b8ffb0fee8f4eccb9d74ab462ad36d18d241005249e544f83d5d7e5687fea1a97bf7217bd3169cc3d204e96ea61291966cb6bccbb1371743c270b0c
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base64DotSlashOrderedTest.php] => Array
                    (
                        [expected] => 
                        [current] => 62eed8b06aaaf17f1d427604ef79907e5913bb79d109f2fe476fa25962fbcddb325e908a77f411fa94875efac4f0561b4cc61937fb2815c066c4e1bc6381048b
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base64Test.php] => Array
                    (
                        [expected] => 
                        [current] => 36f15c021ea4fee18a69ca22a4c9a8459cac5e872150578b745db5b22c7e65c6115810fe79dc7e006c088a4ca17ee70e10e44d79a1345b90309d8f9a9e2feeee
                    )

                [vendor/paragonie/constant_time_encoding/tests/EncodingTest.php] => Array
                    (
                        [expected] => 
                        [current] => 1bde374b5bcaf94710613e95d06e96aaf6da339e970f4e6fcc1e8549c47bf93dfa66a7800cdbf44290e1cd8de1f267f0a20e378c07223d2791b5ce001a1aecad
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base64DotSlashTest.php] => Array
                    (
                        [expected] => 
                        [current] => 47ab96c0d14306e9a7f88d78c126adcfe2985588a70022eaa32721fe6f3709b26c7793df2edb367688013c2ea0c9679e64b2e2759030c2ae5987858518505e36
                    )

                [vendor/paragonie/constant_time_encoding/tests/Base64UrlSafeTest.php] => Array
                    (
                        [expected] => 
                        [current] => d067fb8f354d63dd9e0f4a942f0a04945327ae2785dea3a044b6b91e3b4d6323c24cdb7b7d2603aea90c6b5566b523e07cc06342c474681224002d9aef45dea8
                    )

                [vendor/paragonie/constant_time_encoding/.travis.yml] => Array
                    (
                        [expected] => 
                        [current] => d4a95ec4ce565086978d85e53373bfa96f9145edf4252065ad21f38d66f4f4b7abc737c3c79a849eaaddcdcebcd2a41b82805c3b269677d6b24cc82a5f3b7d0e
                    )

                [vendor/paragonie/constant_time_encoding/.gitignore] => Array
                    (
                        [expected] => 
                        [current] => ba7fe1c252f66e9094d805799ef836b6b30621fb4efddc611137be6e4599d5e945814b15165831fd7c5391f0ad134c154561914b9f2d90bb9239b875346882e8
                    )

                [vendor/paragonie/constant_time_encoding/phpunit.xml.dist] => Array
                    (
                        [expected] => 
                        [current] => 64a2e29ec2f5ffdda012770f4c0d750fb95bd5f578296f3f8f9a55d87b1084c29138ed5f2c2e362448ebc3eeb623910f03e62e68edd12113ce16b7824989bacd
                    )

                [vendor/paragonie/constant_time_encoding/psalm.xml] => Array
                    (
                        [expected] => 
                        [current] => 9045d7b8782017e62cd56e2f26aac6646994f9ccf91be02fc5b4e7dec469b2244d3fe3e32005c140da8234cad5d6e2a42c8c310cbf40e6c8b3e2d7145b805ea3
                    )

            )

    )

)`

wadedugas commented 8 months ago

I found the issue. I needed to delete and recreate the image to remove some leftover files from the previous version. The integrity check re-scan reports no issues.