Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrity Check Failure #4365

Closed
ChurchCRMBugReport opened this issue Jul 16, 2018 · 3 comments
Closed

Integrity Check Failure #4365

ChurchCRMBugReport opened this issue Jul 16, 2018 · 3 comments

Comments

@ChurchCRMBugReport
Copy link

Fresh Install of ChurchCRM

Integrity Check Failure
The previous integrity check failed

Details: One or more files failed signature validation

Files failing integrity check:

File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php
Expected Hash: df5a88b58917c9f7ac7c959087870d08e7478199
Actual Hash: aff98eaa2bdf0dcb0b2315bfad2812ac7702f03f
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php
Expected Hash: 6d213b3771b701cdf087b8e23e4feca3fd270cc4
Actual Hash: efe3ab196cbeea55dfa80ea2ab4d7c87f5c9a6b1
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php
Expected Hash: c9903c242748a4e29d097475f70d468754dad7ff
Actual Hash: 8302741ffdae2e86425e5357ad26c21b12fd880c
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php
Expected Hash: e07974fc8b3ace97dfc4885705af3d8216cf3df1
Actual Hash: 9aa1070b80268097676b1de29f193d50c4a8c2f3
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php
Expected Hash: 237b56f89e18f87755bb814d2a843ecf15475db3
Actual Hash: 9dca93919f5ff85a5bd357f0c481412c937b7844
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php
Expected Hash: 7caa967eb421c0c97d2e72d513841db1ae233c5a
Actual Hash: d4e779c078930a93d972a49a489eb23804b35bb8
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/ProcessorType.php
Expected Hash: 481fdce4c2f9a2da5147613170b1d7ec87fa5578
Actual Hash: b54f996d6803cc283419c1fb396e320748c2b4f4
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php
Expected Hash: 81a8c6de2d4329647927900b6a85259bd0e17b94
Actual Hash: a9301ee27e3a6d1fa76fd38549aa882017022bb5
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php
Expected Hash: a37819c373c6f08d509c301e93da3e6673dbcf0a
Actual Hash: 5df91d1904d0774abffece37884e7e33ad664bd3
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php
Expected Hash: 24caa61866a3b4e8c028acdf9fe820bcb0b312a0
Actual Hash: 30dbff9c75373659c06007df6feeb1f08c3da680
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SubMerchantType.php
Expected Hash: c8e37ab61d4660ce8a4facaeb5599711087f71ae
Actual Hash: b493bff0ed3b0be046c6cda61770f0438720756d
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionDetailsType.php
Expected Hash: ec9e40c2d37cc15a45eb3d85e0aefeed42f4a946
Actual Hash: 3b01cc96e53baf707f71cf66f2058a967ce859cc
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionRequestType.php
Expected Hash: c9b0f89f124c9dda89893de686eb62db4ecc368f
Actual Hash: a7a694fcac1004124c12419256412e43b69abf0c
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionResponseType.php
Expected Hash: b0ad102ed5c6024a65f5414d9f67f4e2e4dc4ed2
Actual Hash: 7322d9f37515cdbc74e62db6cf7ac0eb741ca2ae
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionSummaryType.php
Expected Hash: 878baf0b7b0dc75d4b86f088aec38d96247c46c5
Actual Hash: fb184ea1224c93ca0d08181e0a8b32de4e33758b
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransRetailInfoType.php
Expected Hash: b84649792bda1f3dffef28f8f7357479ef781854
Actual Hash: 2a33e4f6ee10de0cf96347573564b3773ca725d7
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php
Expected Hash: a821fc570ac92394edbc31154e491e124363725a
Actual Hash: 92e444e4a5cdc9b30fb58311c38f854a6cd8f713
File Name: vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/WebCheckOutDataType/TokenAType.php
Expected Hash: c256b2bdc75e7698ba93344fbabc885ee31b4724
Actual Hash: eb8f85f50d147283800a6bc3ea092e42676cd968
File Name: skin/external/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js
Expected Hash: 01a6688d156cf14f08512e0daf0fb4da04c2aaf7
Actual Hash: 43a24282a3160985f266e3c5fed57a7ef6fb76fd
File Name: skin/external/ckeditor/styles.js
Expected Hash: 92aef2d89c727b9c3bf5d1374e21850837f2607c
Actual Hash: f408a685b9a02b78c8c6ee434a354d78c7a58a4c
File Name: skin/external/fullcalendar/fullcalendar.js
Expected Hash: 013750b616edf17a0edc7c743042df3bd54b4450
Actual Hash: 7500162b0ebe66d591ff90ca184a3248c17df631

