Extension:EncryptedUploads

MediaWiki extensions manual
EncryptedUploads
Release status: unmaintained
Description Allows to encrypt uploaded files with a password
Author(s) WikiTeq team, Vedmaka
Latest version 0.0.2
Compatibility policy For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension.
MediaWiki 1.35+
Database changes Yes
Tables encrypted_file
License MIT License
Download

  • $wgEncryptedUploadsSendMail
  • read-encrypted-files
Quarterly downloads 3 (Ranked 137th)
Translate the EncryptedUploads extension if it is available at translatewiki.net
Issues Open tasks · Report a bug

The EncryptedUploads extension allows to encrypt uploaded files with a password. The password is visible to the uploader and can be shared with other users from selected groups.

Use of this extension together with UploadWizard requires a patch to the UploadWizard extension. It will work fine for regular uploads with no patch.

This extension was created for WikiWorks.

Installation

edit
  • Download and move the extracted EncryptedUploads folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/EncryptedUploads
  • Only when installing from Git, run Composer to install PHP dependencies, by issuing composer install --no-dev in the extension directory. (See task T173141 for potential complications.)
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'EncryptedUploads' );
    
  • Run the update script which will automatically create the necessary database tables that this extension needs.
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

edit

This extension has 1 configuration parameters:

  • $wgEncryptedUploadsSendMail - Whether to send email with a password to the uploader user ( by default is set to false )

Usage

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

Integration with UploadWizard

edit

Integrates with patched version of UploadWizard, but requires a patch for the last ( find patch in patch folder of the repository )