Skip to content

Add plugin hash validation#2644

Open
fire-light42 wants to merge 1 commit intomasterfrom
add-plugin-hash
Open

Add plugin hash validation#2644
fire-light42 wants to merge 1 commit intomasterfrom
add-plugin-hash

Conversation

@fire-light42
Copy link
Copy Markdown
Collaborator

Fixes a long standing issue of corrupted plugin downloads whenever the server host does not cooperate. This problem usually occurs when GitHub is rate limiting users.

Testable with the official repository: https://github.com/recloudstream/extensions which already has plugin hashes.
More repositories should automatically get plugin hashes when they use the latest gradle version.

null,
File(this.filePath).length()
File(this.filePath).length(),
getFileHash()
Copy link
Copy Markdown
Collaborator Author

@fire-light42 fire-light42 Apr 11, 2026

Choose a reason for hiding this comment

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

Not happy doing IO whenever we want to create a SitePlugin from a local plugin. Not sure what a better alternative would be.

@fire-light42
Copy link
Copy Markdown
Collaborator Author

@Luna712 Might be interested, reviews are much appreciated.

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.

1 participant