agent: New option --newsymkey for GET_PASSPHRASE
* agent/call-pinentry.c (agent_get_passphrase): Add arg pininfo. * agent/genkey.c (check_passphrase_constraints): New arg no_empty. * agent/command.c (reenter_passphrase_cmp_cb): New. (cmd_get_passphrase): Add option --newsymkey.
This new option allows to present a passphrase with the usual repeat
box as it is used by gpg-agent's internal key generation.
- Signed-off-by: Werner Koch <wk@gnupg.org>