2017 © Pedro Peláez
 

tao-extension extension-tao-encryption

Tao Encryption

image

oat-sa/extension-tao-encryption

Tao Encryption

  • Friday, July 27, 2018
  • by oat-lionel
  • Repository
  • 19 Watchers
  • 1 Stars
  • 279 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 27 Versions
  • 120 % Grown

The README.md

Tao Encryption

This article describes the functioning of tao encryption, focusing of encryption of sensitive data information on a database level., (*1)

Installation

You can add the Tao Encryption as a standard TAO extension to your current TAO instance., (*2)

 $ composer require oat-sa/extension-tao-encryption

Encrypted services supported

1. Results Encryption

  • #### Setup scripts for Tao Server instance
Encrypt
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupAsymmetricKeys' generate

Note:, (*3)

This command will generate two keys (public and private) and save them on the filesystem., (*4)

Note:, (*5)

On Client Tao instance. You have to copy the public key., (*6)

Note:, (*7)

On Server Tao instance. You need both keys, (*8)

Decrypt

In order to decrypt your results use the following script by passing a delivery id., (*9)

 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\DecryptResults' -d <delivery_id>

Or by passing the -all argument, (*10)

 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\DecryptResults' -all

Note:, (*11)

This command will decrypt results and store in the delivery result storage setup., (*12)

  • #### Setup scripts for Tao Client instance
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupEncryptedResultStorage'
  • #### Sync Encrypted Result (Run on Server and client) In order to sync encrypted results the script needs to be run on the server tao instance and client as well.
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupEncryptedSyncResult'
 ```

![alt text](docs/result_encryption.png)

### 2. Test State data encryption

- #### Setup scripts for Tao Client instance

In order to use the encrypted state test service you have to run the following command on tao client instance:

```bash
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupEncryptedStateStorage'
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupEncryptedMonitoringService'

This service it's using the symmetric algorithm in order to encrypt information., (*13)

alt text, (*14)

3. User Encryption

  • #### Setup scripts for Tao Client instance
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupEncryptedUser'
  • #### Setup scripts for Tao Server instance
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupUserEventSubscription'
  • #### Both Instances
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupUserSynchronizer'

Note:, (*15)

You should ran this command on client tao instance, (*16)

alt text, (*17)

4. Setup Encrypted File Systems

  • #### Setup scripts for Tao Client instance
 $ sudo -u www-data php index.php "oat\taoEncryption\scripts\tools\SetupEncryptedFileSystem" -f private -e taoEncryption/symmetricEncryptionService -k taoEncryption/symmetricFileKeyProvider
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupDeliveryEncrypted'
  • #### Setup scripts for Tao Server instance
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupUserApplicationKey'
 ```

```bash
 $ sudo -u www-data php index.php 'oat\taoEncryption\scripts\tools\SetupRdfDeliveryEncrypted'

Note:, (*18)

Extra You can make TAO file systems encrypted. The following command line enables encryption for the private file system, using the service registered with ID taoEncryption/symmetricEncryptionService for data encryption/decryption., (*19)

sudo -u www-data php index.php "oat\taoEncryption\scripts\tools\SetupEncryptedFileSystem" -f private -e taoEncryption/symmetricEncryptionService

alt text, (*20)

The Versions

27/07 2018

dev-develop

dev-develop http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

27/07 2018

dev-master

9999999-dev http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

27/07 2018

v0.13.0

0.13.0.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

26/07 2018

dev-release-0.13.0

dev-release-0.13.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

18/07 2018

v0.12.0

0.12.0.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

13/07 2018

v0.11.1

0.11.1.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

15/06 2018

v0.9.1

0.9.1.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

01/06 2018

v0.8.4

0.8.4.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

01/06 2018

dev-release-0.8.4

dev-release-0.8.4 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

01/06 2018

dev-hotfix/pass-app-key-to-taks/0.8.4

dev-hotfix/pass-app-key-to-taks/0.8.4 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

31/05 2018

v0.8.3

0.8.3.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

30/05 2018

dev-fix/non-existing-elig-should-not-sync

dev-fix/non-existing-elig-should-not-sync http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

29/05 2018

dev-feature/add-decrypt-button

dev-feature/add-decrypt-button http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

28/05 2018

dev-fix/handle-empty-content

dev-fix/handle-empty-content http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

24/05 2018

v0.8.1

0.8.1.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

18/05 2018

v0.8.0

0.8.0.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

17/05 2018

dev-fix/TAO-6250/fix-some-sync-issue

dev-fix/TAO-6250/fix-some-sync-issue http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

17/05 2018

v0.7.1

0.7.1.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

20/04 2018

v0.6.2

0.6.2.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

18/04 2018

dev-release-0.6.2

dev-release-0.6.2 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

23/03 2018

dev-fix/fix-add-unit-tests

dev-fix/fix-add-unit-tests http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

23/03 2018

v0.6.1

0.6.1.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

21/03 2018

dev-release-0.6.1

dev-release-0.6.1 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

14/03 2018

dev-intergration_branch

dev-intergration_branch http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

12/03 2018

dev-feature/TAO-6084/add-application-key-and-encrypt-delivery-content

dev-feature/TAO-6084/add-application-key-and-encrypt-delivery-content http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

09/03 2018

v0.3.0

0.3.0.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment

23/02 2018

v0.2.0

0.2.0.0 http://www.taotesting.com

Tao Encryption

  Sources   Download

GPL-2.0-only

The Requires

 

The Development Requires

by Ionut Padurariu

encryption tao computer-based-assessment