Collected Value Title Data
Page Name /IntegrityCheck.php
Screen Size 900x1440
Window Size 803x1400
Page Size 1710x1400
Platform Information Linux web2.50webs.com 4.4.132-xeon-hst #4 SMP Wed May 16 17:52:30 UTC 2018 x86_64
PHP Version 7.1.18
SQL Version 5.6.27
ChurchCRM Version 3.0.6
Reporting Browser Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 OPR/54.0.2952.51
Prerequisite Status All Prerequisites met
Integrity check status {"status":"failure","message":"One or more files failed signature validation","files":[{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/CreditCardMaskedType.php","status":"Hash Mismatch","expectedhash":"df5a88b58917c9f7ac7c959087870d08e7478199","actualhash":"aff98eaa2bdf0dcb0b2315bfad2812ac7702f03f"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetCustomerPaymentProfileRequest.php","status":"Hash Mismatch","expectedhash":"6d213b3771b701cdf087b8e23e4feca3fd270cc4","actualhash":"efe3ab196cbeea55dfa80ea2ab4d7c87f5c9a6b1"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetCustomerProfileRequest.php","status":"Hash Mismatch","expectedhash":"c9903c242748a4e29d097475f70d468754dad7ff","actualhash":"8302741ffdae2e86425e5357ad26c21b12fd880c"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetMerchantDetailsResponse.php","status":"Hash Mismatch","expectedhash":"e07974fc8b3ace97dfc4885705af3d8216cf3df1","actualhash":"9aa1070b80268097676b1de29f193d50c4a8c2f3"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/GetTransactionListForCustomerRequest.php","status":"Hash Mismatch","expectedhash":"237b56f89e18f87755bb814d2a843ecf15475db3","actualhash":"9dca93919f5ff85a5bd357f0c481412c937b7844"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/MerchantAuthenticationType.php","status":"Hash Mismatch","expectedhash":"7caa967eb421c0c97d2e72d513841db1ae233c5a","actualhash":"d4e779c078930a93d972a49a489eb23804b35bb8"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/ProcessorType.php","status":"Hash Mismatch","expectedhash":"481fdce4c2f9a2da5147613170b1d7ec87fa5578","actualhash":"b54f996d6803cc283419c1fb396e320748c2b4f4"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerErrorType.php","status":"Hash Mismatch","expectedhash":"81a8c6de2d4329647927900b6a85259bd0e17b94","actualhash":"a9301ee27e3a6d1fa76fd38549aa882017022bb5"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerRequest.php","status":"Hash Mismatch","expectedhash":"a37819c373c6f08d509c301e93da3e6673dbcf0a","actualhash":"5df91d1904d0774abffece37884e7e33ad664bd3"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SecurePaymentContainerResponse.php","status":"Hash Mismatch","expectedhash":"24caa61866a3b4e8c028acdf9fe820bcb0b312a0","actualhash":"30dbff9c75373659c06007df6feeb1f08c3da680"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/SubMerchantType.php","status":"Hash Mismatch","expectedhash":"c8e37ab61d4660ce8a4facaeb5599711087f71ae","actualhash":"b493bff0ed3b0be046c6cda61770f0438720756d"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionDetailsType.php","status":"Hash Mismatch","expectedhash":"ec9e40c2d37cc15a45eb3d85e0aefeed42f4a946","actualhash":"3b01cc96e53baf707f71cf66f2058a967ce859cc"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionRequestType.php","status":"Hash Mismatch","expectedhash":"c9b0f89f124c9dda89893de686eb62db4ecc368f","actualhash":"a7a694fcac1004124c12419256412e43b69abf0c"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionResponseType.php","status":"Hash Mismatch","expectedhash":"b0ad102ed5c6024a65f5414d9f67f4e2e4dc4ed2","actualhash":"7322d9f37515cdbc74e62db6cf7ac0eb741ca2ae"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransactionSummaryType.php","status":"Hash Mismatch","expectedhash":"878baf0b7b0dc75d4b86f088aec38d96247c46c5","actualhash":"fb184ea1224c93ca0d08181e0a8b32de4e33758b"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/TransRetailInfoType.php","status":"Hash Mismatch","expectedhash":"b84649792bda1f3dffef28f8f7357479ef781854","actualhash":"2a33e4f6ee10de0cf96347573564b3773ca725d7"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/WebCheckOutDataType.php","status":"Hash Mismatch","expectedhash":"a821fc570ac92394edbc31154e491e124363725a","actualhash":"92e444e4a5cdc9b30fb58311c38f854a6cd8f713"},{"filename":"vendor/authorizenet/authorizenet/lib/net/authorize/api/contract/v1/WebCheckOutDataType/TokenAType.php","status":"Hash Mismatch","expectedhash":"c256b2bdc75e7698ba93344fbabc885ee31b4724","actualhash":"eb8f85f50d147283800a6bc3ea092e42676cd968"},{"filename":"skin/external/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js","status":"Hash Mismatch","expectedhash":"01a6688d156cf14f08512e0daf0fb4da04c2aaf7","actualhash":"43a24282a3160985f266e3c5fed57a7ef6fb76fd"},{"filename":"skin/external/ckeditor/styles.js","status":"Hash Mismatch","expectedhash":"92aef2d89c727b9c3bf5d1374e21850837f2607c","actualhash":"f408a685b9a02b78c8c6ee434a354d78c7a58a4c"},{"filename":"skin/external/fullcalendar/fullcalendar.js","status":"Hash Mismatch","expectedhash":"013750b616edf17a0edc7c743042df3bd54b4450","actualhash":"7500162b0ebe66d591ff90ca184a3248c17df631"}]}
@MrClever
Copy link
Collaborator

Based on the hashes in this ticket, it looks like they are all valid 3.0.6 hashes ("Expected Hash" match the signatures.json from the official 3.0.6 release).
It would be helpful to know where you sourced your installation file from. The official releases all come from here: https://github.com/ChurchCRM/CRM/releases

Before you extract the compressed file, it would be good to verify the hash against the one against the release. Also - if you edit any files on the web server, it will also cause the SHA1 hash to change and there fail integrity checks;

  1. Have you modified anything?
  2. Is there an automated process that modifies files?
    For instance, I once found a web server that converted all Unix LF line endings to Windows style CRLF - this sort of thing will cause the SHA1 hash to change and therefore integrity check to fail.

@crossan007
Copy link
Contributor

crossan007 commented Jul 21, 2018

@MrClever I'm very curious to see where these packages are coming from.

I've seen a bunch of tickets where the hashes don't match - and I haven't traced it out yet. The official release archive is valid, but some systems seem to have the same set of files mismatched.

Related:
#4363
#4297
#4253
#4204
#3995
#3944
#3934
#3920
#3913
#3868
#3867
(Possibly more)

It looks like there's a common "authorize.net" replacement: https://github.com/ChurchCRM/CRM/issues?utf8=%E2%9C%93&q=is%3Aissue+%22aff98eaa2bdf0dcb0b2315bfad2812ac7702f03f%22

@crossan007 crossan007 added this to the On-Deck milestone Jul 21, 2018
@crossan007 crossan007 modified the milestones: On-Deck, Backlog Apr 1, 2020
@DawoudIO DawoudIO removed this from the Backlog milestone Nov 1, 2023
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 17, 2024
@respencer respencer closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants