Port paperkey command away from GnuPGProcessCommand
(cherry picked from commit 54fa5efb5e2194d30a5f6d072462c0fe17ca6abc)