tests: Add support for a passphrase queue to fake pinentry.
authorJustus Winter <justus@g10code.com>
Tue, 19 Apr 2016 13:44:23 +0000 (15:44 +0200)
committerJustus Winter <justus@g10code.com>
Mon, 23 May 2016 14:06:53 +0000 (16:06 +0200)
commit4994153924e0948a657edddaef54a39a6001beff
tree06a2be512409c31019f519d99ebdc5fef1ec182f
parent41b10c66ec1dd33633386f4fc8013ddeab7737ca
tests: Add support for a passphrase queue to fake pinentry.

* tests/openpgp/fake-pinentry.c (get_passphrase): New function.
(main): Add option --passphrasefile and read passphrases from it.

Signed-off-by: Justus Winter <justus@g10code.com>
tests/openpgp/fake-pinentry.c