gpg2 --list-keys --with-colons > /dev/full exits with status 0. This makes it impossible for the caller to know if they actually received all of the output from GnuPG, or if the output was corrupted due to a transient ENOMEM or similar.
Description
Description
Event Timeline
Comment Actions
The more relavant error is that there is no status output on failure which is what gpgme uses (due to double forking).
However, in real life stdout is connected to a pipe and thus won't be hit by an ENOSPC.