diff options
author | Marcus Brinkmann <[email protected]> | 2008-01-10 04:33:34 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2008-01-10 04:33:34 +0000 |
commit | 25dccf5897948d28dd2f32f1ccba15edc124dc0b (patch) | |
tree | eaaf0dde42c17df7be288576d6aa9a4f07db5ad8 /tests/gpg/pinentry | |
parent | 2008-01-10 Marcus Brinkmann <[email protected]> (diff) | |
download | gpgme-25dccf5897948d28dd2f32f1ccba15edc124dc0b.tar.gz gpgme-25dccf5897948d28dd2f32f1ccba15edc124dc0b.zip |
2008-01-10 Marcus Brinkmann <[email protected]>
* gpg/pinentry: New file.
* gpg/Makefile.am (DISTCLEANFILES, all-local): Add gpg-agent.conf
(./gpg-agent.conf): New target.
(EXTRA_DIST): Add pinentry.
Diffstat (limited to 'tests/gpg/pinentry')
-rwxr-xr-x | tests/gpg/pinentry | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/gpg/pinentry b/tests/gpg/pinentry new file mode 100755 index 00000000..3b997268 --- /dev/null +++ b/tests/gpg/pinentry @@ -0,0 +1,22 @@ +#! /bin/bash +# Dummy pinentry +# +# Copyright 2008 g10 Code GmbH +# +# This file is free software; as a special exception the author gives +# unlimited permission to copy and/or distribute it, with or without +# modifications, as long as this notice is preserved. +# +# This file is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +# PURPOSE. + +echo OK Your orders please + +while read cmd; do + case $cmd in + GETPIN) echo D abc; echo OK;; + *) echo OK;; + esac +done |