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

feat: add file hashes to asar header #221

Merged
merged 14 commits into from
Sep 9, 2021
Merged

Conversation

MarshallOfSound
Copy link
Member

@MarshallOfSound MarshallOfSound commented Aug 30, 2021

This also adds a new public API for getRawHeader to allow callers to determine the SHA of the header for integrity purposes. This is fully backwards compatible in that no code expects this field to be populated in this module as it is intended to be used by consumers rather than this module directly.

Copy link
Member

@malept malept left a comment

Choose a reason for hiding this comment

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

Shouldn't this be spec'd out in the README?

lib/index.d.ts Outdated Show resolved Hide resolved
@MarshallOfSound
Copy link
Member Author

Shouldn't this be spec'd out in the README?

Ah didn't realize the README actually documented this format clearly, updated the README 👍

lib/crawlfs.js Outdated Show resolved Hide resolved
lib/index.d.ts Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/integrity.js Outdated Show resolved Hide resolved
lib/integrity.js Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
lib/asar.js Show resolved Hide resolved
@MarshallOfSound MarshallOfSound merged commit 94cb8bd into main Sep 9, 2021
@MarshallOfSound MarshallOfSound deleted the add-file-hash-to-header branch September 9, 2021 18:06
@electron-bot
Copy link

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants