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

qsh verification #40

Merged
merged 4 commits into from
Aug 10, 2021
Merged

qsh verification #40

merged 4 commits into from
Aug 10, 2021

Conversation

skv-headless
Copy link
Contributor

@skv-headless skv-headless commented Jul 26, 2021

@pawelniewie
Copy link
Collaborator

Please update the version too.

@pawelniewie
Copy link
Collaborator

Yes, please update README and explain when you must verify qsh and in what cases you want to skip it.

@@ -81,12 +81,7 @@ def verify

qsh = Digest::SHA256.hexdigest(qsh)

unless data['qsh'] == qsh
log(:error, "QSH mismatch for client_key #{data['iss']} and addon_key #{addon_key}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bulinutza did this log line turned useful to you? Do you depend on it or can it be removed?

@bulinutza
Copy link
Contributor

bulinutza commented Jul 26, 2021 via email

@skv-headless
Copy link
Contributor Author

  • copied section How to send a signed HTTP request from the iframe back to the add-on service from ACE. ACE docs don't explain what is qsh so I guess we should not too.
  • Bumped new version

@pawelniewie
Copy link
Collaborator

@bulinutza you wanna take a look at this or should I merge it?

@pawelniewie pawelniewie merged commit 36ebc06 into MeisterLabs:master Aug 10, 2021
@pawelniewie pawelniewie deleted the qsh-verify branch August 10, 2021 09:44
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

Successfully merging this pull request may close these issues.

4 participants