Home GnuPG

Flush data before clearing the confidential flag.

Description

Flush data before clearing the confidential flag.

* src/context.c (assuan_end_confidential): Flush data.

This is required so that for example gpg-agent won't reveal a password
in a log file if requested via

get_passphrase --data X X X X

(Note that --data is required in any case because the default of
returing it with the OK line can't be secured).

Details

Provenance
wernerAuthored on Jun 15 2023, 4:02 PM
Parents
rAe686c85e207e: build: Fix listing m4 files.
Branches
Unknown
Tags
Unknown