MediaWiki extension EncryptedUploads

Clone this repo:
  1. eca4e15 build: Updating dependencies by libraryupgrader · 35 hours ago master
  2. 449b000 i18n: Remove trailing newlines from message by Umherirrender · 3 days ago
  3. 12dce9d build: Updating eslint-config-wikimedia to 0.25.0 by libraryupgrader · 12 months ago REL1_41 REL1_42
  4. 0935125 build: Updating dependencies by libraryupgrader · 12 months ago
  5. a428e25 build: Updating npm dependencies by libraryupgrader · 1 year, 1 month ago

Requirements

  • Mediawiki 1.35+
  • Composer installed

Setup

  • Clone repository into extensions directory of Mediawiki
  • cd into extension directory and run composer install
  • Add wfLoadExtension('EncryptedUploads'); line to the bottom of your LocalSettings.php
  • In the Mediawiki root run php maintenance/update.php --quick

Use

  • Navigate to Special:Upload page as a user with an upload permission
  • Select file to upload and check Encrypt upload checkbox under Summary field
  • Submit upload. File will be processed, encrypted and you'll see a secret key (visible only for you) to decrypt & download it

Integration with UploadWizard

  • Integrates with patched version of UploadWizard ( find patch in patch folder of the repository )

Configuration

  • $wgEncryptedUploadsSendMail could be set to true to also email secret key to the uploader