Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

PQ Login

No security coverage Under active development


PQ Login replaces password authentication in Drupal with post-quantum digital signatures.

Each user registers one or more device keys. The browser generates an ML-DSA key pair (FIPS 204), keeps the private key in the browser, and sends only the public key to Drupal. To log in, the site issues a single-use, short-lived challenge; the browser signs it and Drupal verifies the signature on the server with the PHP extension paragonie/ext-pqcrypto. No shared secret ever travels over the network or is stored in the database.

Features
- Works with Drupal core's login form and login block, including the administration login.
- Removes password authentication site-wide: login form, REST /user/login, HTTP Basic auth and any module that relies on the user.auth service.
- Multiple keys per account, with proof of possession at enrollment, last-used dates, renaming and revocation from the user's own "Post-quantum keys" tab.
- Account recovery and first-key enrollment through Drupal core's one-time login link.
- Single-use challenges with domain separation, flood control and generic error messages that do not reveal whether an account exists.
- Email notifications when a key is added or revoked.
- Status report checks, drush uli and an emergency switch in settings.php so a site can never be locked out.

Requirements
- Drupal 10.3 or 11.
- PHP 8.1+ with the pqcrypto extension (https://github.com/paragonie/ext-pqcrypto). Prebuilt binaries exist for x86_64 Linux and Windows; other platforms must build it from source. Most shared hosting cannot load custom PHP extensions, so this module targets VPS, container and dedicated hosting.
- JavaScript in the browser (uses @noble/post-quantum).

Limitations
- Unlike WebAuthn passkeys, keys are not bound to the origin by the browser or stored in hardware, so phishing resistance is weaker and an XSS on the site could use a stored key. Use a strict Content Security Policy.
- ext-pqcrypto is pre-1.0 and has not been independently audited.

Roadmap
- Simple OAuth grant for decoupled sites.
- Native WebCrypto ML-DSA backend once browsers ship it.

Project status: under active development; not yet covered by Drupal's security advisory policy.

Ask your assistant about PQ Login

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2026
Latest release
11 hours ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.0-alpha1 Pre-release 10–11 PHP 8.1 Dec 4, 2026