https://github.com/d3cod3/wp-elsewhere-cookies
Harden cookies encryption mechanism for wordpress.
https://github.com/d3cod3/wp-elsewhere-cookies
Last synced: 3 months ago
JSON representation
Harden cookies encryption mechanism for wordpress.
- Host: GitHub
- URL: https://github.com/d3cod3/wp-elsewhere-cookies
- Owner: d3cod3
- License: mit
- Created: 2017-04-16T11:26:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-16T11:27:55.000Z (about 8 years ago)
- Last Synced: 2025-01-01T22:35:13.162Z (5 months ago)
- Language: PHP
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wp-elsewhere-cookies
wp-elsewhere-cookies is a WordPress plugin to harden his cookies encryption mechanism.
## Requirements
* PHP >= 5.4
* WordPress >= 4.4 (see https://core.trac.wordpress.org/ticket/33904)## Installation
Manually copy `libs/` folder and `wp-elsewhere-cookies.php` into your `mu-plugins` folder, [Must Use Plugins](https://codex.wordpress.org/Must_Use_Plugins).
Manually copy `wp-crypto.php` elsewhere, a good choice is copying it outside your server document root and then include it like this:
```php
require_once($_SERVER['DOCUMENT_ROOT'].'/../wp-crypto.php');
```You'll need to generate your personal encryption key, and add it to `wp-crypto.php`. To do that create a temporary php file like this:
```php
saveToAsciiSafeString();?>
```Open it in your browser to generate an encryption key, copy-paste it in `wp-crypto.php` and save the file.
## Libraries
This plugin use the following library:
[php-encryption](https://github.com/defuse/php-encryption) To ensure the use of a secure encryption mechanism.