Home GnuPG
Diffusion GnuPG b66854ac93d8

gpg: Report failed generation of subkey pair via status interface

Description

gpg: Report failed generation of subkey pair via status interface

* g10/keygen.c (generate_subkeypair): On error, write error and
"key not created" message to status interface.

This change allows users of the status/command interface to detect
errors when adding a subkey to a key. Similar status messages are
output by do_generate_keypair.

  • GnuPG-bug-id: T5771

Details

Provenance
ikloeckerAuthored on Jan 11 2022, 10:08 AM
Parents
rG19b1a28621c6: gpg: Request keygrip of key to add via command interface
Branches
Unknown
Tags
Unknown
Tasks
Unknown Object (Maniphest Task)