diff --git a/tests/gpg/Makefile.am b/tests/gpg/Makefile.am index d24a312f..bb90ccb6 100644 --- a/tests/gpg/Makefile.am +++ b/tests/gpg/Makefile.am @@ -101,11 +101,8 @@ pubring-stamp: $(srcdir)/pubdemo.asc gpg-sample.stamp --import $(srcdir)/secdemo.asc echo x > ./pubring-stamp -gpg.conf: -# This is required for t-sig-notations. - echo no-force-v3-sigs > ./gpg.conf -# This is required for t-edit-sign. - echo allow-weak-key-signatures >> ./gpg.conf +gpg.conf: $(srcdir)/gpg.conf.in + cp $(srcdir)/gpg.conf.in gpg.conf gpg-agent.conf: # This is required for gpg2, which does not support command fd for the diff --git a/tests/gpg/gpg.conf.in b/tests/gpg/gpg.conf.in new file mode 100644 index 00000000..ab05c175 --- /dev/null +++ b/tests/gpg/gpg.conf.in @@ -0,0 +1,5 @@ +# This is required for t-sig-notations. +no-force-v3-sigs + +# This is required for t-edit-sign. +allow-weak-key-signatures