Page MenuHome GnuPG

GPG: Add Option to force passphrase constraints for symmetric encryption, too
Closed, ResolvedPublic

Description

Esp. for VS-NfD it would be useful to have the passphrase constraints also for symmetric encryption.

My suggestion would be:
--enforce-sym-passphrase-constraints

Details

Version
stable

Event Timeline

werner raised the priority of this task from Wishlist to High.Nov 3 2020, 10:58 AM
werner edited projects, added Feature Request, gnupg (gpg22); removed gnupg.
werner lowered the priority of this task from High to Normal.Nov 3 2020, 4:00 PM

FWIW, --enforce-passphrase-constraints does already work for symmetric-only encryption since 2.2.21 (rGae8b88c635424ef3). Thus this bug is actually a feature request to have a separate set of passphrase constraints option for symmetric-only mode.

Won't be implemented as a new option because --check-sym-passphrase-pattern and --check-passphrase-pattern (since 2.2.30) can be used to implement the same in a more flexible way.