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

[PLAT-5354] Add Bugsnag-Integrity HTTP header #881

Merged
merged 2 commits into from
Dec 1, 2020

Conversation

nickdowell
Copy link
Contributor

Goal

Implements the new Bugsnag-Integrity header as specified in design for ROAD-857

Design

Apple's CommonCrypto framework is used to generate the SHA1 hash.

Testing

Added a unit test to validate hash computation against expected output, using the shasum command line utility to generate the expected output.

Maze runner has been updated to verify the correctness of the header, so E2E test will fail if incorrect values are sent.

@nickdowell nickdowell force-pushed the nickdowell/integrity-header branch from 7ca1c2c to 8d59172 Compare November 17, 2020 10:28
@nickdowell nickdowell force-pushed the nickdowell/integrity-header branch from 8d59172 to 42ff37f Compare November 25, 2020 09:28
# Conflicts:
#	Bugsnag/Delivery/BugsnagApiClient.h
#	Bugsnag/Delivery/BugsnagApiClient.m
@nickdowell nickdowell force-pushed the nickdowell/integrity-header branch from 42ff37f to 0f32e3b Compare December 1, 2020 09:03
@nickdowell nickdowell merged commit 93443c4 into next Dec 1, 2020
@nickdowell nickdowell deleted the nickdowell/integrity-header branch December 1, 2020 16:08
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.

3 participants