mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-21 12:03:55 -08:00
* test/data/epg/dummy-pinentry: New file. * test/lisp/epg-tests.el (with-epg-tests): Add it to gpg-agent.conf when a passphrase is required. Add debug declaration. Set GPG_AGENT_INFO non-destructively.
22 lines
614 B
Bash
Executable file
22 lines
614 B
Bash
Executable file
#! /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 test0123456789; echo OK;;
|
|
*) echo OK;;
|
|
esac
|
|
done
|