Changeset 3217053
- Timestamp:
- 01/05/2025 02:14:09 AM (15 months ago)
- Location:
- fernet-encryption/trunk
- Files:
-
- 6 edited
-
fernet-encryption.php (modified) (2 diffs)
-
includes/class-fernet-cli.php (modified) (1 diff)
-
includes/class-fernet-rest-api.php (modified) (4 diffs)
-
includes/class-fernet-shortcodes.php (modified) (1 diff)
-
includes/helpers.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fernet-encryption/trunk/fernet-encryption.php
r2711267 r3217053 8 8 /** 9 9 * Plugin Name: Fernet Encryption 10 * Plugin URI: https:// github.com/hubbardlabs/fernet-encryption/10 * Plugin URI: https://wordpress.org/plugins/fernet-encryption/ 11 11 * Description: Secure WordPress data with Fernet Encryption. 12 * Version: 1.0.8 13 * Author: Hubbard Labs 14 * Contributors: hubbardlabs, bhubbard 12 * Version: 1.1.0 13 * Author: bhubbard, hubbardlabs 15 14 * Author URI: https://hubbardlabs.com 16 15 * Text Domain: fernet-encryption 17 16 * Domain Path: /i18n/languages/ 18 * Requires at least: 5.5 19 * Requires PHP: 7.0 17 * Tested up to: 6.7.1 18 * Requires at least: 6.4 19 * Requires PHP: 8.0 20 20 */ 21 21 … … 96 96 97 97 return false; 98 99 98 } 100 99 } -
fernet-encryption/trunk/includes/class-fernet-cli.php
r2611628 r3217053 88 88 WP_CLI::success( $message ); 89 89 } 90 91 90 } 92 91 WP_CLI::add_command( 'fernet', 'Fernet_CLI' ); 93 92 } 94 -
fernet-encryption/trunk/includes/class-fernet-rest-api.php
r2611628 r3217053 90 90 ) 91 91 ); 92 93 92 } 94 93 … … 110 109 $encryption = fernet_encrypt( $message, $args ); 111 110 return rest_ensure_response( $encryption ); 112 113 111 } 114 112 … … 130 128 $message = fernet_decrypt( $token, $args ); 131 129 return rest_ensure_response( $message ); 132 133 130 } 134 131 … … 147 144 148 145 return true; 149 150 146 } 151 152 147 } 153 148 -
fernet-encryption/trunk/includes/class-fernet-shortcodes.php
r2611628 r3217053 44 44 return fernet_decrypt( $content ); 45 45 } 46 47 46 } 48 47 -
fernet-encryption/trunk/includes/helpers.php
r2611628 r3217053 112 112 return $meta; 113 113 } 114 115 114 } 116 115 } -
fernet-encryption/trunk/readme.txt
r2711265 r3217053 1 1 === Fernet Encryption === 2 Contributors: hubbardlabs, bhubbard2 Contributors: bhubbard, hubbardlabs 3 3 Donate link: https://hubbardlabs.com 4 4 Tags: fernet, encryption, security 5 Requires at least: 4.56 Tested up to: 5.87 Requires PHP: 7.08 Stable tag: 1.0. 85 Requires at least: 6.0 6 Tested up to: 6.4 7 Requires PHP: 8.0 8 Stable tag: 1.0.9 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 16 16 Fernet Encryption is a plugin that can be used to encrypt and decrypt data in WordPress using fernet. 17 17 18 Development was originally sponsered by Access Networks. 19 18 20 === Setup your Key === 19 21 20 22 To setup your key, you need to add the following line to your wp-config file. 21 23 22 `define( 'FERNET_KEY', 'YOUR_FERNET_KEY' );` 24 ``` 25 define( 'FERNET_KEY', 'YOUR_FERNET_KEY' ); 26 ``` 23 27 24 28 If you choose not to setup your key, you will need to save a copy of the one provided upon activation of the plugin.
Note: See TracChangeset
for help on using the changeset viewer.