Home GnuPG
Diffusion GnuPG 348a6ebb6352

agent: Raise the maximum password length. Don't hard code it.
348a6ebb6352Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

agent: Raise the maximum password length. Don't hard code it.

* agent/agent.h (MAX_PASSPHRASE_LEN): Define.
* agent/command-ssh.c (ssh_identity_register): Use it instead of a
hard-coded literal.
* agent/cvt-openpgp.c (convert_from_openpgp_main): Likewise.
* agent/findkey.c (unprotect): Likewise.
* agent/genkey.c (agent_ask_new_passphrase): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>.
  • GnuPG-bug-id: T2038

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 24 2015, 4:14 PM
Parents
rG3cf02192a890: sm: Support secret key export via the Assuan interface.
Branches
Unknown
Tags
Unknown