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 #6

Open
kaiwirt opened this issue May 13, 2024 · 0 comments
Open

Integrity Check #6

kaiwirt opened this issue May 13, 2024 · 0 comments

Comments

@kaiwirt
Copy link
Collaborator

kaiwirt commented May 13, 2024

For the check global-cache-data-integrity-check-fail the message processing strategy for the GC should be as follows:

  1. Try to extract content
  2. Check integrity
  3. If this fails try to download data via http(s)
  4. Check integrity
  5. If this fails delete the data and update the metric
  6. Only send out a WNM when 2 or 4 succeed

The integrity check should pass when

  • The WNM does not contain an integrity checksum
  • The GC-generated integrity encoded as hex matches the value in the WNM
  • The GC-generated integrity encoded as Base64 matches the value in the WNM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant