Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

OpenPHP Encryption

Security covered Maintenance fixes only 4 sites

This module adds OpenPGP encryption capabilities to the core encrypt module. It allows for asymmetric encryption and decryption using either a single private key for both operations or separate public and private keys for encryption and decryption respectively.

Features

This module adds OpenPHP encryption to the encrypt module's ecosystem.

This is an asymmetrical encryption method.

If you want to use one encryption profile to encrypt and decrypt, you will need to use a private key, as this also contains data for the public key within the private key. For example: -

-----BEGIN PGP PRIVATE KEY BLOCK-----

Whatever the private key is...
-----END PGP PRIVATE KEY BLOCK-----

If you want to encrypt with a public key ONLY and need to decrypt the data later in Drupal, you will need to create another encryption profile to decrypt using the PRIVATE key and handle that use case. A public key looks like this: -

-----BEGIN PGP PUBLIC KEY BLOCK-----

Whatever the key public key is
-----END PGP PUBLIC KEY BLOCK-----

The encrypted data looks like this: -

-----BEGIN PGP MESSAGE-----

hQEMA6qXx8ZGQyPoAQf/REjgrvv1eeKK/oM85tjAMmKjOwqPh8E2B1oztj/57MbO
VSHMioL0yWJMJoQsF5QB1QRbd9rul638m6JRpZEvf9zxHxN35FBIfchhfPMs1uup
htpKxmTHHKeRTBYnbJ7Zp8ujuoi7xPvP6gcZqtXQ/615gA7HKppzCyJ+usN0dND4
ZdSQZu/Mo8lQJRYHfSQl9r4htd5WPpL/c4IK4eIN2J/53FOQk3HtXjguWKliKi1/
WZMKyXe1Ml/XNUm2JogA2DQN5AIynu2GdaYIYTnlTrPzcN/NP5V27S3l6sr8V2IJ
/LQhGlGbsekXEF9V4qCzRMZEOKpxyvYfic4YHWJVUNRJAQkCEB+IANZ6YgQKDWA9
TiA/DN2o+7u0uRB3y03Uho33SWL6nN1VuJM+cmUBDaRfZHbd1xsuE8s1BlnRloCs
2FwKjLIlyFNJpQ==
=BhPH
-----END PGP MESSAGE-----

Drupal 9–11

Ask your assistant about OpenPHP Encryption

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Apr 2024
Latest release
5 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.3 Stable 9–11 Apr 29, 2026
1.0.2 Stable 9–10 Aug 30, 2024
1.0.1 Stable 9–10 Apr 18, 2024
1.0.x-dev Dev 9–11 Apr 18, 2024